[Tile-serving] [openstreetmap/osm2pgsql] extended make_clean_tags_func to make whitelisting possible (PR #1917)

Tilman M. Jaeschke notifications at github.com
Sun Feb 19 17:56:31 UTC 2023


I like to have full control over which tags get through, so like the title says i changed the function a bit. It does not break anything but you can now run `osm2pgsql.make_clean_tags_func(keep_keys, true)` and delete all other tags. I hope that is ok with you. Thanks for your work. I am having a lot of fun with it. Cheers!
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1917

-- Commit Summary --

  * extended make_clean_tags_func to make whitelisting possible

-- File Changes --

    M src/init.lua (63)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1917.patch
https://github.com/openstreetmap/osm2pgsql/pull/1917.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1917
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1917 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230219/4ed92973/attachment.htm>


More information about the Tile-serving mailing list