Martin,
try Settings / Global / Number of decimals. This works for GML 2 and GML
3.1 but does not seem to work for GML 3.2 output.
Do you need the geometries? If not, you can use the propertyname
parameter to request only the properties you need for even smaller
responses:
http://localhost:8080/geoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&typenames=topp:states&propertyname=topp:PERSONS,topp:WORKERS
Kind regards,
Ben.
On 18/10/17 11:55, Martin Davis wrote:
Is there any way in GeoServer to request that the precision of WFS output
be reduced? (I.e. remove decimal places from the ordinates?).
We have a large dataset which has far too much precision on the data.
Removing unecessary decimal digits seems like it could significantly reduce
WFS response size.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users