Closed lgoltz closed 8 years ago
The org.opengis.geometry.Envelope is created by the DataSampler from geometry elements in the data sample (Extents::calculateEnvelope
); these are ok. But java.text.DecimalFormat is locale-sensitive so this is probably the source of the error.
Fixed in geomatics-geotk-1.14. Format decimal values using Locale.ROOT.
If the locale of the server running the teamengine is DE some tests failes due to invalid GML geometries:
Here an example request from the test intersectsPolygon:
The gml:posLists contains a list of coordinates with commas instead of of points.
The following tests are concerned:
All of them creates the geometry node by Extents.envelopeAsGML():
This is part of geomatics-geotk [1].
As workaround the server locale can be set to EN, but it is preferred to fix this.
[1] https://github.com/opengeospatial/geomatics-geotk/blob/master/src/main/java/org/opengis/cite/geomatics/Extents.java