According to the GeoDesk documentation on Feature Subtypes, the default behavior is to not include anonymous nodes:
By default, feature libraries omit the IDs of such nodes to save space, in which case
id()
returns0
.
This is a reasonable default given the performance benefits yielded by omitting over 97% of all nodes. However, my application does currently expect untagged nodes to have an identity to guarantee correct semantics in situations where two or more nodes have identical coordinates. And if I understand the documentation correctly, this is not a situation in which node IDs will be preserved – only having tags or being a relation member is mentioned as a reason for preserving IDs.
So, is there an option to override this default behavior?
4 posts - 3 participants
Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/how-to-include-anonymous-nodes-in-a-geodesk-feature-library/6314