Author Topic: mapsforge v4 themes for Openandromaps  (Read 3746 times)

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 187
  • Thanked: 31 times
    • View Profile
  • Device: Sony Z1 Compact
mapsforge v4 themes for Openandromaps
« on: December 14, 2018, 13:41:56 »
According to this blogpost on openandromaps.org (https://www.openandromaps.org/locus-direct-install-link-fuer-mehrsprachige-v4-karten), OAM plans to stop producing v3 vector maps as of mid 2019.

Fortunately, Locus is able to deal with v4 maps (provided as "ML" - maps from OAM) using the standard mapsforge v4 library (without the Locus-specific enhancements like automatic map loading). Btw.: what other enhancements does the Locus v3 implementation offer compared to the default v4 implementation? I remember something like rendering speed optimizations...what else?

The other thing is themes...currently I use some really nice Locus-specific themes I don't want to miss. I'd like to start a list of OAM-compatible themes and the availability of v4-versions. I try to update the list when I or others find out more details...

themev4 version
Elevateyes
Elementsyes
VoluntaryUKyes
HiLoin development, called 'active RT'
Tiramisuyes
Totmyes
outdoorX (outdoor/desert/navigation)outdoorV4 and desertV4 available, will be further developed
« Last Edit: June 17, 2019, 08:52:56 by zossebart »
 
The following users thanked this post: Menion, michaelbechtold, Viajero Perdido, freischneider

Offline john_percy

  • Expert
  • Master of Locus
  • ****
  • Posts: 867
  • Thanked: 135 times
    • View Profile
  • Device: MotoG
Re: mapsforge v4 themes for Openandromaps
« Reply #1 on: December 15, 2018, 10:11:40 »
Link to OAM post in English: https://www.openandromaps.org/en/locus-direct-install-link-for-multilanguage-v4-maps

Locus enhancement for v3 includes
- controllable intelligent scaling (resolution-aware) of text, symbols on zooming
- proper treatment of dotted or dashed lines on zooming, so visual spacing stays constant
- fancy labels for roads etc
- ability to display contour lines as smoothed curves
- ability to render elevation text of contour lines "looking up the hill" (switch off rotation of pathtext for "normal" viewing)
- uppercase transformation of text
- dx shift of path text
- dy shift of pathtext understands if text has been rotated for "normal" viewing
- speed enhancements

Someone can probably add to this list which I've just done from the top of my head

« Last Edit: January 04, 2019, 10:06:50 by john_percy »
 

Offline michaelbechtold

  • Expert
  • Master of Locus
  • ****
  • Posts: 698
  • Thanked: 60 times
    • View Profile
Re: mapsforge v4 themes for Openandromaps
« Reply #2 on: December 15, 2018, 15:37:26 »
Well, some of that lies in Locus and can be replicated by Menion once he gets serious to move ahead with V4 (incl. MF POI DBs - address DB would stay Locus "private" in any case, I suppose).
Some other useful stuff from your list Menion should contribute to Mapsforge base, which has been a kickstart for Asamm initially ...
 
The following users thanked this post: tapio, freischneider

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 187
  • Thanked: 31 times
    • View Profile
  • Device: Sony Z1 Compact
Re: mapsforge v4 themes for Openandromaps
« Reply #3 on: January 04, 2019, 08:01:44 »
Thanks @john_percy for your feedback on the special Locus enhancements!
There is a main thread for mapsforge v4+ development now...but I'd like to keep this thread open because it's about themes and I think not all v3 themes (especially the themes which use locus-specific enhancements) will work with v4 library.

I guess we have to wait for menions actions in the next months and try themes again when there are new (beta) versions available...
 

Offline jerome

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: mapsforge v4 themes for Openandromaps
« Reply #4 on: April 13, 2019, 17:12:00 »
Hello,
I also tried several times V4 maps from OpenAndroMaps (the ML version). And I stopped doing so, because some parts of the maps stay white depending on the zoom level.

I just made some snapshots with Locus Map Pro 3.37.2 on a Samsung Galaxy S5 mini.

Here the map Alps Ost in the ML (V4) version with the theme Elevate for bicycles:


Here the map Alps Ost in the old (V3) version with the theme Elevate LE for bicycles:


I only get the problem with with tiles with V4 maps. I tried different themes and always get the same white tiles. I got the problem with all ML maps that I tried.
« Last Edit: June 25, 2019, 21:42:38 by gynta »
 

Online Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12210
  • Thanked: 658 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: mapsforge v4 themes for Openandromaps
« Reply #5 on: April 13, 2019, 18:21:56 »
Hello jerome,
if possible, leave it be for a while. The whole system around maps will completely change probably in the end of May (based on this topic: https://forum.locusmap.eu/index.php?topic=6471.msg54300#msg54300 ).
So a) try and check what we discuss in the mentioned topic or just b) wait till new version with these changes. Thanks.
Top links
- Official help desk (ideas, questions, problems): help.locusmap.eu
- Advanced topics, public discussions, sharing of knowledges, beta versions: you're here!
- Beta versions download: link
 

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 187
  • Thanked: 31 times
    • View Profile
  • Device: Sony Z1 Compact
Re: mapsforge v4 themes for Openandromaps
« Reply #6 on: April 26, 2019, 12:27:58 »
Updated list in first post (DesertX and TOTM)
 

Offline Tobias

  • Apprentice of Locus
  • **
  • Posts: 102
  • Thanked: 15 times
    • View Profile
    • Elevate themes
Re: mapsforge v4 themes for Openandromaps
« Reply #7 on: April 28, 2019, 10:19:27 »
I made a reference which mapsforge version support which tags that can be found here:
https://www.openandromaps.org/oam-forums/topic/mapsforge-rendertheme-reference
developer of Elevate mapstyle for OpenAndroMaps
 
The following users thanked this post: Menion, karlchick, Magellan

Offline john_percy

  • Expert
  • Master of Locus
  • ****
  • Posts: 867
  • Thanked: 135 times
    • View Profile
  • Device: MotoG
Re: mapsforge v4 themes for Openandromaps
« Reply #8 on: April 28, 2019, 14:19:38 »
Is there a definitive guide to the usage of these tags anywhere?

Sent from my moto g(6) plus using Tapatalk

 

Offline Tobias

  • Apprentice of Locus
  • **
  • Posts: 102
  • Thanked: 15 times
    • View Profile
    • Elevate themes
Re: mapsforge v4 themes for Openandromaps
« Reply #9 on: April 28, 2019, 21:02:59 »
Is there a definitive guide to the usage of these tags anywhere?
The best thing is still this:
https://github.com/mapsforge/mapsforge/blob/master/docs/Rendertheme.md
That's a reason why I made the table, to have at least a complete overview. Of course one can add a lot to it, but it's a start.
developer of Elevate mapstyle for OpenAndroMaps
 
The following users thanked this post: Magellan

Offline zossebart

  • Apprentice of Locus
  • **
  • Posts: 187
  • Thanked: 31 times
    • View Profile
  • Device: Sony Z1 Compact
Re: mapsforge v4 themes for Openandromaps
« Reply #10 on: June 17, 2019, 08:56:51 »
Nice, with the release of TOTM v4, there is a v4 version for all the themes in my list now! Thank you to all theme developers for migrating to v4!

Are there other themes which are not converted to v4 yet?