Il 28/04/2023 19:08, Joaquim Manuel Freire Luís via gdal-dev ha scritto:
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
<https://github.com/OSGeo/PROJ/blob/9.1/docs/plot/data/coastline.geojson>
ERROR 4: Failed to read TopoJSON data
Hi Joaquim,
the URL
https://github.com/OSGeo/PROJ/blob/9.1/docs/plot/data/coastline.geojson
does not point to the actual coastline.geojson file. It points to a
GitHub HTML page.
You need to use the URL
https://github.com/OSGeo/PROJ/raw/9.1/docs/plot/data/coastline.geojson
instead.
Best regards.
Andrea Giudiceandrea
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev