osm2pgsql-dev / osm2pgsql

OpenStreetMap data to PostgreSQL converter
https://osm2pgsql.org
GNU General Public License v2.0
1.48k stars 473 forks source link

Changed handling of object attributes in flex output #2231

Closed joto closed 3 weeks ago

joto commented 1 month ago

This is a backwards incompatible change in the way we are handling objects attributes (version, timestamp, changeset, uid, user) and the -x/--extra-attributes option in the flex output. The pgsql output is unaffected.

Old behaviour:

New behaviour:

This separates out the three concerns (availability of attributes in Lua config, handling of untagged objects, and storage of attributes in middle).

Fixes #1680 Fixes #189