Package: ahn-cli
AHN CLIDescriptionAHN 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.InstallationNOTE:AHN CLI requires PDAL to be installed on your system. Follow the installation instructions in thePDAL documentationbefore proceeding.Install AHN CLI using pip:pip install ahn_cliUsageTo utilize the AHN CLI, execute the following command with the appropriate options:Options:-c,--city<city_name>Downloadpointclouddataforthespecifiedcity.-o,--output<file>Designatetheoutputfileforthedownloadeddata.-i,--include-class<class>Includespecificpointcloudclassesinthedownload,specifiedinacomma-separatedlist.Availableclasses:0:Created,neverclassified;1:Unclassified;2:Ground;6:Building;9:Water;14:Hightension;26:Civilstructure.-e,--exclude-class<class>Excludespecificpointcloudclassesfromthedownload,specifiedinacomma-separatedlist.Availableclassesasabove.-d,--decimate<step>Decimatethepointclouddatabythespecifiedstep.-ncc,--no-clip-cityAvoidclippingthepointclouddatatothecityboundary.-cf,--clip-file<file>Provideafilepathforaclippingboundaryfiletoclipthepointclouddatatoaspecifiedarea.-e,--epsg<epsg>SettheEPSGcodeforuser'sclipfile.-b,--bbox<bbox>Specifyaboundingboxtoclipthepointclouddata.Itshouldbecomma-separatedlistwithminx,miny,maxx,maxycenteredonthecitypolygon.-p,--previewPreviewthepointclouddataina3Dviewer.-h,--help[category]Showhelpinformation.Optionallyspecifyacategoryfordetailedhelponaspecificcommand.-v,--versionDisplaytheversionnumberoftheAHNCLIandexit.Usage ExamplesDownload Point Cloud Data for Delft with All Classification Classes:ahn_cli -c delft -o ./delft.lazTo Include or Exclude Specific Classes:ahn_cli -c delft -o ./delft.laz -i 1,2For Non-Clipped, Rectangular-Shaped Data:ahn_cli -c delft -o ./delft.laz -i 1,2 -nccTo Decimate City-Scale Point Cloud Data:ahn_cli -c delft -o ./delft.laz -i 1,2 -d 2Specify a Bounding box for clipping:If you specify ab, it will clip the point cloud data with specified bounding box.ahn_cli -c delft -o ./delft.laz -i 1,2 -d 2 -b 194198.302994,443461.343994,194594.109009,443694.838989Reporting IssuesEncountering 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.ContributingYour 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!