Hill shading and HGT downloads

Started by michaelbechtold, March 15, 2016, 21:14:54

0 Members and 2 Guests are viewing this topic.

michaelbechtold

Tried Hill shading for areas for which I do not yet have the HGTs on my SD.
Funny effect: the HGT covers more than shading is displaying. But the dynamic elevation does recognize and display the value. I attached a typical situation.

Gesendet von meinem SM-N9005 mit Tapatalk

  •  

Menion

Map tile is shaded only for tiles, where is 100% cover of elevation over HGT. When few pixels don't have elevation (missing HGT file), whole tile is not shaded.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

michaelbechtold

Arghhh, so tiles and HGT are not aligned - did not know / anticipate that.
But why are you so strict ? Why not just shade what you can ? Anyway, no big deal, now that I understand why/how.
  •  

Menion

Why? Mainly a simplicity of algorithm where you do not have to care if data are on certain pixel or not. I just quickly test if they are everywhere (over whole tile) and if not, tile is skipped. Fast and effective.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

michaelbechtold

#4
Just d ownloaded latest beta and tested hill shading on two devices. One has 3" HGTs,  the other has 1" HGTs. Both show missing tiles in the middle of downloaded areas. No pattern I can see, random effect,  but reproducible as far as I perceive.

edit
Zooming in can show tiles from lower zoom in some places.
  •  

Menion

Good day Michael, this is known issue to me. It do not happen randomly, but only on places, where is absolutely no information on below vector map. So in case, vector map has nothing to draw on tile (no line, no point), shading is also not able to draw. Quite complicated to solve now, though I'm aware of it.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

gynta

btw.

What's the big(?) difference between 3" and 1" files:

3": 1,75MB
1": 24,7MB - whole Alps 2,5 GB (roughly)

Compare...

...slope: http://www.oldboys.at/comp1/
plausible view?

...hillshading: http://www.oldboys.at/comp2/

michaelbechtold

Quote from: gynta on March 20, 2016, 23:20:38
btw.

What's the big(?) difference between 3" and 1" files:

3": 1,75MB
1": 24,7MB - whole Alps 2,5 GB (roughly)

Compare...

...slope: http://www.oldboys.at/comp1/
plausible view?

...hillshading: http://www.oldboys.at/comp2/
Ich habe letztens etwas gespielt und es gab Orte wo die beiden massivst unterschiedlich waren.
Everybody needs to decide about cost /  benefit of pot. 3 times more details versus 10 times bigger files.
My finding below does not apply to 1 versus 3", it is a general issue, as Menion confirmed.
Not sure though why there is no map tile painting as without shading and only then a systematic nested loop (x, y) for the shading. A second loop should practically have no overhead compared to the operation in its core, the shading itself ....
Cheers from Casa
Michael

Gesendet von meinem SM-N9005 mit Tapatalk

  •  

szebenyib

Hi menion!

Is it somehow possible to select an area and download hgt data for it? Like it is possible to do with maps.

Sent from my Moto G 2014 using Tapatalk

  •  

Menion

- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

michaelbechtold

Quote from: menion on April 11, 2016, 17:05:27
Hello,
no it is not.

Idea already exists here: http://help.locusmap.eu/topic/more-comfortable-srtm-download-for-hill-shading
This link has some work around that I built.

Gesendet von meinem SM-N9005 mit Tapatalk

  •  

szebenyib

Voted for it, thanks!

Sent from my Moto G 2014 using Tapatalk

  •