geo-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
({1})
(→‎Notes: WGS84)
Line 13: Line 13:
*If the secondary classes are omitted, the two values MUST be comma <!-- OR IS IT A SEMICOLON? Not specified on [[geo]] --> separated and latitude MUST be first:<code><nowiki><span class=geo">37.386013,-122.082932</span></nowiki></code>
*If the secondary classes are omitted, the two values MUST be comma <!-- OR IS IT A SEMICOLON? Not specified on [[geo]] --> separated and latitude MUST be first:<code><nowiki><span class=geo">37.386013,-122.082932</span></nowiki></code>
*The same number of decimal places SHOULD be used in each value.
*The same number of decimal places SHOULD be used in each value.
*Coordinates use the datum of [http://en.wikipedia.org/wiki/World_Geodetic_System WGS84].


==Related pages==
==Related pages==
{{geo-related-pages}}
{{geo-related-pages}}
*{{cheatsheets}}
*{{cheatsheets}}

Revision as of 23:17, 14 December 2006

geo cheatsheet

Properties (Class Names)

  • geo {1}
    • latitude?
    • longitude?

Key

Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST be present, and MAY occur more than once
? OPTIONAL, but MUST NOT occur more than once
[square brackets] list of common values
(parentheses) data format
# comment
! awaiting documentation

Notes

  • If latitude is present, so MUST be longitude, and vice versa.
  • If the secondary classes are omitted, the two values MUST be comma separated and latitude MUST be first:<span class=geo">37.386013,-122.082932</span>
  • The same number of decimal places SHOULD be used in each value.
  • Coordinates use the datum of WGS84.

Related pages