Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response returned is NULL NULL #4

Closed
yalamber opened this issue May 5, 2021 · 7 comments
Closed

Response returned is NULL NULL #4

yalamber opened this issue May 5, 2021 · 7 comments

Comments

@yalamber
Copy link

yalamber commented May 5, 2021

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

@wladich
Copy link
Owner

wladich commented May 5, 2021

Normally server returns NULL for missing data (I forgot to mention it in readme). Did you supply hgt file for this point to make_data?

The file name should be N049E16.hgt

@yalamber
Copy link
Author

yalamber commented May 5, 2021

Oh I got it now, I am downloading all hgt files, How big is your dem files? Is it too big if we want to support all continents?

@wladich
Copy link
Owner

wladich commented May 5, 2021

The collection at viewfinderpanoramas.org is compressed in zip and is about 16 Gb. I think it is about 70-80 Gb when uncompressed.

The resulting data file for elevation server is 19 Gb as it uses lz4 compression.

@yalamber
Copy link
Author

yalamber commented May 5, 2021

Thanks, will try to build dem files for all hgt files

@yalamber
Copy link
Author

yalamber commented May 7, 2021

Thanks @wladich finally got server up with total data, Though there was issue with one file N63E008.hgt, other all files seems to be of size 2.9 MB but this one specifically was 25.9 MB and make_data command was failing after removing this was able to create dem files.

@wladich
Copy link
Owner

wladich commented May 7, 2021

Looks like it was the same problem as in #2 - it is a dem file with 1" resolution but olny 3" is supported

@yalamber
Copy link
Author

yalamber commented May 7, 2021

Oh ok go it. seems to be working fine now. Great work by the way providing all these application as opensource. Thank you

@yalamber yalamber closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants