A tool to fetch, process, and save features from a WFS (Web Feature Service) into various formats.
-
Install Poetry if you haven't already:
sudo apt install python3-poetry
-
Clone the repository (if you haven't already):
-
Install dependencies: Poetry will automatically handle the installation of dependencies, including the necessary packages and their versions:
poetry lock
poetry install
To run the tool:
poetry run wfs-fetcher --url <WFS_URL> --format <FORMAT> --output-dir <OUTPUT_DIR>
Replace <WFS_URL> with the URL of the WFS service, with the desired output format (GeoJSON, GeoPackage, or Shapefile), and <OUTPUT_DIR> with the directory where you want to save the output files.
This setup ensures that the project is well-organized, modular, and easy to maintain, with dependency management handled by Poetry.