Template:geo-note: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
 
(rfc2119 templates)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
* If latitude is present, so MUST be longitude, and vice versa.
* Coordinates {{must}} use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].
* 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:
* If latitude is present, so {{must}} be longitude, and vice versa.
:<code><nowiki><abbr class="geo" title="37.386013;-122.082932">home</abbr></nowiki></code>
* 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:
* The same number of decimal places SHOULD be used in each value.
:<code><nowiki><abbr class="geo" title="37.386013;-122.082932">home</abbr></nowiki></code>  
* Coordinates use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].
* 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]

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>