Geotagging

From OpenStreetMap Wiki
Jump to navigation Jump to search

trash bin

It has been proposed that this page be deleted or replaced by a redirect. See the discussion page for further information.
The given reason is: This seems to have been an idea which is not backed by any standard. --Nakaner (talk) 17:25, 5 November 2025 (UTC).

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.