MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How can I get all the street names in a city?

This is a discussion on How can I get all the street names in a city? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have MapPoint 2002, and I have tried to get the names of the streets in a city, by zooming ...


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

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
How can I get all the street names in a city?

I have MapPoint 2002, and I have tried to get the names of the streets in a city, by zooming to a location and then using the ObjectsFromPoint API to get the names. This gives me the names of the streets, but I don't know how to get the city name for this street. Any help would be great.

Thanks,

NJ
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 10-31-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
From the help file:
ObjectsFromPoint method returns a collection of locations and Pushpins (FindResults collection)

So, if you have a Location Object, you should have a "StreetAddress property"

Look in the help file for "StreetAddress property" to get the full example.

objLoc.StreetAddress.City
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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 11-01-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Doesn't Work

Quote:
Originally Posted by k3usr
From the help file:
ObjectsFromPoint method returns a collection of locations and Pushpins (FindResults collection)

So, if you have a Location Object, you should have a "StreetAddress property"

Look in the help file for "StreetAddress property" to get the full example.

objLoc.StreetAddress.City
This method doesn't work!Can anyone help?
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 11-04-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Quote:
This method doesn't work!Can anyone help?
Not enough to go on, can you post the code that doesn't work?
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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 11-04-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Sorry

Quote:
Originally Posted by k3usr
Quote:
This method doesn't work!Can anyone help?
Not enough to go on, can you post the code that doesn't work?
Sorry,I missed the original question last time.

Now,I can get all the street names in a city to form a street name list.Just launch two loops step by step using GetLocation by Lat/Long coordinates. It is not a good enough method.But it works!Anyone have better idea?Can't get anything from help file.
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
city, names, street


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
Hiding city names Anonymous MapPoint 2006/2009 Discussion 4 03-16-2005 02:00 PM
deleting city names Anonymous MapPoint 2006/2009 Discussion 0 11-04-2004 07:53 PM
Deleting city names - HELP John Riccobono MapPoint 2006/2009 Discussion 1 05-20-2004 07:10 PM
city names from zip codes Anonymous MapPoint 2006/2009 Discussion 1 02-19-2003 06:06 AM
Also, can I delete the state names and city names .... Anonymous MapPoint 2006/2009 Discussion 1 08-29-2000 01:57 PM


All times are GMT -5. The time now is 09:57 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


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