Skip to main content

AHN CLI for downloading Dutch elevation point cloud data

Project description

AHN CLI

License: MIT Version: 0.2.1 CICD Status: Passing

Description

AHN CLI is a command-line interface tool designed for the effortless downloading of AHN (Actueel Hoogtebestand Nederland) point cloud data for specific cities and classification classes.

Installation

Install AHN CLI using pip:

pip install ahn_cli

Or with uv:

uv tool install ahn_cli

Usage

To utilize the AHN CLI, execute the following command with the appropriate options:

Options:
 -c, --city <city_name>        Download point cloud data for the specified city.
 -o, --output <file>           Designate the output file for the downloaded data.
 -i, --include-class <class>   Include specific point cloud classes in the download,
                               specified in a comma-separated list. Available classes:
                               0:Created, never classified; 1:Unclassified; 2:Ground;
                               6:Building; 9:Water; 14:High tension; 26:Civil structure.
 -e, --exclude-class <class>   Exclude specific point cloud classes from the download,
                               specified in a comma-separated list. Available classes as above.
 -d, --decimate <step>         Decimate the point cloud data by the specified step.
 -ncc, --no-clip-city          Avoid clipping the point cloud data to the city boundary.
 -cf, --clip-file <file>       Provide a file path for a clipping boundary file to clip
                               the point cloud data to a specified area.
 -e, --epsg <epsg>             Set the EPSG code for user's clip file.
 -b, --bbox <bbox>             Specify a bounding box to clip the point cloud data. It should be comma-separated list with minx,miny,maxx,maxy
                               centered on the city polygon.
 -p, --preview                 Preview the point cloud data in a 3D viewer.
 -h, --help [category]         Show help information. Optionally specify a category for
                               detailed help on a specific command.
 -v, --version                 Display the version number of the AHN CLI and exit.

Usage Examples

Download Point Cloud Data for Delft with All Classification Classes:

ahn_cli -c delft -o ./delft.laz

To Include or Exclude Specific Classes:

ahn_cli -c delft -o ./delft.laz -i 1,2

For Non-Clipped, Rectangular-Shaped Data:

ahn_cli -c delft -o ./delft.laz -i 1,2 -ncc

To Decimate City-Scale Point Cloud Data:

ahn_cli -c delft -o ./delft.laz -i 1,2 -d 2

Specify a Bounding box for clipping:

If you specify a b, it will clip the point cloud data with specified bounding box.

ahn_cli -o ./delft.laz -i 1,2 -b 194198.0,443461.0,194594.0,443694.0

Reporting Issues

Encountering issues or bugs? We greatly appreciate your feedback. Please report any problems by opening an issue on our GitHub repository. Be as detailed as possible in your report, including steps to reproduce the issue, the expected outcome, and the actual result. This information will help us address and resolve the issue more efficiently.

Contributing

Your contributions are welcome! If you're looking to contribute to the AHN CLI project, please first review our Contribution Guidelines. Whether it's fixing bugs, adding new features, or improving documentation, we value your help.

To get started:

  • Fork the repository on GitHub.
  • Clone your forked repository to your local machine.
  • Create a new branch for your contribution.
  • Make your changes and commit them with clear, descriptive messages. Push your changes to your fork.
  • Submit a pull request to our repository, providing details about your changes and the value they add to the project.
  • We look forward to reviewing your contributions and potentially merging them into the project!

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

ahn_cli-0.3.5.tar.gz (14.4 MB view details)

Uploaded Source

Built Distribution

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

ahn_cli-0.3.5-py3-none-any.whl (14.4 MB view details)

Uploaded Python 3

File details

Details for the file ahn_cli-0.3.5.tar.gz.

File metadata

  • Download URL: ahn_cli-0.3.5.tar.gz
  • Upload date:
  • Size: 14.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for ahn_cli-0.3.5.tar.gz
Algorithm Hash digest
SHA256 dfe7f0b50557326331924c3dc53af4e6712ae0ca5fea4cccef44a568c5f80b50
MD5 b103bdb8b297c0084d4319266debb188
BLAKE2b-256 d35ed3a50907ea19e2b5df2d69bbad52e4487d645fbe719e757df5b1641592c0

See more details on using hashes here.

File details

Details for the file ahn_cli-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: ahn_cli-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 14.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for ahn_cli-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37de9a642f28ec630233a5f279403d4b7057dd65b778fa7dce9fd77b8d84a191
MD5 dc54a3b117a763273cc88b085ea1a641
BLAKE2b-256 b1d3d32c38c05c8f7e9b5f105baf214f9c531f5089a7c54cef480ad5ed80658b

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