Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - karlchick

#121
The theme works fine with all versions of LM. You have to "install" manually, as per instructions in the forum/help.

The current public releases of OS Map theme work with lomaps and openandromaps versions v3 (discontinued) and v4. They will also largely work with v5 OAM, mainly the hike/bike routes names are affected.

I will be releasing an update to fix these issues and add some additional improvements, but not ready for public release yet.
#122
Quote from: twoten on January 17, 2022, 11:32:37
If I use the dynamic setting the beer glass symbol displays as I wanted but when zooming ok the map doesn't display the "PH" abbreviation. If I set the map to just 1:50k the PH displays when zoomed in but again, not, when zoomed out to1:50k.

Yes, this is because all elements in the map only appear at a predefined zoom level and not before. This will depend on the map creator and the settings they used. For example with the latest OAM v5 maps bars and pubs appear at zoom level 17. They will disappear at zoom level 16 and lower, regardless of what the theme is defined to do.

You can usually find a file called tagmapping.xml where you download your maps from and this defines the "rules" for when certain items will be visible. The theme can also restrict when they appear too. Here is the entries for OAM v5 tagmapping.xml that affect the pub symbols in OS map theme:
   <osm-tag key='amenity' value='pub' zoom-appear='17' />
   <osm-tag key='amenity' value='bar' zoom-appear='17' />

For OS-Dynamic, the map theme uses the following zoom levels for both styles:
   - OS-50k for Z15 and below
   - OS-25K for Z16 and above

So what you have observed seems correct, if a bit annoying.
Personally I would like pubs to be visible much earlier. They appear at Z16 in LoMaps...
Hope that helps.
#123
As John kindly pointed out quicker than me, there are three overlay themes in both day and night themes, one for 25k, 50k and dynamic - which you have discovered will change automatically to 50k as you zoom out to Z15 and back to 25k as you zoom in to Z16.

I am working on an update to improve v5 OAM map support, e.g. route names need update  It is looking like I can keep v4 and v5 map theme in one file so far... also some improvements to the diamonds on walking routes to make them less intrusive and spaced more similar to OS maps.

I'm also thinking about adding all the missing non-OS amenities, e.g. shops, cafes etc as a non-OS amenities option...
#124
I'm also getting LMP crashes sometimes when I open the themes to select a theme, maybe once in every 12 accesses...
#125
Yes that should work, so long as they remain PNG's with masks.

I have a feeling that I could provide different directories with different dpi's for this reason... but I don't understand the manual on this:

https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:icons
#126
Themes - Vector maps / Re: Editing theme in desktop
January 06, 2022, 12:40:57
Quote from: tapio on January 04, 2022, 16:17:38
Guys I just remembered RouteConverter can show OSM maps and themes. I've just checked OAM v5 and Voluntary theme, it works, see lovely screenshot. Seems like a good way to test themes.

Thanks for this, I tried it and it works (no install too). Only issue is that it ignores categories and displays all overlay options in the theme - which can make for a rather cluttered display. Does anyone know if the app can apply/select overlays/categories?
#127
Cursors / Icons / Voices / [CURSORS] Circle cursors
January 05, 2022, 12:52:38
I created this cursor and having been using it for many years. I thought perhaps others might like to use it, so here it is.

the symbols used are:
  - empty red circle when stationary and your position is based on network signal.
  - red circle with small inner circle when stationary and your GPS position is locked.
  - red circle with rotating arrow when you are moving.
  - red cross when you scroll away from your position.
  - simple red/white compass symbol.
  - darkened/smoked field of view overlay is used for the show view option.

See attached preview (note blue dashed outlines are not displayed, just the size/edges of the images).
#128
Oh, I see, you mean accessing a legend in a zipped theme...

It would seem that making the path relative to the theme's xml file would make sense. Is the zipped theme unzipped in a local cache somewhere when in use?
#129
Quote from: michaelbechtold on December 24, 2021, 15:05:31
@Menion: I saw there are relative paths in the lnk files. But pls.: what exactly does relative mean in a ZIP file that is in _themes folder of Locus base?
Thank you

My lnk files are working relative the Locus directory that contains the mapsVector directory. For my OS theme:

mapsVector/_themes/OS Map/OS Map Day Legend.pdf

Note I have the lnk files located in the same directory as the theme xml files.

