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

Even Rouault even.rouault at spatialys.com
Thu Nov 2 13:45:46 PDT 2017


On jeudi 2 novembre 2017 13:39:56 CET Hemant Bist wrote:
> Hi,
> ogr2ogr is repeatedly failing for me with the following error when I try to
> import a large geojson (5gb) to postgres. The geojson itself was created by
> ogr2ogr from a ESRI gdb file.
> I would appreciate any pointers for workarounds. I only found 1] which
> indicates that I may have to manually(using custom script) split the
> geojson file.

I've fixed this a couple days ago in GDAL trunk to be able to read arbitrarily 
large GeoJSON files with little RAM.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171102/e617cad6/attachment.html>


More information about the gdal-dev mailing list