Giter Site home page Giter Site logo

hideba / ahn_cli Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 41.15 MB

Python CLI tool which helps you to download AHN point cloud data easily

License: MIT License

Makefile 1.05% Python 98.95%
ahn delft-university-of-technology geo geospatial-data lasfile laspy point-cloud python geospatial pdok

ahn_cli's Introduction

Hi ๐Ÿ‘‹, I'm HideBa

A passionate full stack / WebGIS developer from Japan

๐Ÿ† Trophy ๐Ÿ† :

hideba

  • ๐Ÿ”ญ Iโ€™m currently working on Re:Earth

  • ๐ŸŒฑ Iโ€™m currently learning Ocaml, Rust, etc

  • ๐Ÿ’ฌ Ask me about React, TypeScript, Go, Ruby, Python, DevOps

  • ๐Ÿ“ซ How to reach me [email protected]

Connect with me:

@ba_hideba hideba

Languages and Tools:

aws babel css3 cypress django docker express figma firebase gcp git go graphql html5 javascript jest mongodb mysql nextjs nodejs postgresql python rails react redux ruby typescript webpack

hideba

ย hideba

hideba

ย cesium-certificate

ahn_cli's People

Contributors

hideba avatar hugoledoux avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jorgejesus

ahn_cli's Issues

if the city doesn't exist or misspelled then it crashes

ahn_cli -o ./out.laz -c "Delft123"
Traceback (most recent call last):
  File "/Users/hugo/.pyenv/versions/ahncli/bin/ahn_cli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/main.py", line 121, in main
    if validate_all(
       ^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/validator.py", line 104, in validate_all
    validate_city(city_name, cfg.city_polygon_file)
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/validator.py", line 22, in validate_city
    raise ValueError("City name not found in city list.")
ValueError: City name not found in city list.

if I pass nothing it crashes

ahn_cli
Traceback (most recent call last):
  File "/Users/hugo/.pyenv/versions/ahncli/bin/ahn_cli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/main.py", line 121, in main
    if validate_all(
       ^^^^^^^^^^^^^
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/validator.py", line 102, in validate_all
    validate_output(output_path)
  File "/Users/hugo/.pyenv/versions/3.11.2/envs/ahncli/lib/python3.11/site-packages/ahn_cli/validator.py", line 11, in validate_output
    raise ValueError("Output path is required.")
ValueError: Output path is required.

Request for processed AHN data

At the moment the tool downloads 'raw' AHN scan data from GeoTiles.nl. It would be very useful if it could download 'the data product' AHN that comes in a grid 0.5x0.5m or the one 5mx5m the same way. The same data that comes processed in the geotiff files. This would make targeted request and unnecessary download something from the past. The way to do this is to incorporate some kind of 'AHN product choice'.

Some background information, the python tool for BlenderGIS used to work in a samen kind of fashion.. This code can be found here. However, it is broken :( More here. https://geoforum.nl/t/blender-hoogtedata-addon/7152

Screenshot of 'processed data' with 1 value xyz in a grid 0.5x0.5m
CloudCompare

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.