API - Height & swissALTI3D

88 views
Skip to first unread message

Florian Gerlich

unread,
May 31, 2022, 5:02:36 AM5/31/22
to GeoAdminCh API
Hello,

I'm looking to gather precise altitude data for terrains (typically 10'000m² at a resolution of 1-2m).

I'd like to use the swissALTI3D service but struggle to find the API to download the tiles via code. I see how to download it manually through the website. I'd rather not download the whole dataset and store it locally.

On the other hand, there is the API Height service, which provides the height for certain coordinates, but only one coordinate at a time. So to respect the usage limits (requests per minute), it would take quite a while to go through a couple of thousand m².

Could anyone point me to the right direction? I would prefer using the swissALTI3D service through an API. I managed to get this, but I don't understand how to get the data for a specific tile/location.

Thanks in advance,
Florian

francois bourdon

unread,
Jun 2, 2022, 3:28:55 AM6/2/22
to GeoAdminCh API
Hello,
You can use profile requests (  API REST Services — GeoAdmin API 3.0 documentation  ) in your case

Hope it helps
François

Florian Gerlich

unread,
Jun 2, 2022, 9:46:44 AM6/2/22
to GeoAdminCh API
Hello,

Thanks, I will look into that.

Best,
Florian

Reply all
Reply to author
Forward
0 new messages