[whatwg] Coordinates and measurements in HTML5

Andy Mabbett andy at pigsonthewing.org.uk
Tue Mar 10 17:16:42 PDT 2009

In message <ZXeD4tTdZyoJFwc6 at pigsonthewing.org.uk>, I wrote:

>Another abuse of ABBR in microformats for coordinates:
>        <abbr class="geo" title="52.548;-1.932">Great Barr</abbr>
>Bruce and I agree that this could be resolved, and HTML5 usefully
>extended, by a “location" element:
>        <location latitude="52.548" longitude="-1.932">Great
>        Barr</location>
>Using the “schema" attribute shown above, for non-Gregorian dates, we
>can extend that for Martian, Lunar (and eventually other bodies):
>        <location schema="moon" latitude="52.548"
>        longitude="23.47297">Sea of Tranquility</location>
>and for nonWGS84 coordinates, in a manner similar to that I described
>in my proposals to extend the related Geo microformat:


and in message <LlwnU2ch9DpJFwEK at pigsonthewing.org.uk>, I wrote:

>a more widely-scoped "measurement" element, capable of taking, for
>example, values of "duration", "length", "mass", "temperature", etc.;
>and a value; and perhaps a schema (defaulting to SI), would perhaps be
>more useful. Use cases are microformats, plus translation, automated
>conversion, sorting, etc.

which might look like:

        <measure type="length">5cm</measure>
        <measure length="2.5cm">1 inch</measure>

Those suggestions seem to have been lost, in the discussion of <time>

Any thoughts?

Bruce subsequently preferred <place> for the former, while on
reflection, I think <geo> might be more appropriate, given that it's
derived from the "geo" property in vCard.

Andy Mabbett

More information about the whatwg mailing list