hale
hale copied to clipboard
Keep existing gml:ids on Geometries
When a geometry already has a gml:id (through the alignment or because the geometry was copied unchanged), that ID should be kept and not deleted or replaced. The reason is that especially in CityGML, geometries are re-used by reference. If this would break backwards compatibility, this should be added an an option to all GML/XML writers.
Is this potentially a side effect of CityGML still using GML 3.1.1 for its Geometry model?
Clarification: While I still think that this should be considered as a proper solution, there is a workflow solution:
In the geometry rename, add the parameter "Copy Geometry Objects in Structural Rename", and set it to false, while setting the "Structural rename" paremter to true:

In this way, hale will copy the geometry literal instead of the object structure, thus bypassing encoding.
I had misunderstood this parameter to work exactly in the other way (i.e, it needs to be added, but set to true). Maybe we should rethink the explanation/value of this parameter :).
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. If it is still valid, please post a comment.