Setting GDAL configuration options through R

Hi @mafw, I believe this variable is set through the environment variable rather than the options. You can set it using sys.setenv(OGR_GEOJSON_MAX_OBJ_SIZE=500).

There are also dedicated geojson R readers that you could try, such as geojson and geojsonR.

2 Likes