hale icon indicating copy to clipboard operation
hale copied to clipboard

Keep existing gml:ids on Geometries

Open thorsten-reitz opened this issue 7 years ago • 3 comments

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.

thorsten-reitz avatar Jun 07 '18 10:06 thorsten-reitz

Is this potentially a side effect of CityGML still using GML 3.1.1 for its Geometry model?

thorsten-reitz avatar Jun 07 '18 10:06 thorsten-reitz

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: grafik

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 :).

thorsten-reitz avatar Jun 09 '18 19:06 thorsten-reitz

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.

github-actions[bot] avatar May 20 '24 02:05 github-actions[bot]

This issue has been automatically closed due to inactivity. If it is still valid, please post a comment.

github-actions[bot] avatar Jun 04 '24 02:06 github-actions[bot]