Author Topic: Update of map core (2019)  (Read 8583 times)

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11478
  • Thanked: 323 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Update of map core (2019)
« on: February 16, 2019, 13:05:25 »
One of the major problems with maps are caused by really really old system how the app works with map files, online maps, the system for rendering map tiles etc. I decided to update this system to try to solve most of the major problems.

Main info: to test changes is needed special ALPHA version. Currently not yet published, plan is on start of March. Subscribe to receive new information once ALPHA is ready for the test.

Current major visible changes

Implemented
  • automatic scaling of all raster maps based on device DPI
  • support for custom HDPI online maps, more info

In progress/preparation
  • features related to MapsForge V4 maps, more info
« Last Edit: February 18, 2019, 11:05:10 by menion »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: john_percy, michaelbechtold, Andrew Heard

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11478
  • Thanked: 323 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Update of map core (2019)
« Reply #1 on: April 06, 2019, 12:04:11 »
Hi guys,
one month delay ... not too bad I believe.

So who is brave enough to try the new special Alpha version? :)

How to:
Download 3.37.2.4 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=04Wcqtt
Download 3.37.2.6 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=0H4qEQX
Download 3.37.2.7 Map-alpha: https://asamm.myqnapcloud.com/share.cgi?ssid=0qcpBbS

Version is based on 3.37.2 + latest fixes + months of work on new "map core".

What to test:
Best: use as you usually do with the regular version.

I mainly try to achieve:
- better support for MapsForge V4 maps
- the good old Map manager that looks exactly the same as in current public version (it use different map system on background)
- improved suggested maps in "Quick map switch"
- better display of raster maps on devices with higher DPI
- correct work of overlays
« Last Edit: April 19, 2019, 22:34:46 by menion »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: tapio, Magellan, Andrew Heard, erfi

Offline SwissPoPo

  • More than Newbie
  • *
  • Posts: 22
  • Thanked: 2 times
    • View Profile
Re: Update of map core (2019)
« Reply #2 on: April 06, 2019, 14:47:28 »
Nice work. The map scaling is working.

I have done some quick map and theme versions checks.

Map v3: ok
Map v4: ok incl. multilanguage, ? symbol in the menu.
Map v5: ok incl. multilanguage, ? symbol in the menu.

Theme Locus: ok, but only for map v3
Theme v1: ok
Theme v4: ok, but only for map v4 or v5
Theme v5: not selectable
Are these restriction still needed?

I have seen some symbols and text on the map which are not coming from the actual selected theme. Not all elements are cleared during a theme change.
 
The following users thanked this post: lor74cas

Offline lor74cas

  • Padavan of Locus
  • ***
  • Posts: 271
  • Thanked: 17 times
    • View Profile
  • Device: Samsung A5 2017
Re: Update of map core (2019)
« Reply #3 on: April 06, 2019, 15:10:41 »
Map v4: ok incl. multilanguage, ? symbol in the menu.
Just to confirm the ? symbol.
I'm not too expert in maps to give you the required help.
Just tested a v4 map with elevate 4 theme on my old phone.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11478
  • Thanked: 323 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Update of map core (2019)
« Reply #4 on: April 06, 2019, 15:27:28 »
@SwissPopo
you are fast, thanks!

Yes, there are still some missing icons, will improve it next days.

Themes:
1. Internal themes have no sense to select for other maps then LoMaps I believe, so they do not appear for V4, V5 maps. Petr plan to also convert LoMaps & it's themes to V4, but not sure if there will be enough time this year.

2. V4 theme for V3 maps? I'm no expert, but does it make sense?

3. V5 theme, hmm thanks, have to test it.

I did not notice some artifacts on the maps during theme switching. Between which themes you switched so I may simulate it?

@lor74cas
there is no need to be an expert, really. For me, best is to know, that app works as expected. In this version are also completely new versions of special libraries so it definitely needs some "basic usage" tests to validate it does not crash.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline Tobias

  • Apprentice of Locus
  • **
  • Posts: 100
  • Thanked: 13 times
    • View Profile
    • Elevate themes
Re: Update of map core (2019)
« Reply #5 on: April 06, 2019, 16:02:09 »
Thanks, looks good at first glance, but no real test.
2. V4 theme for V3 maps? I'm no expert, but does it make sense?
That's the confusing thing with mapsforge: there are three version numbers (program, map and theme), but the only important one for compatibility is the program version, as it determines which highest map or theme version it supports. Until now there is a very good backward compatibility, so mixing theme and map version is no issue. The version numbers of themes is not connected to the one of maps at all, they where introduced at different points of time (e.g. Rendertheme V4 was end of 2014, Maps V4 end of 2015). As long as there are apps that only support V3 maps, it makes sense to have them on your device if you use several apps. But you can still have the (huge) advantage of V4 themes with them.
« Last Edit: April 12, 2019, 20:40:13 by Tobias »
developer of Elevate mapstyle for OpenAndroMaps
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 586
  • Thanked: 32 times
    • View Profile
