Template:geo-note: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
(rfc2119 templates)
 
Line 1: Line 1:
* Coordinates use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].
* Coordinates {{must}} use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].
* If latitude is present, so MUST be longitude, and vice versa.
* If latitude is present, so {{must}} be longitude, and vice versa.
* Coordinates MAY be combined a single &lt;abbr&gt; element<!-- Is this only for abbr? Id sthat necessary? Operator for one supports any element -->; then the latitude and longitude MUST be separated by a semicolon in the title attribute and latitude MUST be first:
* Coordinates {{may}} be combined a single &lt;abbr&gt; element<!-- Is this only for abbr? Is that necessary? Operator for one supports any element -->; then the latitude and longitude {{must}} be separated by a semicolon in the title attribute and latitude {{must}} be first:
:<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 Some sources for latitude/ longitude coordinates]
* [http://wikitravel.org/en/Wikitravel:Geocoding#Sources_for_lat.2Flongs Some sources for latitude/ longitude coordinates]

Latest revision as of 18:15, 26 August 2007

  • Coordinates MUST 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>