Author Topic: [Theme] HiLo hiking theme  (Read 17164 times)

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #30 on: March 08, 2019, 19:54:11 »
Hello,
At the moment it is best to use maps V3 within Locus. LoMaps are always V3, OAM you can download as V3 or V4 (called Multilanguage).
I already have the HiLo theme running on the smartphone as a V4 compatible version, but as long as Locus still displays the maps of the V4 incorrectly it makes no sense to publish this version of the HiLo theme.
The new future name of the theme will be "active RT", as this theme will no longer work only for Locus but will support the Mapsforge V4 maps in all apps.

PS:
In the meantime, the Locus Store has the V11 of HiLo for download.  :)
 

Offline plu-irin

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • Device: Sony Xperia
Re: [Theme] HiLo hiking theme
« Reply #31 on: April 19, 2019, 00:23:34 »
Hi Everybody,

HiLo is my favorite theme for LoMaps. However, lately I had an issue with a tunnel that was not shown on the map:



If I use the Locus internal theme (or OAM maps) everything is fine:


Tagging in OSM seems to be fine as well (highway=track, tunnel=yes, layer=-1 ) OSM
I tried some things in the <!-- highway tunnel casings --> section of the theme.xml without any success.

Maybe someone could give me a hint what to change?

Best wishes,

Gunnar
« Last Edit: April 19, 2019, 00:26:11 by plu-irin »
 

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #32 on: April 22, 2019, 19:45:14 »
I spent a few hours now understanding why the tunnel is not displayed on LoMaps, OpenAndroMaps displays the tunnel correctly. At the moment I have come to the conclusion that Locus here at LoMaps internally works differently than with OpenAndroMaps maps. Something is handled differently here, very annoying for Theme creator.
At the moment I can only advise you about OpenAndroMaps maps, my theme supports them better than LoMaps. The future lies as well as in maps and theme of the V4, which then does not exist as LoMaps.
 

Offline voldapet

  • Administrator
  • Padavan of Locus
  • *****
  • Posts: 489
  • Thanked: 11 times
    • View Profile
Re: [Theme] HiLo hiking theme
« Reply #33 on: April 23, 2019, 08:22:05 »
Hi,
@LocusUser#1 - I think that the "issue" is caused due to handling of layers. The tunnel has set layer=-1 and for this reason is rendered before the forest area. I think that OAM maps apply some transformation during generation and change the layer  from -1 to 0. LoMaps preserve the layer attribute. It requires to use some workaround to display tunnels and water streams - The forest areas are semitransparent. You can try simple test - disable rendering of forest areas in Hi-Lo theme and check the missing tunnel.
Thanks, Petr
 

Offline plu-irin

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • Device: Sony Xperia
Re: [Theme] HiLo hiking theme
« Reply #34 on: April 26, 2019, 17:40:37 »
Hi LocusUser#1, hi Petr,

Thank you for looking into this. Obviously Petr is right; the handling of layers is different. I now use the following – not very elegant - workaround:
I changed the forest fill color from #D4DAA4 to #50d6e372. To increase visibility further, I increased the stroke width for the tunnel from 0.1 to 0.3 and changed its color from #707070 to #3f3f3f. In the screenshots below the different handling of the layers is visible. In general for me it looks more logical to preserve the layer information (LoMaps) than flattening it (OAM). However, I have to say that I don’t know enough about the reason why OAM are created in a different way.

Let’s see what the future will bring related to V4 and the Locus subscription model (I have not yet decided if I will stay with locus or change to a different app).

Best wishes,
Gunnar
 

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #35 on: April 26, 2019, 20:02:39 »
@Petr
I do not understand yet how these layers affect Mapsforge, but thanks for the explanations.

@Gunnar
I had already found out that it is related to the forest, but still had no time to think of a workaround. Thank you for your workaround. I will take it over.

@All
The changes I will no longer in the HiLo theme but only in the follow-up theme "active RT", if interested can download this on Github.
https://github.com/FrankSchoeneck/active_RT
 
