W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Coordinates and measurements in HTML5

From: Andy Mabbett <andy@pigsonthewing.org.uk>
Date: Wed, 11 Mar 2009 00:16:42 +0000
Message-ID: <UqGQ3TuqLwtJFwWO@pigsonthewing.org.uk>
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
Received on Tuesday, 10 March 2009 17:16:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:10 UTC