Re: [gdal-dev] JPEG2000 with COG like structure

2023-04-28 Thread Ujaval Gandhi
What about using JPEG compression with GeoTIFF files instead and thus enabling you to use COGs? In my experience, you can get pretty close to the JPEG2000 file size with a GeoTIFF with JPEG compression. --- Ujaval Gandhi Spatial Thoughts www.spatialthoughts.com [https://mailtrack.io/trace/link/f96

Re: [gdal-dev] Failure to read some geojson files

2023-04-28 Thread Scott
Yeah, the raw works. It's easiest to grab it with vsi: ogrinfo /vsicurl/https://github.com/OSGeo/PROJ/raw/9.1/docs/plot/data/coastline.geojson On 4/28/23 15:09, Joaquim Manuel Freire Luís via gdal-dev wrote: Thanks Andrea, I thought that could be the case and downloaded the file with a right

Re: [gdal-dev] Failure to read some geojson files

2023-04-28 Thread Joaquim Manuel Freire Luís via gdal-dev
Thanks Andrea, I thought that could be the case and downloaded the file with a right-click-save-as and what I got seemed to be a valid json file and clearly not an html file. And that one doesn't work either. It does when I select to download as "raw". Joaquim -Original Message- From:

Re: [gdal-dev] Failure to read some geojson files

2023-04-28 Thread Andrea Giudiceandrea via gdal-dev
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

[gdal-dev] Failure to read some geojson files

2023-04-28 Thread Joaquim Manuel Freire Luís via gdal-dev
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 wit