[Tile-serving] [openstreetmap/osm2pgsql] member_type in relations and osm_type use different case. (Issue #1778)

Jochen Topf notifications at github.com
Tue Sep 27 18:28:32 UTC 2022


That's unfortunate that we have this inconsistency in "naming" the OSM types. The problem is that we can't really change that now, more than two years since version 1.3.0 was released, which introduced this.

I see two options:
1. Live with it. Add big warnings to the documentation.
2. Leave the upper case used in the type column, it was chosen to be compatible with what's used in the gazetteer output. Add a new field to the member, say `member.osm_type` or so, that uses the uppercase handle. Mark the `member.type` as deprecated and remove it in a few years. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1778#issuecomment-1259894023
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1778/1259894023 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220927/c46de890/attachment.htm>


More information about the Tile-serving mailing list