halestudio / hale

(Spatial) data harmonisation with hale»studio (formerly HUMBOLDT Alignment Editor)
145 stars 44 forks source link

Number formatting in geometries must be done aware of neighbors #398

Open stempler opened 7 years ago

stempler commented 7 years ago

The number formatting when encoding GML geometries is done individually for each ordinate.

But it is important that this is done in context of all coordinates, to be able to detect duplicates that are created (which should be eliminated). The formatting may lead to invalid geometries in both cases, this should be handled as well.

An example: A LinearRing in a Polygon contains a set of coordinates that only differ at the 5th position after the decimal point. If the ordinates are formatted to only show three digits after the decimal point there will be duplicate points in the geometry.

github-actions[bot] commented 5 months ago

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.