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

hgt files not found #20

Open
mrcheidel opened this issue Mar 8, 2018 · 1 comment
Open

hgt files not found #20

mrcheidel opened this issue Mar 8, 2018 · 1 comment

Comments

@mrcheidel
Copy link

Hi mate,
I'm trying this project, but don't found some files like N04E001.hgt

How to reproduce:
I looking for the elevation of lat, lng = 41.7323687,0.3103932

When I debug the project, I found that you navigate to
http://www.imagico.de/map/dem_json.php?date=&lon=1&lat=4&lonE=1&latE=4&vf=1

And hav the follow result:
[{"name":"B31.zip","title":"","link":"http://www.viewfinderpanoramas.org/dem3/B31.zip","date":"2012-05-28","lon_start":"0","lat_start":"4","lon_end":"6","lat_end":"8","type":"2"}]

Inside the http://www.viewfinderpanoramas.org/dem3/B31.zip don't exist the N04E001.hgt

Do you have other source hgt file repository?

Do you think about use the Mapzen on AWS files?
https://aws.amazon.com/es/public-datasets/terrain/

Exist any bug in the code?
I see on your elevation-service project that's working ok

In this service all run ok
https://github.com/perliedman/elevation-service

thanks of lot
Claudio

@perliedman
Copy link
Owner

Hi @mrcheidel,

thanks for the report, and also great work with the investigation into this issue!

I've seen similar reports before, but haven't found the time to dig into it, but from what you're saying, it does look like a problem with Imagico's search service, that returns a result that does not include the actual tile. At least from what you write, it doesn't sound like an issue with node-hgt, but I can't say for certain.

I have look into using Mapzen/AWS Terrain tiles, I think for the future it would be a much better option, but I haven't implemented it myself. I would be very happy to include a new downloader for AWS terrain tiles to replace the default in TileSet. At the moment it doesn't look like I will find the time to do it myself any time soon.

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