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

Is it possible to get pinpoint county with lat/long

This is a discussion on Is it possible to get pinpoint county with lat/long within the MapPoint Desktop Discussion forums, part of the Map Forums category; I currently have a collection of mappoint pinpoints with street, city, zipcode, lat, long. Is it possible to get the ...

  1. #1
    jbundy is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    1

    Is it possible to get pinpoint county with lat/long

    I currently have a collection of mappoint pinpoints with street, city, zipcode, lat, long. Is it possible to get the county for each of these pinpoints from mappoint. I don't see how it would be impossible not to get the county with that much information beforehand. Please any suggestions.

    Thanks

  2. #2
    Paul Larson is offline Senior Member Green Belt
    Join Date
    Sep 2005
    Location
    Battle Creek, Michigan
    Posts
    136

    Re: Is it possible to get pinpoint county with lat/long

    Iterate through the collection returned by ObjectsFromPoint(X,Y), checking the Type property of each item. If the Type is of Location, check the location's underlying Type property. If the type is GeoShowDataBy, and the value is geoShowByRegion2, then the Name contains the county. Since county names are not unique across states, you'll also want to check for geoShowByRegion1 which returns the state name in the Name property.

    Note that the current map altitude has an effect on the results returned by ObjectsFromPoint. There are numerous examples of ObjectsFromPoint on the mp2kmag.com articles section, especially the reverse-geocoding articles.


    HTH
    Paul

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lat Long for County and State
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-24-2005, 07:20 PM
  2. map by county
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 07-22-2004, 10:06 AM
  3. Fleet Freedom 3.0 1x and Airlink Pinpoint
    By Eric Frost in forum News and Announcements
    Replies: 0
    Last Post: 07-07-2004, 03:05 PM
  4. reading each pinpoint with a selected area of the map
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-18-2003, 06:28 PM
  5. Can you pinpoint with a partial postcode?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-03-2002, 03:13 AM

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