You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I have a GML file with an endpoint of the first posList corresponding with the startpoint of the second posList. Designating the starting and ending points of two curveMembers as "repeated points" is not correct. Instead, the idea of a Ring with curveMembers is that the end point of the previous curveMember connects to (has the same coordinates as) the start point of the next curveMember. The GML schema (geometryPrimitives.xsd) says: "The sequence of curves shall be contiguous and connected in a cycle."
By conversion to JTS the two posList are just stuck together and results in one posList with repeated points (check the 186678.036 504329.302 pair in both posLists).
This is done in the org.deegree.geometry.standard.primitive.DefaultRing --> buildJTSGeometry() and the getCoordinates() in the same class.
In the for loop of buildJTSGeometry()
Thank you for your feedback and the effort you put in the investigation. Can you describe in more detail what is the expected behaviour? Is there a visible (wrong) output of the current implementation? Feel free to create a pull request with the changes you want to propose.
Hi
Here I have a GML file with an endpoint of the first posList corresponding with the startpoint of the second posList. Designating the starting and ending points of two curveMembers as "repeated points" is not correct. Instead, the idea of a Ring with curveMembers is that the end point of the previous curveMember connects to (has the same coordinates as) the start point of the next curveMember. The GML schema (geometryPrimitives.xsd) says: "The sequence of curves shall be contiguous and connected in a cycle."
By conversion to JTS the two posList are just stuck together and results in one posList with repeated points (check the 186678.036 504329.302 pair in both posLists).
This is done in the org.deegree.geometry.standard.primitive.DefaultRing --> buildJTSGeometry() and the getCoordinates() in the same class.
In the for loop of buildJTSGeometry()
A deduplication should be added here.
The text was updated successfully, but these errors were encountered: