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

ASTER_GDEMV3 does not deliver elevation data #104

Open
gistiv opened this issue Aug 24, 2022 · 5 comments
Open

ASTER_GDEMV3 does not deliver elevation data #104

gistiv opened this issue Aug 24, 2022 · 5 comments
Assignees

Comments

@gistiv
Copy link

gistiv commented Aug 24, 2022

Describe the bug
When trying to get elevation data from the ASTER_GDEMV3 dataset, there is always null returned. As it turns out, when trying see if some of the DEM files are missing, the ElevationService cannot find a coverage for the given coordiantes (screenshot). Then no files are downloaded and therefore the elevation service cannot extract the needed data for the given point (second warning in screenshot) and returns null.

To Reproduce
Can be reproduced with the ElevationSample.cs from the sample repository.
In my project I use DEMNet the get data from a geometry line but in the sample repo it can be reproduced with both, the single point elevation and the geometry line.

Expected behavior
The missing files should be downloaded and then a valid GeoPoint should be returned.

Screenshots
image

Desktop (please complete the following information):
OS: Win10
Fails for .net core 3.1 & .net6
Fails for DEMNet 0.2.8 & 0.3.2

@xfischer
Copy link
Member

Hi @ChristophKubik, sorry for the late reply, I'll have a look.
I found a problem with georeferencing in the tiles so that may be a problem. Does this work with another DEM ? (SRTM for example)

@gistiv
Copy link
Author

gistiv commented Sep 16, 2022

@xfischer Yes, I have both of the SRTM and the NASADEM in use, they all work and use the exact same code.

@xfischer
Copy link
Member

Can you try to remove all files from you LocalData\DEM.Net\ASTER_GDEMV3 ?
That may trigger another download of fresh data.
If it still not working then it's the data source itself that may have changed.

@xfischer
Copy link
Member

Did you add you nasa credentials to appsettings.json file ?

@gistiv
Copy link
Author

gistiv commented Sep 18, 2022

Yes the login credentials are there and I can login to their website. This already used to work about a year ago.
Deleting the files didn't change anything. When not developing, my application runs in a linux docker container which has no mounted volume and therefore the local data will allways be empty as soon as I redeploy (which currently happens quiet frequent) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants