[OSM-talk] Good practice, and should we rely on defaults?

Richard Fairhurst richard at systemed.net
Sat Apr 9 08:45:52 UTC 2022


Sarah Hoffmann wrote:
> I don't think this is a question of how simple or complicated the
> data is or where it is stored. The essential point is tool support.

I wouldn't disagree with that. But if the data is too complex then tool support won't happen. Anyone with access to a standard JSON library can knock up a GeoJSON parser in half an hour, whereas the opening_hours syntax is so complex that after 14 years there are just a handful of implementations which, crucially, don't even include one in Lua (for osm2pgsql, OSRM, tilemaker etc.).

We probably also need to avoid adding higher and higher barriers to entry for people coding fresh tools to use OSM data.

In other words, a defaults file which targets the 80% case is probably good (leaving us to rely on manual tagging for the remaining 20%), but let's not do an opening_hours and try to hit 100% with it.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20220409/4b1edff3/attachment.htm>


More information about the talk mailing list