jasonhartsoe / geocoding-net Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/geocoding-net
Automatically exported from code.google.com/p/geocoding-net
What steps will reproduce the problem?
1. Geocode this address "3/193 Kent St, New Farm QLD 4005, Australia"
2. This address has the address accuracy of 9/Premise which is not
supported by the GoogleAddressAccuracy class
3. It will incorrectly report the accuracy as unknown.
What is the expected output? What do you see instead?
I would expect the accuracy to state that it is at a premise level.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2009 at 5:38
See here:
http://groups.google.com/group/geocodingnet/browse_thread/thread/5927d2520444a52
5
Hi,
I found a bug in FromCoordinates method of GoogleGeoCoder class. When
you run the code under different culture setting then en-US (cs-CZ in
my case) you get "Input string was not in a correct format exception"
at line 66:
double longitude = double.Parse(coordinates[0]);
Possible fix:
private Location FromCoordinates(string[] coordinates)
{
CultureInfo ci = new CultureInfo("en-US");
double longitude = double.Parse(coordinates[0],
(IFormatProvider)ci.NumberFormat);
double latitude = double.Parse(coordinates[1],
(IFormatProvider)ci.NumberFormat);
Location gpsCoordinates = new Location(latitude,
longitude);
return gpsCoordinates;
}
Please note I have not read the documentation of the Google GeoCoding
API so I only suppose the format of the returned coordinates is en-
US.
Thanks
Leos
Original issue reported on code.google.com by [email protected]
on 5 Aug 2008 at 6:37
When using the distance feature of this API i found that the distances
provided are wrong if you're requesting results in 'Kilometers'
The reason being that the EarthRadiusInKilometers value is set to 3438.147.
This is wrong, the earth's radius in Kilometers is 6378.2. (as found here:
http://msdn.microsoft.com/en-us/library/aa501849.aspx )
I couldn't find a mailing list for this project so i'm just posting this
here...
Original issue reported on code.google.com by [email protected]
on 4 Jun 2008 at 2:50
I just tried out this library and ran into a problem.
What steps will reproduce the problem?
1. I run the following to get coordinates for an address and it fails:
IGeoCoder geoCoder = new GoogleGeoCoder();
List<Address> addresses = geoCoder.GeoCode("c/o Yavapai College, 601 Black
Hills Drive, Bldg I-141, Clarkdale, AZ 86324").ToList<Address>();
What is the expected output? What do you see instead?
I expected this function to return an Address object with coordinates
What version of the product are you using? On what operating system?
Using version 1.0.0.0 (downloaded today, this version number is the version
number defined in the assembly, the download page I got it from on
code.google.com said it was version 2.1.1) on Windows 7 64-bit (and .NET
Framework 4)
Please provide any additional information below.
Here is the error type and message:
ArgumentException,
"Value cannot be empty.
Parameter name: types"
Here is the stack trace:
at GeoCoding.Google.GoogleAddressComponent..ctor(GoogleAddressType[] types, String longName, String shortName)
at GeoCoding.Google.GoogleGeoCoder.<ParseComponents>d__b.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at GeoCoding.Google.GoogleGeoCoder.<ParseAddresses>d__0.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
Original issue reported on code.google.com by [email protected]
on 11 Jul 2014 at 12:29
Hi,
i am doing a project in that i have a latitude and longitude values now i want a location name can any one help me..
thanks
prabhakar
Original issue reported on code.google.com by [email protected]
on 16 Mar 2012 at 8:58
[deleted issue]
This library uses v2 from Google. They discontinued it on the 9/9/2013.
https://developers.google.com/maps/articles/geocodingupgrade:
This document is intended for developers migrating to version 3 ("v3") of the
Geocoding API. Version 2 ("v2") of the Geocoding API was officially deprecated
on 8 March 2010 and has now been turned down. As of 9 September 2013 the v2 API
will no longer work.
Original issue reported on code.google.com by [email protected]
on 17 Sep 2013 at 5:48
is it possible to search in another language with this lib?
Original issue reported on code.google.com by roey.rdt
on 18 Mar 2013 at 8:08
Return the view spot that google and microsoft returns
Original issue reported on code.google.com by [email protected]
on 7 Dec 2011 at 8:46
The Yahoo Geocoder is using the wrong URL.
It is using
http://local.yahooapis.com/MapsService/V1/geocode?location={0}&appid={1}
The correct URL would be http://where.yahooapis.com/geocode?q={0}&appid={1}
This is per http://developer.yahoo.com/geo/placefinder/
Original issue reported on code.google.com by [email protected]
on 2 Feb 2012 at 1:17
Add method(s) to IGeoCoder to fetch a static map.
- Yahoo: http://developer.yahoo.com/maps/rest/V1/
- Microsoft: http://community.softteq.com/blogs/nick/archive/2009/01/11/the-
virtual-earth-web-services-are-slow.aspx (remove "staging.")
- Google: http://code.google.com/apis/maps/documentation/staticmaps/
Original issue reported on code.google.com by [email protected]
on 7 Sep 2009 at 3:35
I am developing an application that uses your IGeoCoder API. Very handy.
However I am developing it on a network that sits behind an authenticated
proxy server. When executing IGeoCoder.GeoCode() I get a
System.Net.WebException - "The remote server returned an error: (407) Proxy
Authentication Required."
What steps will reproduce the problem?
1. Call IGeoCoder.GeoCode() from behind an authenticated proxy server (I am
using the GoogleGeoCoder implementation)
2. Aw, snap.
What is the expected output? What do you see instead?
I expect an Address[] object back - instead I get a System.Net.WebException.
What version of the product are you using? On what operating system?
http://geocoding-net.googlecode.com/files/geocoding.net_Release_v1.1.0.31.zip
Windows XP / Visual Studio 2008 / ASP.NET 3.5 for development.
Please provide any additional information below.
This should be easy enough to fix, done it in my own applications, but
happy to test any proposed fixes here. Would actually be happy to fix it if
you're pushed for time.
Original issue reported on code.google.com by me%[email protected]
on 11 Feb 2010 at 10:27
Not really a defect, it'll be a nice and useful feature to capture County in
the address too.
In class GoogleGeoCoder method RetrieveAddress, the 'county' is being
captured from 'adr:SubAdministrativeAreaName' field in the geocode result,
but this variable is not used. In fact, Address class does not have a
property for County.
I am using version 1.1.
Thanks in advance.
Amin Emami
Original issue reported on code.google.com by [email protected]
on 30 Nov 2009 at 10:52
What steps will reproduce the problem?
1. Look for "County" in Address result type
2. Notice it does not exist
What is the expected output? What do you see instead?
County should be part of the response when geocoding service includes the
information. Bing maps does.
http://dev.virtualearth.net/REST/v1/Locations?countryRegion=US&adminDistrict=OH&
locality=Cleveland&postalCode=44114%20&addressLine=629%20Euclid%20Ave&key=Aj7ef9
llp9lmJdVlmQo-sE2j5WuEbTb1hSsu26GMwIsEDGAu1UIYrqU4rmc-C0JZ&o=xml
Latest as of 3/21/12
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Mar 2012 at 12:57
Add IP geocoding
Original issue reported on code.google.com by [email protected]
on 29 Aug 2009 at 5:57
The new version does not require the API key and the result xml is
formatted differently.
http://code.google.com/apis/maps/documentation/geocoding/
Original issue reported on code.google.com by shaun%[email protected]
on 23 May 2010 at 2:26
Add the ability to reverse geocode a lat/lng pair. I know it is possible
in Google passing a comma separated value in the "address" but I haven’t
looked at the other two providers. The new version 3 of Google maps API
has a different request lat/lng vs. address parameter in the query.
Original issue reported on code.google.com by shaun%[email protected]
on 23 May 2010 at 2:28
Not really a 'defect' but I couldn't open an issue as any other type... ?
Anyway, since we're implementing "enum GoogleStatusCode"... Why don't we
have all possible situations... ? I could extend the current list to:
public enum GoogleStatusCode
{
Success = 200,
BadRequest = 400,
ServerError = 500,
MissingAddress = 601,
UnknownAddress = 602,
UnavailableAddress = 603,
BadKey = 610,
TooManyQueries =620
}
Personally, I'm getting my application to throttle if we find a 620... ;)
Original issue reported on code.google.com by [email protected]
on 4 Jun 2008 at 6:13
Hi, I am trying to use your code on one of my websites that calls google to
return a single address for the Longitude and Latitude. It worked for
around four weeks before it started returning an error. I have tested the
code from several different servers and all work except for the one that
has been running for four weeks.
The error displayed says that the GeoCode addresses[] does not have an
object. At the moment it looks like the GeoCode is not recieving any reply
from Google or Yahoo (I have tried both including a combination).
I understand that the issue may be server that I am running it on as it is
the only one that I have the issue with, but I was wondering if anyone else
has had this issue where not reply is found from the Google or Yahoo APIs
Note: The error happens intermittently, at some stages it works and then
doesnt at others.
Original issue reported on code.google.com by [email protected]
on 13 Feb 2009 at 10:00
Make a package and publish to the Nuget-repository.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2012 at 6:14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.