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.3.tar.gz (29.5 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.3-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygeomatch-0.0.3.tar.gz
  • Upload date:
  • Size: 29.5 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.3.tar.gz
Algorithm Hash digest
SHA256 f06bb14be39ce3bac138a3beb2b3cbb5f17eeffe5f7a5e89d2c443ead8678305
MD5 8934aa0483b2ca151648c55b89407dc0
BLAKE2b-256 48e5f85c0555933b212ed609fc103f2b9e9c1fed7b1638bbb9166c64d4c36ead

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeomatch-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 32.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9345b1f493e97309bf91719965cf1f148df2543a03a57ec51a5a779c68773cf
MD5 cbecbcbcadc591ea878024af1ba152d7
BLAKE2b-256 243186d121728fcffd4053d60b29d587ff91d31edcb95f086ab2f1781f1df452

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