MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I loose a lot of street names with ObjectsFromPoint(X,Y)

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


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-16-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I loose a lot of street names with ObjectsFromPoint(X,Y)

Hello,

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
[/code]
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 12-16-2004
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,047
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 ?
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 12-17-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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


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


All times are GMT -5. The time now is 03:55 PM.


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

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.


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