Geotagging

From OpenStreetMap Wiki
Jump to: navigation, search

This page describes geotagging of HTML pages. For geotagging of photographs see Geotagging Source Photos.


Ways of adding geographic location to HTML pages:

Method 1 - ICBM

<meta name="ICBM" content="51.23210, -0.32478">

Method 2 - Geo

<META NAME="geo.position" CONTENT="51.23210; -0.32478">

Method 3 - Geo microformat

<span class="geo">
    [optional description - not part of microformat]
    <span class="latitude">51.23210</span>
    <span class="longitude">-0.32478</span>
</span>

Note: the Geo microformat (along with an hCard microformat) is now automatically added to wiki pages which use the browse link, city or place templates. The geo microformat is also added to the GPS trace pages and diary entry pages.

See also Microformats.