Skip to content

Python library and CLI tool to check density and densify linestring and polygon geometries

License

Notifications You must be signed in to change notification settings

GeodetischeInfrastructuur/geodense

Repository files navigation

geodense

Code Coverage Python 3.10+ License: MIT PyPI Version

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.

About

Python library and CLI tool to check density and densify linestring and polygon geometries

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages