|
Project Information
Featured
Links
|
Generic C# GeoCoding APIThis project is now hosted on GitHub Includes a portable GeoCoding domain model along with a generic IGeoCoder service interface. Current implementations include: The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more. Simple Example IGeoCoder geoCoder = new GoogleGeoCoder("my-api-key");
Address[] addresses = geoCoder.GeoCode("123 Main St");It can also be used to return address information from latitude/longitude coordinates (aka reverse geocoding): IGeoCoder geoCoder = new YahooGeoCoder("my-app-ID");
Address[] addresses = geoCoder.ReverseGeoCode(38.8976777, -77.036517);
|