[gdal-dev] Failure to read some geojson files

Joaquim Manuel Freire Luís jluis at ualg.pt
Fri Apr 28 10:08:06 PDT 2023


Hi,

In my quest to find a small coastlines file made of closed polygons (well, they all should be closed by definition but ...) I thought in using the file used to create the PROJ examples, but to my surprise GDAL can't read those geojson files.

This is with OSGeo4W GDAL but I get the same with my own build. But I can read some other geojson files. Why?


ogrinfo https://github.com/OSGeo/PROJ/blob/9.1/docs/plot/data/coastline.geojson
ERROR 4: Failed to read TopoJSON data
ERROR 4: Failed to read TopoJSON data
FAILURE:
Unable to open datasource `https://github.com/OSGeo/PROJ/blob/9.1/docs/plot/data/coastline.geojson' with the following drivers.
...

Joaquim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230428/6c706b5e/attachment.htm>


More information about the gdal-dev mailing list