Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 941 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 941 Bytes

WFS Fetcher

A tool to fetch, process, and save features from a WFS (Web Feature Service) into various formats.

Installation

  1. Install Poetry if you haven't already:

    sudo apt install python3-poetry
  2. Clone the repository (if you haven't already):

  3. Install dependencies: Poetry will automatically handle the installation of dependencies, including the necessary packages and their versions:

poetry lock
poetry install

Usage

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.