Karl.
#130
Other features / Re: Android 11+, changes
December 14, 2021, 16:04:44
Quote from: michaelbechtold on December 14, 2021, 11:49:42
I understood from earlier posts that the access to EXT SD content is less efficient

What I do not understand is that I haven't changed anything. Locus Map was working with everything located in \ExtSD\Locus\mapsVector (maps and themes) and all that has changed is that now all those files are located in \ExtSD\Android\data\menion.android.locus\files\Locus\mapsVector.

Why should moving and using the exact same files from one location in ExtSD to another make such a difference to the performance? LM3 is still using the \ExtSD\Locus folder and performing as expected. I've seen others complain about the performed on LM3 after the relocation of files...

I guess I can't move the files back to \ExtSD\Locus since this is now marked as not allowed in the app... besides I will eventually hit a problem when I need to add new maps or uninstall/re-install the app...
#131
Other features / Re: Android 11+, changes
December 14, 2021, 10:58:00
Well I tried Michael's suggestions:

  • moving the themes to IntSD in private folder (while custom folders still point to ExtSD, did not work. Even worse it took ~120 secs with a blank screen on loading, and there was only the internal theme available.
  • I notice there were an empty set of Locus folders in IntSD\Locus\ etc, tried moving them there, say result
  • Lastly I moved them back to the ExSD\android\data\men... folder and then it returned to the slow loading of about 20secs (~10-15 of blank screen) and still very slow to use...

So.. still looking for a solution/improvement.

I really don;t understand why LM4 was working fine using everything on ExtSD before the Android 11 relocation thing, and now is really sluggish? I sometimes get a pause and the android OS kicks in and asks if I want to close or wait for locus map... never did this before moving the data to private folder...
#132
Other features / Re: Android 11+, changes
December 13, 2021, 20:20:09
Hmm... I'm experiencing very slow performance access from lm4 after relocating all my maps/themes etc from their ext_sd root folder you
To their own lm4 ext_sd private folder. Lm4 takes along time to load now with a blank screen for 15-25secs, opening the themes menu is slower and drawing the maps is significantly slower, to point that I would consider it almost unusable.

I kept a copy of the files and restored them after the move, since lm3 is still using them in the root directory. Lm3 is still running fine and snappy, no delays loading or using themes menu.

I was going to uninstall lm3, since I don't want two copies of my maps, and lm4 was looking OK, until now. Now I find using lm3 more of a joy...

Is there a known issue for this performance hit? I don't want to put all my maps on internal memory as they are over 32gb.
#133
Hmm... I'm using the following rule to display a track as gravel:

<rule e="way" k="highway" v="track">
    <rule e="way" k="tracktype|surface" v="grade3|gravel">

I'm not sure now why a picked grade3 for gravel, whe osm states grade2... but it was tailored for v4 OAM... see earlier post with key for the mapping...

Perhaps I should not interpret the tracktypes like this? I think the grades a more a scale of track condition...perhaps I should include grades in the map legend too, e.g gravel or grade3... (Update, just noticed I never added the surfaces to the legend!)


Regarding the .eu maps, I think they use a different tag mapping from OAM, hence they provide their own rendering theme, this is obvious when you compare:
  - v4 Oam, os map v4
  - v3 Oam, os map v3
  - v3 eu, os map v3
  - v3 Oam, openmaps v7 
  - v3 eu, openmaps v7
Attached are matching screenshot.

You can see how the openmap v7 theme really struggles to render the v3 oam.... clearly the tag mapping is significantly different, this is fixed at time of creation of the map.

I would recommend either sticking with using the eu map with the openmap v7 theme, or switching to v4 oam maps if you wish to use one of the many oam themes.
#134
Hmm... I've tested the theme on both lomaps and openandromaps v3 and v4, they all work as expected. Admittedly these are all uk maps. My main thought is that perhaps what is being displayed is what is defined in the map data?

You can configure a quick bookmark to open openstreetmap at the same location and check what is defined for the track in question.  E.g. does it have surface=gravel or tracktype=grade3?
#135
Locus Map / Re: [APP] - version 4.4.+ ( 23. 9. 2021+ )
September 26, 2021, 01:24:17
I like the new diatance markers, but when I tried them I got a markers at roughly double the diatance of the previous marker. I'm using imperial units, if I switch to metric units it works as expected. See attached metric vs imperial distance markers.

Ps: would be good to have imperial markers every mile rather than conversions of 1 km to miles...