Re: Update of map core (2019)
« Reply #6 on: April 06, 2019, 16:37:22 »
Hi Menion, you bet I am trying.
Downloaded Hessen_ML.map from OAM, which is MF V4.
Locus is able to show the information of this map, but refused to open.
Then I tried an online map, followed by Hessen_ML again - now it did open.
But I have to run now, will try stuff later.
Cheers and have a great weekend!
Michael
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 586
  • Thanked: 32 times
    • View Profile
Re: Update of map core (2019)
« Reply #7 on: April 06, 2019, 16:40:26 »
PS: just noticed, that on my mother's A5 the % zoom is 72% - looks like automatic adaption according to dpi.
 

Offline lor74cas

  • Padavan of Locus
  • ***
  • Posts: 271
  • Thanked: 17 times
    • View Profile
  • Device: Samsung A5 2017
Re: Update of map core (2019)
« Reply #8 on: April 06, 2019, 17:06:08 »
contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
 

Offline Tobias

  • Apprentice of Locus
  • **
  • Posts: 100
  • Thanked: 13 times
    • View Profile
    • Elevate themes
Re: Update of map core (2019)
« Reply #9 on: April 06, 2019, 17:15:40 »
contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
Are you using city mapstyle? Check if contour lines are set.

Some observations:
- when using mapstyle menu and I'm changing mapstyle with Elevate and don't press the arrow top left/back button, but only touch the map, the mapstyle changes aren't applied (as it was before).
- probably known: zoom level/magnificaction can't be switched on when touching the map scale
- Edit: very much improved rendering of mapsforge maps at higher ppis, thanks to larger tile sizes; theme renders pretty much as intended, although not the same scale as in Cruiser or OruxMaps
« Last Edit: April 06, 2019, 17:23:24 by Tobias »
developer of Elevate mapstyle for OpenAndroMaps
 

Offline lor74cas

  • Padavan of Locus
  • ***
  • Posts: 271
  • Thanked: 17 times
    • View Profile
  • Device: Samsung A5 2017
Re: Update of map core (2019)
« Reply #10 on: April 06, 2019, 17:51:58 »
contour lines not present on a map v4 elevate theme 4 but the shadows are correctly represented
Are you using city mapstyle? Check if contour lines are set.

Some observations:
- when using mapstyle menu and I'm changing mapstyle with Elevate and don't press the arrow top left/back button, but only touch the map, the mapstyle changes aren't applied (as it was before).
- probably known: zoom level/magnificaction can't be switched on when touching the map scale
- Edit: very much improved rendering of mapsforge maps at higher ppis, thanks to larger tile sizes; theme renders pretty much as intended, although not the same scale as in Cruiser or OruxMaps

No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
« Last Edit: April 06, 2019, 17:54:30 by lor74cas »
 

Offline Tobias

  • Apprentice of Locus
  • **
  • Posts: 100
  • Thanked: 13 times
    • View Profile
    • Elevate themes
Re: Update of map core (2019)
« Reply #11 on: April 06, 2019, 19:32:00 »
No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
Are you using an OpenAndroMap V4?
developer of Elevate mapstyle for OpenAndroMaps
 

Offline john_percy

  • Master of Locus
  • ****
  • Posts: 698
  • Thanked: 96 times
    • View Profile
  • Device: MotoG
Re: Update of map core (2019)
« Reply #12 on: April 06, 2019, 20:00:35 »
It may be resolution-related. For me, items including contour lines only appear in MF V4 maps at (apparently) higher zoom levels than expected. I think that this is supposed to be to do with making the display resolution-independent but I don't understand it or like it.
Also, I get each map appearing twice in Smart Choice Maps.


Sent from my moto g(6) plus using Tapatalk
« Last Edit: April 07, 2019, 00:07:19 by john_percy »
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 694
  • Thanked: 24 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: Update of map core (2019)
« Reply #13 on: April 06, 2019, 23:42:36 »
  • Switching between Tasmania LoMap & OpenAndoMap maps; once crashed but not since. Can't reproduce yet.
  • contours look good to me (in appropriate themes)
  • shading is not working at all
  • on tablet in portrait & landscape modes the left side theme panel/settings are not fully displayed - see attached - these screen caps are not truncated - this is what I see on the left side
  • I'm not a map power user, but otherwise looks good to me so far
 

Offline lor74cas

  • Padavan of Locus
  • ***
  • Posts: 271
  • Thanked: 17 times
    • View Profile
  • Device: Samsung A5 2017
Re: Update of map core (2019)
« Reply #14 on: April 07, 2019, 07:57:15 »
No way, Elevate Hiking or City, flagged and unflagged contour lines no results.
I also used your suggested procedure using top left back button.
It's the same with elements theme.
I tried to switch from italian to english language to test if it was something related to, but nothing
Are you using an OpenAndroMap V4?
http://download.mapsforge.org/maps/v4/
Italy.map
And
Slovenja.map

Inviato dal mio SM-A520F utilizzando Tapatalk