Python library and CLI tool to check density and densify (GeoJSON) geometries using the geodesic (ellipsoidal great-circle) calculation for accurate CRS transformations
Project description
geodense
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
):
Installation
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
Usage CLI
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/
Usage Docs
See DOCS.md
for usage docs; for now only
containing flow-charts of the densify
and check-densify
subcommands.
Developer Docs
See DEV.md
for developer docs.
Contributing
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.