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:
If -x is set: attributes are available in Lua
If -x is set: all objects are sent to the process functions, not only tagged objects
If -x is set: Attributes are stored in middle tables in slim mode
New behaviour:
Attributes are always available in Lua if they are in the data
Only tagged objects are sent to the process_node|way|relation functions. There are new functions process_untagged_node|way|relation that are always called for untagged objects if they are defined.
If -x is set: Attributes are stored in middle tables in slim mode (as before)
This separates out the three concerns (availability of attributes in Lua config, handling of untagged objects, and storage of attributes in middle).
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:
process_node|way|relation
functions. There are new functionsprocess_untagged_node|way|relation
that are always called for untagged objects if they are defined.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