Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Store GPS coordinates in URLs in Address Book Apps
Here's a tip on saving GPS coordinates in Address Book. First, it's lame that GPS coordinates are not a standard field type. Often a mailing address used for GPS will miss the mark by a mile, literally. For some contacts, I use Google Earth to drop a pin on the exact spot, then copy a URL which I save in Address Book.

The URL will look like this:
http://maps.google.com/maps?f=q&q=38.343941,-75.187239%20%28Ocean%20City%20Worship%20Center%29
One quirk is that the URL pastes fine on the iPhone, but on the Mac, Address Book converts those %20 characters to spaces. To get around that, I looked at an export of a contact and noticed we can substitute %2520 for %20, and then Address Book will save it cleanly. The magic is that the URL will fire up Google Maps on the iPhone with a single click.

To make this work, I had to change Google Earth's preferences to default to decimal degrees (though anything beyond 6 decimal places is overkill).

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.00 / 5
  You rated: 3 / 5 (7 votes cast)
 
[14,938 views]  

Store GPS coordinates in URLs in Address Book | 13 comments | Create New Account
Click here to return to the 'Store GPS coordinates in URLs in Address Book' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Store GPS coordinates in URLs in Address Book
Authored by: Anonymous on Jul 10, '09 08:12:39AM

Or, better yet, create a 'geo' field that will work with maps and sync between Mac and iPhone:

http://www.bioneural.net/2009/02/09/add-a-geo-field-to-iphone-and-address-book/



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: Mac Berry on Jul 10, '09 10:24:12AM

Not sure how to get that to work on the iPhone with OS3.0, as the share location option doesn't exist anymore. It's been replaced with a share contact option, which send a vcf file. So I don't see any way to get the coordinates on the iPhone.

Of course it does still work if you create everything in OS X then sync I guess (haven't tested it yet).



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: rycardo on Jul 10, '09 01:01:03PM

The Share Location button appears if you search for an address in the Google Map app, rather than using a Contact.

To work around it, go to your Contact's address in Google Map. Once you have it displayed go to the address bar, and change it slightly (removing the Country worked for me), touch Search. Now it will display the pin as an address rather than the contact. Now touching the (>) button, will show the Share Location button at the bottom instead of the Share Contact button.

Hope this helps!



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: hookoa on Jul 10, '09 08:45:34AM

Rather than Google Earth, don't you mean Maps.google.com?

I don't find a way to copy a URL from a coordinate in Google Earth. Or am I missing something?

---
"It's common knowledge among the clergy that God invented beef briskets for
Texans".
........Cactus Pryor



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: asmeurer on Jul 10, '09 09:20:41AM

I think it means to click on the Google Maps button on the Google Earth toolbar. That was the only way I could find to get a URL from within Google Earth



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: Mac Berry on Jul 10, '09 09:40:16AM

Only way I can find is to right click on the location name (link in the box below the "Fly To" search box) and choose copy. Then paste that into, umm, anything, and edit it to leave only the URL.

I get no spaces then either.

Mark



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: Mac Berry on Jul 10, '09 09:49:42AM

OK, no, scrap that :( That URL doesn't work to bring up maps on the iPhone, though it works just fine in OS X.

My bad.

Mark



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: haydiv on Jul 10, '09 08:58:47AM
to avoid the %20 / space issue why don't you just choose tinyurl or some other shortcut, your entry ended up being http://tinyurl.com/l5qefx
works perfectly.

[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: CaptCosmic on Jul 10, '09 09:44:02AM
One suggested change to the URL: Add an loc: to the front of the query.
http://maps.google.com/maps?f=q&q=loc:38.343410,-75.187239%20%28Ocean%20City%20Worship%20Center%29
This insures the Google Maps will drop the marker at the exact coordinates, and not at the closest street address it can find. Not so important for marking businesses and such, but more important when trying to mark specific locations (such as where the buried treasure is kept.

---
Capt Cosmic

[ Reply to This | # ]

Store GPS coordinates in URLs in Address Book
Authored by: Tetonne on Jul 12, '09 02:04:00AM

I have GPS like that : 5043,8394'; 312,1252' that i imported from my Palm (and calculate in Via Michelin GPS software for palm)
my gp coordonnate are store in information
how can i simply put them in the geo field?
a script woul be great I have more than 500 GPS coordinates to put in a usable field in address book.
Must be finfd in next addressboo.app and in the iphone addressbook too
Apple should make something for us !!!



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: Tetonne on Jul 12, '09 02:10:37AM

I have GPS like that : 5043,8394'; 312,1252' that i imported from my Palm (and calculate in Via Michelin GPS software for palm)
my gp coordonnate are store in information
how can i simply put them in the geo field?
a script woul be great I have more than 500 GPS coordinates to put in a usable field in address book.
Must be finfd in next addressboo.app and in the iphone addressbook too
Apple should make something for us !!!



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: Jacques on Jul 13, '09 03:41:23AM

Once you pinpoint in Maps, simply share the hint. Instead of actually sending them email use copy paste to throw it in the actual contact or into TinyURL.

I like to put the whole thing in, since how the URL begins is a giveaway that what you are about to select is a Map - a TinyURL link can be anything.

Jacques



[ Reply to This | # ]
Store GPS coordinates in URLs in Address Book
Authored by: stevev on Jul 13, '09 05:27:41AM

Though I've not tried this specific hint, another option on retaining spaces in the URL is to use '+' instead of '%20'. That's a standard HTML URL encoding escape character and should be sufficient for these needs.

HTH,
steve



[ Reply to This | # ]