On 2019-02-20 12:10, marc marc wrote:

> Le 20.02.19 à 11:40, Colin Smale a écrit : 
> 
>> so allergic to the idea of leveraging (how I hate that word...) existing 
>> standards
> 
> I wonder if it will soon be necessary to do an IQ test to contribute
> to osm.
> if a app says "encode the duration in ISO_8601 format", I wonder if 1% 
> of contributors are able to encode it without first reading the doc.
> but if a app says "duration wihout any abreviation", filling "2 hours" 
> seems possible to everyone without error.
> especially since the maximum duration for a parking is rarely 1 year 3 
> months 4 days 7 hours 17 min 24sec which eliminates a little bit the 
> interest of an iso designed for the most extreme situations

The ISO standard allows irrelevant parts to be omitted, while also
allowing for the most complex cases (a balance which OSM often has
trouble with). So we say that the value of maxstay is of type "duration"
(aka "interval") with syntax defined by ISO8601. A value can be as
simple as "PT2H" for 2 hours. The "P" prefix is pretty redundant if we
don't need to disambiguate with timestamps , so "T2H" could be enough.
What's the minimum IQ required to understand "T2H", "T30M" or "5D"?
_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to