On Wed, 19 Aug 2020 at 07:17, Benjamin Sokolowski < benjamin.sokolow...@data-experts.de> wrote:
> Hi Ian, > > thanks for your reponse. > We are using a metric coordinate system, so it's definitly some sort of > noise. > Unfortunatly we don't have control about the precision of the geometries, > it is customer related. > But because of this reduced precison the geometry gets sometimes invalid. > > What exactly do you mean "is in control of the server"? > We are generating the request in our own software with the help of > geotools and in this request (GML) the geometry differs in precision from > the geometry we putting into the filter (for example > org.opengis.filter.spatial.Intersects). > > The GeoTools client makes the request to the server which decides how to format the GML - there is nothing the client can do to control how many decimal places are in the GML, so the GML you receive is the same regardless of how the request is made - try using the URL in a browser or via curl on the command line, the result will be the same. Ian -- Ian Turton
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users