wladich / elevation_server Goto Github PK
View Code? Open in Web Editor NEWThe server providing elevation data for https://nakarte.me written in Go. The original python version is at https://github.com/wladich/ElevationServer
The server providing elevation data for https://nakarte.me written in Go. The original python version is at https://github.com/wladich/ElevationServer
$ wget http://viewfinderpanoramas.org/dem1/O35.zip
$ unzip O35.zip
$ make_data -hgt O35 -out dem_tiles
0 / 24 [_________________________________________________________________] 0.00% Elapsed 0s 0s
panic: invalid HGT size
goroutine 1 [running]:
main.makeTiles(0x7fff7d46168e, 0x4, 0x7fff7d461698, 0x9, 0x5)
github.com/wladich/elevation_server/cmd/make_data/main.go:161 +0x389
main.main()
github.com/wladich/elevation_server/cmd/make_data/main.go:181 +0x17c
$ ls -lh O35
total 594M
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E024.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E025.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E026.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E027.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E028.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N56E029.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E024.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E025.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E026.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E027.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E028.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N57E029.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E024.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E025.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E026.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E027.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E028.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N58E029.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E024.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E025.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E026.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E027.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E028.hgt
-rw-r--r-- 1 sikmir users 25M 26. 5. 2014 N59E029.hgt
hi,
while trying to run run make_data -hgt <PATH_TO_HGT_FILES> -out dem_tiles it says make_data: command not found in ubuntu 20.04.
any suggestions will be highly appreciable.
Thank you
Hello, I tried setting up server as instructions in Readme and seems to be working but for some reason response is always NULL NULL.
curl https://elevations.example.com --data-binary $'49.18148 16.35126\n49.13545 16.33615'
response is NULL NULL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.