Geo (microformat)
Geo is a microformat used for marking up geographical coordinates (latitude and longitude) in HTML (or XHTML).[1] Coordinates are expected in angular units of degrees and geodetic datum WGS84.[1] Although termed a "draft" specification, the format is a de facto standard, stable and in widespread use;[2] not least as a sub-set of the published hCalendar[3] and hCard[4] microformat specifications, neither of which is still a draft.[3][4] Use of Geo allows parsing tools (for example other websites, or Firefox's Operator extension) to extract the locations, and display them using some other website or web mapping tool, or to load them into a GPS device, index or aggregate them, or convert them into an alternative format. Usage
The Geo microformat is applied using three HTML classes. For example, the marked-up text: <div>Belvide: 52.686; -2.193</div>
becomes: <div class="geo">Belvide: <span class="latitude">52.686</span>; <span class="longitude">-2.193</span></div>
by adding the class-attribute values "geo", "latitude" and "longitude". This will display
and a geo microformat for that location, Belvide Reservoir, which will be detected, on this page, by microformat parsing tools. hCardEach Geo microformat may be wrapped in an hCard microformat, allowing for the inclusion of personal, organisational or venue names, postal addresses, telephone contacts, URLs, pictures, etc. ExtensionsThere are three proposals, none mutually-exclusive, to extend the geo microformat:
UsersOrganisations and websites using Geo include:
Many[which?] of the organisations publishing hCard include a geo as part of that. h-geoAn alternative to Geo, h-geo, has been proposed. This is applied using three HTML classes. For example: <div class="h-geo">Belvide: <span class="p-latitude">52.686</span>; <span class="p-longitude">-2.193</span>; <span class="p-altitude">120</span></div>
by adding the class-attribute values "h-geo", "p-latitude", "p-longitude", and "p-altitude". See also
NotesReferences
|