Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

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

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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?

  4. #4
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    This method doesn't work!Can anyone help?
    Not enough to go on, can you post the code that doesn't work?

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Sorry

    Quote Originally Posted by k3usr
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hiding city names
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 03-16-2005, 01:00 PM
  2. deleting city names
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-04-2004, 06:53 PM
  3. Deleting city names - HELP
    By John Riccobono in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-20-2004, 06:10 PM
  4. city names from zip codes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-19-2003, 05:06 AM
  5. Also, can I delete the state names and city names ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-29-2000, 12:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83