Maps Mapping, Geocodes, GIS & GPS :: webdev
Example address entered: 19 Dryden Drive, Poquoson, VA 23662
Results and Geotags:
Corrected Address: Address: 19 Dryden Dr, Poquoson, VA 23662, USA Country code: US
Latitude: 37.138067 Longitude: -76.406337
Geographic Meta Tags:
<meta name="geo.position" content="37.138067; -76.406337" />
<meta name="geo.placename" content="Poquoson, VA" />
<meta name="geo.region" content="US-VA" />
Simple RSS Geotags:
<georss:point>37.138067 -76.406337</georss:point>
GML RSS Geotags:
<georss:where>
<gml:Point>
<gml:pos>37.138067 -76.406337</gml:pos>
</gml:Point>
</georss:where>
Geo Microformat:
<span class="geo">
<span class="latitude">37.138067</span>
<span class="longitude">-76.406337</span>
</span>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Placemark>
<name>19 Dryden Dr, Poquoson, VA 23662, USA</name>
<description></description>
<Point>
<coordinates>-76.406337,37.138067,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Since it came up in today's meeting...
Go to maps.google.com and either search for the address you want or otherwise get the center of the map to where you want. In the address bar, paste...
javascript:alert(window.gApplication.getMap().getCenter());
A popup will give you the lat/long. The important thing about this is that it is giving you the center point on the map, not where the marker is. But the marker is centered on a map after a search, so this usually is fine. Just don't adjust the window size or drag the map around after you search if you want the proper lat/long for the address searched.