Re: [Geotools-gt2-users] Precision of geometries in WFS-Request

2020-08-19 Thread Andrea Aime
Hi Ian, I believe Benjamin is not talking about the GML wfs-ng is receiving, but the one contained in a GetFeature request payload as part of a spatial filter Cheers Andrea On Wed, Aug 19, 2020 at 9:30 AM Ian Turton wrote: > > > On Wed, 19 Aug 2020 at 07:17, Benjamin Sokolowski < >

Re: [Geotools-gt2-users] Precision of geometries in WFS-Request

2020-08-19 Thread Ian Turton
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, >

Re: [Geotools-gt2-users] Precision of geometries in WFS-Request

2020-08-18 Thread Ian Turton
I don't think you can, the format of the GML being sent is in the control of the server. For example GeoServer has an option that sets the number of decimals (I use 3 by default), You do know that 7dp is +/- 11mm and is probably random noise - see

[Geotools-gt2-users] Precision of geometries in WFS-Request

2020-08-18 Thread Benjamin Sokolowski
Hi, we are using geotools in Version 22.3. Everytime we are building a WFS-Request the precision of the requested geometry gets reduced to 6 decimal places. The original geometry has 7 decimal places. How can we configure the request in geotools to get 7 decimal places? Best regards,