Community of VE/MapPoint Users and Developers
This is a discussion on LatLong to Address ?? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does anybody know how to convert a LatLong to an Address?? Btw I am working in Java, but if you ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| LatLong to Address ?? Btw I am working in Java, but if you work in any other programming language and know how to do it that will help. If you don't know how to convert a LatLong to address but to zip code that will work for me as well. Thank you in advance! |
| |||
|
Hi xaxas, I invite u to do a search in this forum with keys like "reverse geocoding, calcpos, etc. ). You will have the response to your question. As you are a programmer, you can find a lot of posts about that. Ciao |
| |||
|
I searched there but I didn't find what I was looking for. Howerver I played a bit with the API and came up with a working idea which gives me the ability to do pretty much everything (search, route etc.) given a GPS location. |
| |||
|
Hi, There is some Wilfried's posts about that: Code: Map map = MP.ActiveMap;
Location Loc = map.GetLocation(Lat, Lon, 1);
FindResults StreetResults = map.ObjectsFromPoint(map.LocationToX(Loc), map.LocationToY(Loc));
foreach (object o in StreetResults) {
Location StreetLoc = o as Location;
if(StreetLoc != null && StreetLoc.StreetAddress != null) {
Console.WriteLine("value " + StreetLoc.StreetAddress.Value);
Console.WriteLine("street " + StreetLoc.StreetAddress.Street);
Console.WriteLine("postcode " + StreetLoc.StreetAddress.PostalCode);
Console.WriteLine("city " + StreetLoc.StreetAddress.City);
}
}
|
![]() |
| Tags |
| address, latlong |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Obtain LatLong with Address | ivan | MapPoint Web Service and Virtual Earth | 5 | 05-24-2007 05:00 PM |
| odd and even address | chris2 | MapPoint 2006/2009 Discussion | 1 | 05-24-2006 12:07 PM |
| Getting informations about geographic coordinates (LatLong) | badzio | MapPoint Web Service and Virtual Earth | 4 | 08-02-2005 09:34 AM |
| Anyone willing to look up an address for me? | Anonymous | MapPoint 2006/2009 Discussion | 11 | 02-07-2004 08:09 PM |
| Getting Lat/Lon from a given address | Anonymous | MapPoint 2006/2009 Discussion | 5 | 09-12-2003 04:01 PM |