Community of VE/MapPoint Users and Developers
This is a discussion on Reverse geocoding with c# within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi Im using a algorithm I found on one of the Mp2k articles with regrds to reverse geocoding, however this ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Reverse geocoding with c# |
| |||
| reverse geocoding
Hi, I have been trying to find an address from gps coordinates for ages with no success, Do you have some code for doing reverse geocoding in mappoint that can do this ? if so can you possibly mail me with it ? Thanks in advance Warm Regards #Mark Wilding |
| |||
| Re: reverse geocoding
Hi Mark, Quote:
Code: double lat = 51.24987;
double lon = 4.48855;
Map map = MP.ActiveMap;
Location loc = map.GetLocation(lat, lon, 1);
loc.GoTo();
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);
}
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Reverse geocoding with c#
Hi, Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
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 | Anonymous | News and Announcements | 30 | 07-26-2006 11:21 AM |
| Reverse GeoCoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-16-2004 10:56 AM |
| reverse geocoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-26-2004 10:15 PM |
| Reverse Geocoding | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-26-2004 12:30 PM |
| Reverse geocoding | Anonymous | Products: Pushpin Tool, Single State Mapper | 0 | 01-26-2004 11:23 AM |
MyTravel Flights
Book MyTravel Holidays At Holiday Hypermarket. MyTravel arranges flights and accommodation for great value to great destinations.
Best Travel Agent
Book your Travel with the UK's best Travel Agent - as named at the Guardian Unlimited Travel awards.
Cheap Holidays to Turkey
If you’re looking for cheap holidays to Turkey then dealchecker.co.uk is the place for you! Our search helps you see real prices from the UK’s top holiday companies all in one go.
Barbados Holidays
Barbados holidays can be a wonderful break from the rat race or an exciting, action packed adventure. Plan the perfect holiday in Barbados.
Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.
Cheap Inclusive
Make use of our service at Travel.co.uk to help you to research cheap inclusive holidays.
Fuerteventura Holidays
Visit one of the closest Canary Islands to Africa! Book Fuerteventura holidays at On The Beach!