MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 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 ...


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 (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-18-2007
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
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 01-18-2007
Senior Member
Green Belt
 
Join Date: Sep 2005
Location: Marshall, Michigan
Posts: 126
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
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
county, lat or long, pinpoint


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/possible-get-pinpoint-county-lat-long-5602.html

Posted By For Type Date
Merging Multiple Routes - MapPoint Articles - MP2K Magazine This thread Refback 01-25-2007 11:15 AM
Using MapPoint and Excel for Supply Chain Management - MapPoint Articles - MP2K Magazine This thread Refback 01-21-2007 10:12 PM
MapPoint Articles - MP2K Magazine This thread Refback 01-19-2007 03:50 PM

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
Lat Long for County and State Anonymous MapPoint 2006/2009 Discussion 1 01-24-2005 07:20 PM
map by county Anonymous MapPoint 2006/2009 Discussion 3 07-22-2004 10:06 AM
Fleet Freedom 3.0 1x and Airlink Pinpoint Eric Frost News and Announcements 0 07-07-2004 03:05 PM
reading each pinpoint with a selected area of the map Anonymous MapPoint 2006/2009 Discussion 1 10-18-2003 06:28 PM
Can you pinpoint with a partial postcode? Anonymous MapPoint 2006/2009 Discussion 0 10-03-2002 03:13 AM


All times are GMT -5. The time now is 02:56 AM.


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