s1ard icon indicating copy to clipboard operation
s1ard copied to clipboard

use right-hand rule for metadata geometry definitions

Open johntruckenbrodt opened this issue 1 year ago • 0 comments

According to the GeoJSON specification, the outer rings of (multi)-polygons should follow the right-hand rule. I.e., its coordinates should be defined counter-clockwise. See specification section 3.1.6.
Currently the geometry is defined clockwise. This should be changed.

The GML standard allows both conventions. For the sake of simplicity the right-hand rule should be applied to the GML definition in the XML metadata files as well.

Function to be changed: metadata.extract.geometry_from_vec.

johntruckenbrodt avatar May 27 '24 12:05 johntruckenbrodt