Template:geo-note: Difference between revisions
Jump to navigation
Jump to search
AndyMabbett (talk | contribs) No edit summary |
AndyMabbett (talk | contribs) (query restriction to abbr; clarify best practice) |
||
Line 1: | Line 1: | ||
* Coordinates 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 <abbr> 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 <abbr> 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: | ||
:<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. | ||
* [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 Sources for latitude/ longitude coordinates] |
Revision as of 19:34, 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>
- Best practice is that the same number of decimal places SHOULD be used in each value, with trailing zeroes if applicable.
- Sources for latitude/ longitude coordinates