I have a WFS running on URL that is mentioned in the code below. i want to get all the features available in the service as a shapefile so i can open it and visualize it in QGIS or any other GIS software. The servies provides the ability to download the shapefile as can be viewed here :
I have tried the below code to fetch the data and save as a shapefile but it just creates an empty point shapefile which is not correct. How can i download it correctly?
from owslib.wfs import WebFeatureService eaWFS = WebFeatureService(url='https://www.geoseaportal.de/wss/service/Site_Development_Plan_2020/guest?SERVICE=WFS', version='2.0.0') floodData = eaWFS.getfeature(typename='Site_Development_Plan_2020:All', bbox=(419000,419000,421000,421000), outputFormat='SHAPE-ZIP') out = open('C:\\Users\Chaudhr1\\arcgis\DATA.zip', 'wb') out.write(floodData.read()) out.close()