[gdal-dev] Piping ogr2ogr (SHP format) /vsistdout/ to unix command

Even Rouault even.rouault at spatialys.com
Mon Dec 17 15:13:29 PST 2018


On lundi 17 décembre 2018 16:00:30 CET umbertofilippo wrote:
> I hope my poor knowledge of informatics terminology won't prevent me to
> explain properly, but I try to make my best.
> I am trying to use ogr2ogr to convert the GML response from a WFS GetFeature
> request to a zipped Shapefile.
> Is it possible to do that?

No, you can't pipe a shapefile. This is a multi file format, and OGR updates 
the files in a non sequential way. You have to create a temporary shapefile 
and zip it afterwards.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list