[mapserver-users] Coordinates precision in GML output
Lime, Steve D (DNR)
steve.lime at state.mn.us
Tue Apr 5 11:27:19 PDT 2011
Looking at the code the 6 decimals are fixed. You'd need to edit mapgml.c and recompile I'm afraid. Sorry...
Steve
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Nicolas BOUTET
Sent: Monday, April 04, 2011 6:20 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Coordinates precision in GML output
Hello all,
I'm serving some Oracle Geometries using MapServer as a WFS Server.
Data are stored in Oracle using WGS84 and are served as GML using a Mercator projection. Re-projection is also done by MapServer / PROJ.4.
All is working fine, but because I have a lot of geometries, with more and more vertices, the resulting GML output is too big and I need to decrease his size.
Because I don't need to have metric coordinates with 6 decimals (1 or 2 should be more than enough), I tried to find a way to limit the number of decimals, with no success.
Does anybody know how to do this?
Thanks
Nicolas B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110405/6c2e3ea9/attachment.htm>
More information about the MapServer-users
mailing list