Hi

I try to output many wfs layers (typenames) to a single zipped output.

This is working properly for zipped shapefiles. 

...?service=wfs&version=2.0.0&request=getfeature&typename=A,B&outputformat=SHP

        OUTPUTFORMAT
                NAME "SHP"
                DRIVER "OGR/ESRI Shapefile"
                FORMATOPTION "STORAGE=filesystem"
                FORMATOPTION "FORM=zip"
                FORMATOPTION "FILENAME=result.zip"
        END
        OUTPUTFORMAT
                NAME "geojson"
                DRIVER "OGR/GEOJSON"
                FORMATOPTION "LCO:COORDINATE_PRECISION=15"
                FORMATOPTION "LCO:WRITE_BBOX=YES"
                FORMATOPTION "STORAGE=filesystem"
                FORMATOPTION "FORM=zip"
                FORMATOPTION "FILENAME=result.geojson.zip"
        END

For "Zipped" geojson
...?service=wfs&version=2.0.0&request=getfeature&typename=A,B&outputformat=geojson

I get :

General error message. 
OGR OGR_DS_CreateLayer failed for layer 'B' with driver 'GEOJSON'.

Does somebody already create zipped geojson?






--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to