GDAL Error 1: geoJSON object too complex
mountainMath opened this issue · comments
{cancensus} does not read complex geometries like Nunavut any more. It throws an error
GDAL Error 1: geoJSON object too complex
My hunch is that the {sf} package recently switched out their geoJSON driver to rely on GDAL, which has a fairly low memory limit (unless explicitly compiled with higher memory limit).
One way around this is to use a different geoJSON driver. For example, geojsonsf::geojson_sf
is very fast and has no problem reading in large geojson.