[gdal-dev] Zip-Compressed GeoJSON Files?

Simon Eves simon.eves at heavy.ai
Fri Feb 21 17:31:01 PST 2025


Same with 3.10.1.

On Fri, Feb 21, 2025 at 3:12 PM Simon Eves <simon.eves at heavy.ai> wrote:

> Revisiting our geo export options after several years and hit something
> weird.
>
> Testing with the command-line tools, this works...
>
> ogr2ogr -f "geojson" /vsigzip//path/to/output.geojson.gz <input>
>
> This does not...
>
> ogr2ogr -f "geojson" /vsizip//path/to/output.geojson.zip <input>
>
> It spits a ton of errors (attached) and while the zip file is created, it
> has no files in it.
>
> Am I doing something silly, or is this a bug?
>
> Does anyone really use or expect individually-zipped GeoJSON files anyway?
>
> This is with GDAL 3.7.3. We are updating to 3.11 so I'll try that too.
>
> --
> Simon Eves
> Senior Rendering Engineer
> +1 (415) 902-1996
> simon.eves at heavy.ai
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250221/9be87c22/attachment.htm>


More information about the gdal-dev mailing list