Template:geo-note: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(query restriction to abbr; clarify best practice)
mNo edit summary
Line 4: Line 4:
:<code><nowiki><abbr class="geo" title="37.386013;-122.082932">home</abbr></nowiki></code>  
:<code><nowiki><abbr class="geo" title="37.386013;-122.082932">home</abbr></nowiki></code>  
* Best practice is that the same number of decimal places SHOULD be used in each value, with trailing zeroes if applicable.
* Best practice is that the same number of decimal places SHOULD be used in each value, with trailing zeroes if applicable.
* [http://wikitravel.org/en/Wikitravel:Geocoding#Sources_for_lat.2Flongs Sources for latitude/ longitude coordinates]
* [http://wikitravel.org/en/Wikitravel:Geocoding#Sources_for_lat.2Flongs Some sources for latitude/ longitude coordinates]

Revision as of 19:35, 31 July 2007

  • Coordinates use the datum of WGS84.
  • If latitude is present, so MUST be longitude, and vice versa.
  • Coordinates MAY be combined a single <abbr> element; then the latitude and longitude MUST be separated by a semicolon in the title attribute and latitude MUST be first:
<abbr class="geo" title="37.386013;-122.082932">home</abbr>