<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello everyone,<div><br></div><div>I am new in GDAL so I'm struggling to convert a wfs to shapefile using ogr2ogr.</div><div><br></div><div>my command is as follows: </div><div><br></div><div>C:\>ogr2ogr -f "ESRI SHAPEFILE" ec_pensioners WFS:" <a href="http://localhost:8080/geoserver/osw" target="_blank">http://localhost:8080/geoserver/osw</a>?" pensioners<br></div><div><br></div><div><ul><li>ec_pensioners is the name of the wfs layer</li><li>pensioners is the output layer </li><li>" <a href="http://localhost:8080/geoserver/osw" target="_blank">http://localhost:8080/geoserver/osw</a>?" is where the layer is hosted </li></ul><div><br></div></div><div>The error message I get:</div><div><br></div><div><div>FAILURE:</div><div>Unable to open datasource `WFS: <a href="http://localhost:8080/geoserver/osw" target="_blank">http://localhost:8080/geoserver/osw</a>?' with the following drivers.</div><div> -> `JP2ECW'</div><div> -> `OCI'</div><div> -> `SOSI'</div><div> -> `PCIDSK'</div><div> -> `netCDF'</div><div> -> `JP2OpenJPEG'</div><div> -> `PDF'</div><div> -> `MBTiles'</div><div> -> `EEDA'</div><div> -> `DB2ODBC'</div><div> -> `ESRI Shapefile'</div><div> -> `MapInfo File'</div><div> -> `UK .NTF'</div><div> -> `OGR_SDTS'</div><div> -> `S57'</div><div> -> `DGN'</div><div> -> `OGR_VRT'</div><div> -> `REC'</div><div> -> `Memory'</div><div> -> `BNA'</div><div> -> `CSV'</div><div> -> `NAS'</div><div> -> `GML'</div><div> -> `GPX'</div><div> -> `LIBKML'</div><div> -> `KML'</div><div> -> `GeoJSON'</div><div> -> `GeoJSONSeq'</div><div> -> `ESRIJSON'</div><div> -> `TopoJSON'</div><div> -> `Interlis 1'</div><div> -> `Interlis 2'</div><div> -> `OGR_GMT'</div><div> -> `GPKG'</div><div> -> `SQLite'</div><div> -> `ODBC'</div><div> -> `WAsP'</div><div> -> `PGeo'</div><div> -> `MSSQLSpatial'</div><div> -> `OGR_OGDI'</div><div> -> `PostgreSQL'</div><div> -> `MySQL'</div><div> -> `OpenFileGDB'</div><div> -> `XPlane'</div><div> -> `DXF'</div><div> -> `CAD'</div><div> -> `Geoconcept'</div><div> -> `GeoRSS'</div><div> -> `GPSTrackMaker'</div><div> -> `VFK'</div><div> -> `PGDUMP'</div><div> -> `OSM'</div><div> -> `GPSBabel'</div><div> -> `SUA'</div><div> -> `OpenAir'</div><div> -> `OGR_PDS'</div><div> -> `WFS'</div><div> -> `WFS3'</div><div> -> `HTF'</div><div> -> `AeronavFAA'</div><div> -> `Geomedia'</div><div> -> `EDIGEO'</div><div> -> `GFT'</div><div> -> `SVG'</div><div> -> `CouchDB'</div><div> -> `Cloudant'</div><div> -> `Idrisi'</div><div> -> `ARCGEN'</div><div> -> `SEGUKOOA'</div><div> -> `SEGY'</div><div> -> `XLS'</div><div> -> `ODS'</div><div> -> `XLSX'</div><div> -> `ElasticSearch'</div><div> -> `Walk'</div><div> -> `Carto'</div><div> -> `AmigoCloud'</div><div> -> `SXF'</div><div> -> `Selafin'</div><div> -> `JML'</div><div> -> `PLSCENES'</div><div> -> `CSW'</div><div> -> `VDV'</div><div> -> `GMLAS'</div><div> -> `MVT'</div><div> -> `TIGER'</div><div> -> `AVCBin'</div><div> -> `AVCE00'</div><div> -> `NGW'</div><div> -> `HTTP'</div></div><div><br></div><div>Thank you in advance</div><div><br></div><div>Mncedi</div></div></div></div>
</div></div>