I've just downloaded GeoTools in the past month, so I'm a relative newbie. For my Java app, I made a FeatureCollection of points and polygons, and each point has 7-8 digits after the decimal. I confirmed this in the debugger.
Now I need to convert this FeatureCollection to GeoJSON, so I do the following: FeatureJSON comboFjson = new FeatureJSON(); comboFjson.writeFeatureCollection(allFeatures, comboWriter); where comboWriter is my BufferedWriter, and allFeatures is a DefaultFeatureCollection. It works great EXCEPT all of the coordinates in the resulting GeoJSON are rounded to 4 decimal places. I need them rounded to 5 decimal places due to the nature of my data. Is there any way I can do this? Thanks! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/FeatureJSON-s-writeFeatureCollection-is-rounding-Feature-Coordinates-to-4-decimal-places-tp5203561.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users