[Tile-serving] [openstreetmap/osm2pgsql] Flex clean_tags in process_relation (#1441)

Jochen Topf notifications at github.com
Wed Mar 31 13:09:47 UTC 2021


It shouldn't really matter that much. And while 99.80% of relations have a `type` tag, it is not required. And there are about 60.000 relations in the current planet hat only have a `type` tag. Most of them can probably be ignored, because they don't carry useful information, but what's to say that some `type`s are not enough? So maybe its better to leave it as it is to be on the "safe" side.

The bigger problem with your proposed change is that it removes the `type` tag from the tags hstore field added to the database. So there is some information lost here. We could add it back in, but removing it and then adding it back in also comes with its cost.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1441#issuecomment-811054608
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210331/2813ffc8/attachment.htm>


More information about the Tile-serving mailing list