[Tile-serving] [osm2pgsql-dev/osm2pgsql] modify relation's member attribute during imort (Discussion #2312)
denis-olyanyuk
notifications at github.com
Fri Mar 28 13:48:36 UTC 2025
I provided information about Nominatim just for better understanding what I'm doing and why.
But my question is only about osm2pgsql.
Let me ask it again, but without mentioning Nominatim at all.
While I am importing a relation object from osm file I want to modify a member of that relation so that modification will be represented in the database. I tried to adjust the attribute "role" in member (change it from "label" to "admin-center") in function process_relation, but in the database (table planet_osm_rels) this member was saved with an old value.
Is there any way to modify raw data "on the fly" or do I need to modify only osm.pbf file?
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2312#discussioncomment-12653407
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2312/comments/12653407 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250328/beaed4ef/attachment.htm>
More information about the Tile-serving
mailing list