The following users thanked this post: balloni55, Magellan, Viajero Perdido

Offline balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 2534
  • Thanked: 102 times
    • View Profile
  • Device: Motorola G3 MM 6.01
Re: [Theme] HiLo hiking theme
« Reply #36 on: April 27, 2019, 12:58:52 »
Hello Frank
thanks for your new "aktive_RT"  :)
in HiLo V11 you added - historic=boundary_stone :)
now in new aktive_RT the stones are not visible on map.

If i use theme "Locus Genaral" or "Elements" they are visible

Wolfgang
Locus PRO 3.42.0
 

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #37 on: April 27, 2019, 15:06:09 »
Hello Wolfgang,

thanks for the hint, I just adapted it in the active RT as in HiLo. In active RT, a slightly different symbol is used, which is also slightly smaller.
The change has been uploaded to Github.
 

Offline balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 2534
  • Thanked: 102 times
    • View Profile
  • Device: Motorola G3 MM 6.01
Re: [Theme] HiLo hiking theme
« Reply #38 on: April 27, 2019, 16:23:47 »
Thanks for quick solution
but symbol is tooooo slight..
do you find 4 boundary stones in screenshot
Locus PRO 3.42.0
 

Offline Christian

  • Premium
  • Master of Locus
  • ****
  • Posts: 817
  • Thanked: 10 times
    • View Profile
Re: [Theme] HiLo hiking theme
« Reply #39 on: April 29, 2019, 14:31:56 »
Nice that the theme are still developed. Thank you LocusUser#1!
I installed it and noticed that i have to delete active RT4.xml and active RT5.xml to get the theme running in Locus. Am I wrong?
I'm very happy that the numbers of hiking ways are now displayed. Unfortunately depending on zoom level not all numbers are displayed simultaneously.
Christian
 

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #40 on: April 29, 2019, 19:06:04 »
@balloni55
the active RT4 still needs some adjustments, but I'll wait and see how the new locus map core develops.

@Christian
with the current version 3.37 only a single xml file may exist in the folder, so you had to delete the other two xml files.
The active RT is already created for the next locus version which is currently in beta test, from there may finally be several theme files in one folder.
 

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 166
  • Thanked: 22 times
    • View Profile
  • Device: Sony Z1 Compact
Re: [Theme] HiLo hiking theme
« Reply #41 on: April 30, 2019, 12:35:53 »
@LocusUser#1:

thanks for the github-link!
Could you please shortly state what the differences between the RT3/RT4/RT5 themes are? I first assumed the are meant for v3/v4/v5 maps, respectively, but there seem to be more optical changes between for example RT4 and RT5.
So is RT5 simply the newer one to be used in the future (with new map core?)?
 

Offline LocusUser#1

  • Apprentice of Locus
  • **
  • Posts: 126
  • Thanked: 63 times
    • View Profile
  • Device: Samsung A5 (2017)
Re: [Theme] HiLo hiking theme
« Reply #42 on: May 02, 2019, 19:56:12 »
The numbers mean the used render theme version of Mapsforge, not the map version. This is separate from each other, each rendering theme version has changes to the instruction set. Unfortunately, Locus is given by the programming of the app which theme version is used in which map version.

The active RT3 Locus version works only with locus and maps of version 3 and earlier.

The active RT4 version works with all apps that use the Mapsforge Engine and that with all map versions, here is Locus unfortunately again special, there this version works only with maps of version 4 and higher.

The active RT5 version is older than the RT4 version and was only for testing which app works with version 5 rendering themes.

As it looks at the moment I will make a current active RT5 version of the current active RT4 version and then only maintain it, the active RT4 will be omitted and the active RT3 locus stay on this stand.
 
The following users thanked this post: zossebart

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 166
  • Thanked: 22 times
    • View Profile
  • Device: Sony Z1 Compact
Re: [Theme] HiLo hiking theme
« Reply #43 on: May 03, 2019, 08:52:53 »
Thank you for clarification!