Community of VE/MapPoint Users and Developers
This is a discussion on [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hi I have just a question, perhaps it will be stupid for you. I want to have the name of ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| I have just a question, perhaps it will be stupid for you. I want to have the name of a street and/or the name of the town with the longitude and the latitude, or with the positions X and Y of lambert. i have seen what there is a command for that, but I did not manage to make it work. (sorry for my english). That's why, if someone can help me thank you very much. |
| |||
| Re: [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions
Hi, I think the best is that you convert Lambert to Mercator - WGS-84 for the positions in database you have.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions i think that my question wasn't clear. I have X Y lambert positions and longitude, latitude. So i want to know if we can obtain the name of one street and/or the name of the country with these datas. There is a command for find that ? Or have you an idea for obtain these datas. if someone can give me a name of a method and some explanations to use it. All my apologies for my english. And thank you again wilfried for your answer. |
| |||
| Re: [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions
Hi, Sorry I did not read your original post very well. The answer is yes you can with longitude and latitude. This is example: Code: Location loc = MP.ActiveMap.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)
continue;
// ...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions
Thank you very much for your example Mr Wilfried, i can obtain the name of the street and the name of the town. ![]() Thank you again for your answers. Bf |
![]() |
| Tags |
| find, lambert, latitude, longitude, positions, street |
| ||||
| Posted By | For | Type | Date | |
| Spatial Data Importer Contest Submission - MP2K Magazine | This thread | Refback | 05-30-2008 10:26 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find Location Name through Longitude Latitude | Anonymous | MapPoint 2006/2009 Discussion | 3 | 07-24-2008 12:58 AM |
| Using longitude and latitude to find adress | Edward_Carnby | MapPoint 2006/2009 Discussion | 4 | 07-22-2008 08:12 AM |
| Find latitude and longitude of map corners with VBA | Well | Development | 2 | 05-22-2007 01:15 PM |
| Getting street from latitude/longitude? | MD2000 | MapPoint 2006/2009 Discussion | 14 | 05-03-2005 03:22 PM |
| NMEA latitude/longitude and mappoint latitude/longitude | muurman | MapPoint 2006/2009 Discussion | 3 | 11-22-2003 04:42 AM |
Zermatt Skiing
Thinking about skiing in Switzerland? Zermatt skiing is simply spectacular. Book online at Holiday Hypermarket to get a great value holiday in the shadow of the Matterhorn.
Turkey Weather
Check Turkey Weather before you travel. We provide information on Turkey including weather, flights and accommodation.
Portugal Holidays
Lisbon is perhaps Europe's most pleasant and affordable city. Check out the fantastic architecture, delicious seafood and non-stop night-life. Book Portugal Holidays with us.
Antigua Holidays
We have the most popular Antigua holidays at highly competitive prices at The Holiday Place. Book a break in sunny Antigua today.
Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.
Cheap Travel
For cheap travel options, visit Travel.co.uk and explore the benefits of our comparison site.
Gran Canaria Holidays
Visit the Canary Islands! See information on Gran Canaria holidays at On The Beach!