Template:geo-note: Difference between revisions
Jump to navigation
Jump to search
AndyMabbett (talk | contribs) (query restriction to abbr; clarify best practice) |
AndyMabbett (talk | contribs) (rfc2119 templates) |
||
(One intermediate revision by the same user not shown) | |||
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 | * If latitude is present, so {{must}} be longitude, and vice versa. | ||
* Coordinates | * Coordinates {{may}} be combined a single <abbr> 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 | * 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 | * [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>
- Best practice is that the same number of decimal places SHOULD be used in each value, with trailing zeroes if applicable.
- Some sources for latitude/ longitude coordinates