<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have a big geojson (4.83G) and try to convert it using ogr2ogr (GDAL 2.1.1, released 2016/07/07, Mac), but after 6 minutes of processing it terminates with:<div class=""><br class=""><div class=""><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ERROR 1: GeoJSON parsing error: continue (at offset -1)</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ERROR 4: Failed to read GeoJSON data</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">FAILURE:</span></div><div style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Unable to open datasource `geonames.geojson’ with the following drivers.</span></div>
…</div></div><div class=""><br class=""></div><div class="">Also I was not able to open same file with QGIS (it tried to consume 50+G RAM and crashed). The file is here: <a href="https://dl.dropboxusercontent.com/u/3573333/tmp/geonames.geojson.bz2" class="">https://dl.dropboxusercontent.com/u/3573333/tmp/geonames.geojson.bz2</a></div><div class=""><br class=""></div><div class="">I have similar smaller file from same proces, with size just below 2G and that one works fine. So it looks like some 2G or 4G size issue.</div><div class=""><br class=""></div><div class="">Is there maximum size for readable GeoJSON files?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Jaak</div></body></html>