Installation#

footprint2graph is supported on Python versions 3.10+.

Dependencies#

System dependencies

  • GDAL is required for the vectorization workflow and must be installed separately before installing footprint2graph. Installation instructions are available on the GDAL download page.

    The Python package osgeo (including the GDAL, OGR and OSR modules) is used by footprint2graph for vectorization.

Python dependencies

  • footprint2graph depends on the following Python packages, which are installed automatically with the library:

    • tracklib : a GPS trajectory processing library used for filtering, resampling, summarization, selection, generalization, map matching and trajectory aggregation.

    • matplotlib : used for colormaps and 2D plotting.

    • Shapely : used for centerline extraction and smoothing.

    • Fiona and Rasterio : used to load vector (SHP) and raster (TIF) data.

Install standard release#

Users can install footprint2graph from PyPI using the pip package manager (PyPI). To install the latest stable release, run:

pip install footprint2graph

Install as an editable library#

Coming soon