<div dir="ltr">Hi,<div>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.</div><div>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.</div><div><br></div><div>1] <a href="https://gis.stackexchange.com/questions/16340/alternatives-to-ogr2ogr-for-loading-large-geojson-files-to-postgis">https://gis.stackexchange.com/questions/16340/alternatives-to-ogr2ogr-for-loading-large-geojson-files-to-postgis</a><br></div><div> ogr2ogr  -f "PostgreSQL" -append -update -nlt GEOMETRY -t_srs EPSG:4326 PG:"dbname=mydb  tables=dummy" vol2/myuser/delme/a.json'  -nln tmpx -lco FID=gid -lco PRECISION=NO</div><div><br></div><div><div>ERROR 1: GeoJSON parsing error: buffer size overflow (at offset 0)</div><div>ERROR 4: Failed to read GeoJSON data</div><div>FAILURE:</div><div>Unable to open datasource `/vol2/myuser/delme/a.json' with the following drivers.</div><div>  -> PCIDSK</div><div>  -> JPEG2000</div><div>  -> PDF</div><div>  -> ESRI Shapefile</div></div><div><br></div></div>