[gdal-dev] Exporting large geojsons to postgis using ogr2ogr

dagibbs22 dagibbs22 at gmail.com
Thu Dec 27 13:12:16 PST 2018


Hi,
I'm trying to use gdal_rasterize on a 20 GB geojson but it's not working
(the geojson field I want to include in the raster is growth). I assume it's
because the geojson is too large. What can I do to rasterize the geojson
into tiles of 10x10 degrees?

ubuntu at ip-192-168-80-222:~$ gdal_rasterize -tr 0.00025 0.00025 -co
COMPRESS=LZW plantations.geojson test.tif -te -60 -30 -50 -20 -a growth 
ERROR 1: JSON parsing error: buffer size overflow (at offset 0)
ERROR 4: Failed to read GeoJSON data




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list