Hi list,

I need to create a GeoJSON file for an very large number of features. I used to used shapefiles for this, but due to the large number of features, shapefile's .dbf goes over the 2GB size limit. I switched over to GeoJSONDataStore, but I stumbled on a problem: I'm writing my features in batches of 50K features to speedup write and to avoid keeping a huge feature collection into memory. It seems that whenever I write batches to GeoJSONDataStore, it appends data to the file but it keeps old temp files around, quickly filling up disk space.

So, generally, which is the best way to write geojson data, is there an example somewhere? Any suggestions or guidelines on this?

Thanks in advance

Thanassis Mantes


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to