Author Topic: Spurious hill shading  (Read 438 times)

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Spurious hill shading
« on: September 22, 2017, 19:13:53 »
Using the latest LoMap of Wales on the latest LocusPro, at zoom=12 only I get spurious hillshading tiles in the sea. There may be spurious hillshading elsewhere, but in the sea it is obvious!
I get the same effect using OAMaps at zoom=11.

 
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Spurious hill shading
« Reply #1 on: September 24, 2017, 22:11:15 »
Good evening John,
sharing on the ground seems to be correct right? It looks for me more like some incorrect HGT file with name of this area.
Try to look into Locus/data/srtm directory if there are a files named N53W004 and N53W005. Best should be to delete them completely.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Re: Spurious hill shading
« Reply #2 on: September 24, 2017, 23:30:12 »
I deleted all the srtm folder and cleared temporary files (except cached online files) but the map rebuilds itself with the same problems as before.  The error only occurs at one zoom level. Looking at it carefully I think the whole hill shading tile is rotated and reflected or something similar. If you look at my screen shots you can see discontinuities at the edge of the tile on the land.
If I switch the layer to altitude colouring, it gives the correct result (so the hgt files cannot be corrupt) but the error returns when I switch back to hill shading.

Sent from my XT1039 using Tapatalk
« Last Edit: September 24, 2017, 23:44:20 by john_percy »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Spurious hill shading
« Reply #3 on: September 25, 2017, 09:18:50 »
Interesting, one more tip, please also delete this directory Locus\cache\map\shader and let me know if it helps. Thanks
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Re: Spurious hill shading
« Reply #4 on: September 25, 2017, 10:20:58 »
Thanks for the suggestion but it made no difference. What is so odd is that this only happens at specific zooms and on specific maps.


Sent from my XT1039 using Tapatalk

 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Spurious hill shading
« Reply #5 on: September 25, 2017, 12:08:06 »
Hmm oki, thanks for tests.
So latest LoMap, theme internal hiking? Where did you downloaded HGT files, also over Locus Store together with map of Wales? I'm going to try to simulate it on own device ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Re: Spurious hill shading
« Reply #6 on: September 25, 2017, 13:50:34 »
My tests were with the latest LoMap of Wales downloaded in the last few days, and hgt files that go with that, also downloaded in the last couple of days. I have also tested with OAMaps Great Britain. The theme used does not matter, but I have illustrated the problem with the internal hike&bike theme. I get identical results if I switch themes. If I turn hillshading off, the effect goes (not surprisingly).
I have tested with the current LocusPro and the latest beta. I have these set on my phone with custom folders in common, to share the same data, as far as possible.

The screenshots below are the latest. They are not identical with what I was getting before. The artefact is only at the zoom level and map specified.

|
Locus Pro/LoMap Wales/z=12 | Locus Pro/OAMap Great Britain/z=11

|
Locus Beta/LoMap Wales/z=12 | Locus Beta/OAMap Great Britain/z=10


« Last Edit: September 25, 2017, 13:54:52 by john_percy »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 10285
  • Thanked: 92 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Spurious hill shading
« Reply #7 on: September 25, 2017, 16:04:57 »
John, this one was really bad :). Problem was in incorrect naming of cached tiles, where rarely happen, that for some tile was took incorrect cached tile. I remember few times some people reported me about some incorrect shading and it was definitely this issue.
Perfect, I was able to simulate it on different place and finally fix!!
Thank you very much, should be work correctly in next (beta) version.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: john_percy

Offline john_percy

  • Padavan of Locus
  • ***
  • Posts: 415
  • Thanked: 25 times
    • View Profile
  • Device: MotoG
Re: Spurious hill shading
« Reply #8 on: September 25, 2017, 16:20:25 »
Wonderful