Community of VE/MapPoint Users and Developers
This is a discussion on Reverse Geocoding within the News and Announcements forums, part of the Map Forums category; I have a large number of imported pushpins (located via lat/long) that I need to obtain addresses for, so.... please ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi guys, I'm not sure if this is what you're looking for, however here is C# code wrapped in DLL library that I'm using in my apps: Code: ...
using interopMapPoint = MapPoint;
...
public static string GetAddressSuburbNameForLatLong(double latitude, double longitude)
{
string sName = "";
MapPoint.MapClass objMap = new MapPoint.MapClass();
interopMapPoint.Location objLocation = objMap.GetLocation(latitude, longitude, 1);
objLocation.GoTo();
int iCount = 0;
foreach (object obj in (interopMapPoint.FindResults)objMap.ObjectsFromPoint(objMap.LocationToX(objLocation), objMap.LocationToY(objLocation)))
{
iCount += 1;
if (iCount == 4)
sName += ((interopMapPoint.Location)obj).Name;
else
sName += ((interopMapPoint.Location)obj).Name + ",";
}
return sName;
}
Cheers, Stjepan Nikolic Melbourne |
| |||
|
Hi Iggle, Can you please send me more information about the DLL. Thanks, Fari Farida.elsarraj@gmail.com |
| |||
| REVERSE GEOCODING
Iggle, with the address info, can your DLL also pull census tract info from the Long/Lat? If so, can you send a copy of it to harrell@delta-21.com thanks, kh |
![]() |
| Tags |
| geocoding, reverse |
| ||||
| Posted By | For | Type | Date | |
| digg / Programming / Upcoming | This thread | Refback | 12-04-2006 04:43 PM | |
| digg / Programming / Upcoming | This thread | Refback | 12-04-2006 08:09 AM | |
| digg - Reverse Geo Coding | This thread | Refback | 12-04-2006 03:31 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reverse geocoding with c# | ayazaliuk | MapPoint 2006/2009 Discussion | 3 | 06-16-2005 07:52 AM |
| Reverse GeoCoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-16-2004 11:56 AM |
| reverse geocoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-26-2004 11:15 PM |
| Reverse Geocoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-26-2004 01:30 PM |
| Reverse geocoding | Anonymous | Products: Pushpin Tool, Single State Mapper | 0 | 01-26-2004 12:23 PM |