Community of VE/MapPoint Users and Developers
This is a discussion on I loose a lot of street names with ObjectsFromPoint(X,Y) within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, Scanning all the points in a map ( X and Y ) and using ObjectsFromPoint(X, Y) , some streets are not ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| I loose a lot of street names with ObjectsFromPoint(X,Y) Scanning all the points in a map ( X and Y ) and using ObjectsFromPoint(X, Y) , some streets are not detected. I zoom enough to see the streets , but some are lost while looping. Is there a method to have more details about the street name in a map? Thanks Delphine My code looks like this : Code: x, y are points in the screen
fr, obj , objmap are objects
For x = min_X to max_X
For y = min_Y to max_Y
fr = ObjMap>>ObjectsFromPoint(X, Y)
if fr <> nothing then
nbObjFr = fr>>count
NumObj=0
for NumObj = 1 to nbObjFr
obj = fr>>item(NumObj)
NomObjet = obj>>name
// Here I see if it's a street
next NumObj
end if // fr
next y
next x |
| |||
|
Hi, This looks like something I recently needed, finding street name from a given lat/long location. But I do not understeand your question (English is not my native language). Can you rephrase it please ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi Wilfried, Sorry, English is not my native language also. I am french and I work in Morrocco. What I am looking for is a fast way to find all the streets of a map. What I tried to do is to loop with all the couples of points in the screen ( X , Y ) and use Objectsfrompoint method. I am looking at an article of Gilles KHOL posted is this forum. ( Reverse Geocoding , Another Method ) I think, it's a good way to find the solution. If you find something thanks in advance for your help. Thanks for your message Delphine |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Street Names etc... | Milo | MapPoint 2006/2009 Discussion | 1 | 04-27-2005 02:16 PM |
| Retrieve street names within shape | Dazzer | MapPoint 2006/2009 Discussion | 0 | 12-19-2003 04:52 AM |
| Adding/Changing Street names | Anonymous | Wish List | 0 | 06-13-2003 08:55 PM |
| street names | Anonymous | MapPoint 2006/2009 Discussion | 0 | 06-04-2003 06:49 AM |
| How can I get all the street names in a city? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 11-04-2002 07:06 PM |
Ski Deals
Book first-rate ski holidays from the leading travel brands at exceptionally competitive prices. Check out the latest range of ski deal online at Holiday Hypermarket.
Portugal Holidays
Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal.
Holiday Cuba
Most of all though, you will remember your Holiday in Cuba for the people. Naturally open and friendly with the warmest welcome in the Caribbean. Book at dealchecker.co.uk today.
All Inclusive Maldives
Visit The Holiday Place.co.uk for great deals on all inclusive holidays to the Maldives. Book a holiday to the outstandingly beautiful Maldives.
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.
Inclusive late deals
For inclusive late deals, check out your options at Travel.co.uk and have fun!
Holidays to Cyprus
Take the plunge into a world of summer splendour! Find information on holidays to Cyprus online, only at On The Beach.