Skip to main content

A package to match geographical features

Project description

pygeomatch

Python library for matching geospatial vector datasets. For now, we only have surface matching algorithms but others will come soon.

installation

from source

git clone git@github.com:umrlastig/pygeomatch.git
cd pygeomatch

Install uv

Install dependencies:

uv sync
source .venv/bin/activate

with pip

pip install pygeomatch

usage

You can now use the pygeomatch script to match your data. You can see the different parameters with:

pygeomatch --help

For instance, with the test data in directory data using the MCA algorithm and saving the results in test.gpkg, you can use the following:

pygeomatch data/popRef.shp data/popComp.shp test.gpkg MCA

Run tests

pytest -v --cov  --cov-report term-missing

References

Included matching algorithms

Ali, A. B. H. (2001). Qualité géométrique des entités géographiques surfaciques. Application à l'appariement et définition d'une typologie des écarts geométriques (Doctoral dissertation, université Gustave Eiffel).

Olteanu-Raimond, A. M., Mustiere, S., & Ruas, A. (2015). Knowledge formalization for vector data matching using belief theory. Journal of Spatial Information Science, (10), 21-46.

More to be included

Du, H. (2015). Matching disparate geospatial datasets and validating matches using spatial logic (Doctoral dissertation, University of Nottingham).

Yan, Y., Sun, Y., Wang, S., Lu, Y., Hu, Y., & Lu, M. (2025). Research on Multi-Scale Vector Road-Matching Model Based on ISOD Descriptor. ISPRS International Journal of Geo-Information, 14(7), 280.

Data

Ground-truth OSM/BDTopo centre Strasbourg (stage) [-> link BiblioDocs]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygeomatch-0.0.2.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygeomatch-0.0.2-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file pygeomatch-0.0.2.tar.gz.

File metadata

  • Download URL: pygeomatch-0.0.2.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pygeomatch-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0b50832cb2416aaeea40b48e7f82509f76286b04fc5485d0c7fb3c64a3cb8661
MD5 f9939ee78ad6fcba9f1b2b7ccea78a23
BLAKE2b-256 1d6f7021839c87e7499cc3118bd53ce3e62da7c889bf2c69382dcf00a82f2200

See more details on using hashes here.

File details

Details for the file pygeomatch-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pygeomatch-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pygeomatch-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09f50a39f2f9f04e565f8bc7c3aaa556fa08de5813efa3ca9bd205a6c876c6a6
MD5 e8c468dc2780930ba6aabd2b356c796a
BLAKE2b-256 2c6ea90858abc2d01ba50c848744cfb15f7bd3aef2a24985a1e0b65ee9357c1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page