x2polygons

Distance computation between matching georeferenced polygons


Keywords
GIS, spatial, analysis
License
GPL-3.0
Install
pip install x2polygons==0.18

Documentation

This Python package allows the calculation of distance between two polygons. Polygons may have thematic attributes (e.g. name) to add further description.

The available geometric distance functions between polygons are:

  • Hausdorff distance
  • Chamfer distance
  • PoLis distance
  • Turn function distance

The avaiable thematic distance functions are:

  • Levenshtein distance

For Windows:

  1. Follow the steps described here to download geopandas.
  2. Resolve the geos_c.dll file missing error by running conda install shapely as described here.