MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




[C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-28-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
Arrow [C#] Find a name of a street with Longitude and latitude Or X Y Lambert Positions

Hi

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 , i want juste some explanations or an example.

thank you very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-28-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-29-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
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;
    // ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-30-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 11
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
find, lambert, latitude, longitude, positions, street


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/c-find-name-street-longitude-latitude-x-y-lambert-positions-7719.html

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 07:31 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52