Python library and CLI tool to check density and densify geometries using the geodesic (ellipsoidal great-circle) calculation for accurate CRS transformations.
Implementation based on Eenduidige transformatie van grenzen tussen ETRS89 en RD
Depends on the following Python packages with binary dependencies (installed through uv
or pip
):
Install with either uv
or pip
:
# pip
pip install geodense
# uv: run as cli tool
uvx geodense
# uv: add as dependency to project
uv add geodense
Use either geodense
or the short gden
alias:
$ geodense --help
Usage: geodense [-h] [-v] {densify,check-density} ...
Check density of, and densify geometries using the geodesic (ellipsoidal great-circle) calculation for accurate CRS transformations
Commands:
{densify,check-density}
Options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
Created by https://www.nsgi.nl/
See DOCS.md
for usage docs; for now only
containing flow-charts of the densify
and check-densify
subcommands.
See DEV.md
for developer docs.
Issues (bugs/feature requests) can be reported in the issue tracker of this repository. Pull requests are more than welcome, but we encourage to start a discussion on the issue tracker first.