getting lattitude and longitude from a pushpin

atom
10-02-2007, 01:13 PM
other than using the location sensor.... is there a way to figure out how to get lat and long on a pushpin?


some information on my goal: i have 300+ pushpins on my map. i want to name them via lat and long. i opened up the location sensor and if i scroll over the pushpin i get the lat and long, but i cant copy the coordinates to enter as the pushpin name. i have to manually write it down then enter it in. its kind of annoying and time consuming this way.


so does anyone have an idea for me that doesnt require custom programming?

davidb
10-03-2007, 01:52 AM
This is very straightforward using custom programming. As an alternative you might consider investing in the pushpin tool

Pushpin Tool for MapPoint (http://www.support-pc.com/pushpintool.htm)

Rgds

atom
10-03-2007, 06:26 AM
pushpin tool looks good!!!!


i know nothing about programming. i took a visual basic course about 10 years ago and havent touched it since.

Eric Frost
10-03-2007, 07:12 AM
If you wanted to get started with MapPoint Programming, these tutorials make it pretty painless

Working With Excel and MapPoint - MP2K Magazine (http://www.mp2kmag.com/excel/)

Also check out PinsToFile - it also exports lat/lon and is free but otherwise the Pushpin Tool and PinsToFile have different functions.

Utilities - MapElves (http://www.mapelves.com/index.php/Utilities)

atom
10-03-2007, 09:53 AM
thanks for the help guys.


I am going to take a crack at the custom programming.

Winwaed
10-04-2007, 07:35 AM
If taking the programming route...

If you're in MapPoint 2006, you can use the Longitude and Latitude properties on the pushpin object's Location object.

If you're using MapPoint 2002 or 2004, you will have to use a bit of geometry to tease the coordinates out of the Location object. Search MP2KMag for "CalcPos" - this will do the calculation for you. Gilles Kohl wrote it and has made it freeware.

Richard

 
Web mp2kmag.com
mapforums.com