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

Off the top of my head here are some of the key differences, I'll list things that are unique to oam/lomap v4 when using my new OS Map theme (not yet released):

OS crag data (GB map only)
10m contours (LoMap is 20m)
Peak Dist
to prioritise biggest peaks appear first.
natural=mud (mapped to wetland)
Embankments on highways (roads, paths etc)
Cuttings on highways (roads, paths etc)
Covered reservoirs
Underground parking
Preserved railways
Disused railways
Water wells
Location=Overground for pipelines

LoMap v4
Public Rights Of Way (UK, Designation tag)
Separated ways for hike/bike routes
Full hike/bike route names
location=Underground for pipelines
Historic battlefield
Additional bridge categories

If only we could gave a map that combined a these items, it would be the best map ever, for me.

Items in bold are essential items for me and the OS map theme. I really really miss not having PROW (designation) on OAM and I really really would like to see OS crags and 10m contours on LoMaps.

It is possible to overlay both maps together to almost get the perfect map, but this is a bit slow and duplicates contours and some of the names in different positions.
Quote from: Menion on October 05, 2023, 10:40:12There are quite a lot of possibilities regards how the link to a map legend may be defined.

Could you please share with me a theme with PDF legends that does not work for you as expected? Thanks!

Thanks Memion, I've uploaded a draft of the latest v4 OS Map theme to here:

OS Map v4

There are 4 theme files, day/night themes for v3/v4 maps. There are lnk files for these that point to common/shared day/night legend pdf files.

I've got the maps and themes located on external sd card: /storage/6366-3530/Android/media/

Which seems to work smoothly for me... except loading the legend gives the attached error. This used to work when I last checked (probably last year). Error is occurring in both LM4 and Classic versions.

Thanks for helping.

Note:This isn't the final release of the theme (still working on the legend files).
My OS Map theme is close to release, just got to complete the legend files.

I found an issue with using .lnk files, it won't load .pdf files unless they have the same name as the theme.xml, I get a toaster message "Invalid value: <content of .lnk file>".

Any ideas? I'm using the .lnk file to point each theme to the common pdf legend.

@voldapet, I'm happy for the theme to be loaded up to the Locus store (when ready)... is there anything special I should worry about in the theme/zip to enable this?
Wishlist / Re: Map legend shortcut vor vector maps
October 03, 2023, 15:23:42
Quote from: karlchick on June 02, 2020, 14:27:21I've worked out that I can use a .lnk file to map multiple theme files to the same pdf legend file:
  • my_theme_v3.xml
  • my_theme_v4.xml
  • my_theme_legend.pdf
  • my_theme_v3.lnk = "mapsVector/_themes/my_theme/my_theme_legend.pdf"
  • my_theme_v4.lnk = "mapsVector/_themes/my_theme/my_theme_legend.pdf"
The above would allow to have a version of the theme for v3 maps and a version for v4 maps. But both use the same pdf legend file. (Which menion originally said was not possible...)

I've tested this and it works with the latest release of LM.

Question: Can I rely on this usage of a .lnk file (is this an intended usage)?

I'd like to know that this will remain in future releases of LM before I start to do anything time consuming with theme/legend files.

I've just tried accessing the theme legends for various themes, and it seems the only ones that work are:
  - PDF legend in the same directory as the theme.xml with the same name, e.g. Elevate.pdf
  - Webpage listed in theme.lnk.

what doesn't work are any PDF legends pointed to by the theme.lnk with a different name. I've tried the above "mapsVector/_themes/my_theme/my_theme_legend.pdf" and also no path i.e. "my_theme_legend.pdf", both result in a toaster message flashing up saying "Invalid value: <content of .lnk file>".

has something changed? Can I no longer map several themes to the same/single PDF legend?
Hi luxacalor,

I guess you mean the the screenshots of my latest draft of the lomap/oam v4 map theme.

It is pretty close to release now, just working on the pdf legends and final few fixes to the theme.

I was going to update the v3 theme to match, but with the v4 lomaps out now and the difficulty of doing this with less tags available and lack of time on my part, I think I'll leave the v3 map theme stay unchanged.

There is one thing I can't get to work on my phone, using zipped themes. Should work as I have latest Locusmap and android 11...

Watch this space for the new release.
Other features / Re: LoMaps + MapsForge V4
August 13, 2023, 21:53:04
Another issue found with v4 lomaps, natural=mud is listed in the tag mapping, but not appearing in the map, see attached.

Also, note that leisure=nature_reserve is not displayed either when the area is also tagged with boundary=protected_area.
Other features / Re: LoMaps + MapsForge V4
August 13, 2023, 21:09:05
Would be possible to add railway=miniature to v4 LpMaps?

Attached shows it missing for LoMap v4 and visible on OAM.
Other features / Re: LoMaps + MapsForge V4
June 08, 2023, 18:43:59
Another request... I'm finding it difficult to view the regional cycle networks when zoomed out, ie, get a feel for where they are and which link up with which.

This is because rcn they appear from zoom level 12, but I want to zoom out further.

OAM have rcn routes appear from 10, and this seems to work much better, see attached comparison image. Second image shows best view possible currently with LoMap by zooming out at level 12.
Other features / Re: LoMaps + MapsForge V4
June 04, 2023, 12:33:34
Found another issue, I think... it looks like that tag lm_highway does not include all the tags that highway has? 

I'm using lm_highway with routes and designation, since routes are not tied to highways.

At the moment, I can't tell when a route is attached to a highway that has restrictions tagged through the designation tag. 

E.g. attached 1st image shows a route that follows a section of track and footway that is designation=unclassified_highway, highlighted red,  for these cases OS maps display just green dots instead of green dashes, see first image.

The second image shows what I want to display, using highway but this is not linked to route, so this affects footpaths with routes and no designation, see right side of second image...

BTW, the highlight colours used for designations here match the colours used for uk signage on PROW:
  - Yellow = footpath
  - Blue = Bridleway
  - Purple - Restricted byway
  - Red - Other routes / BOAT

Does lm_highway inherit all tags from the associated highway tag?

If not,  can designation tag be added to lm_highway?

Fyi, here is the theme code I'm trying to use in these cases:

<rule e="way" k="route" v="foot|hiking"
  <rule e="way" k="network" v="iwn|nwn|rwn|lwn|uwn">
      <rule e="way" k="lm_highway" v="footway|path|pedestrian|track|bridleway|cycleway|service" >
        <rule e="way" k="designation" v="~"> <!-- designation ways drawn elsewhere -->
            <!-- Draw footpaths -->
Other features / Re: LoMaps + MapsForge V4
June 03, 2023, 17:11:32
Just spotted that cutting tag is not supported, is this possible to include?

Attached shows latest lomap v4 vs oam, getting alot closer to OS map now with the usage of the designation tag.  Note that green lane is missing the cutting in lomap.

I do also miss the increased number of contours of oam maps still... and, of course, the inclusion if OS crag data 😉.
Other features / Re: LoMaps + MapsForge V4
May 14, 2023, 11:43:04

Point 13
Would it be possible to include service tag values for highways? Seems only service values for railways are included.

This would allow lesser important service roads to be drawn thinner and less distracting, attached is a comparison of lomap vs oam. On lomap the car parks are very prominent as the parking aisles are drawn as service roads.
Other features / Re: LoMaps + MapsForge V4
May 08, 2023, 10:56:05

I just realised that updated maps and tagmapping files are available in GitHub, thank you, very much appreciated.

I've started work on theming the designation tags, and realised we missed out one of the important values:


Not a very self explanatory value! But this equates to routes that would be indicated on OS maps as "Other route with public access", i.e. green dots.

Please can you add this value to the Lomap v4 maps too?
Other features / Re: LoMaps + MapsForge V4
April 28, 2023, 18:07:09
Regarding region 1, I don't want to use transparency for water, and don't for OAM maps.  Surely I should be able to draw above the water a tunnel using tunnel=yes, but this doesn't seem to work for LoMap v4 maps, see attached.

Also the cycle circles are incorrectl being drawn on water by matching tunnel="~|no" biut there are no other tags with value "no" involved in my theme for the cycle circles..  it's almost like the tunnel=yes is missing...

Checking other tunnels, all if them render as though missing tunnel=yes.
Quote from: Andrew Heard on April 07, 2023, 00:10:09
Quote from: karlchick on April 06, 2023, 09:25:00You can see some of examples of latest theme
yes I have been following that thread - excellent work; but just to confirm, my 2021-02-16 OS Map theme is currently the latest right?

Yes that was the latest version I published, wow over two years ago... been busy with family and work so not had much time spare.  But I have recently been improving the OS theme especially with some of the OAM map requests Christian implemented for me, and then along comes v4 LoMap maps, so exciting!
Quote from: Andrew Heard on April 06, 2023, 01:53:38Karl - what is the latest version of your wonderful theme & where can I download it? Page #1 still has 25/2/2021.

Hi Andrew, I finished the v4 OS Map theme back in Feb, and was going to release it with the old v3 theme not updated... but then along came v4 LoMap maps...

I've been working to making the v4 theme work for all v4/v5 OAM maps and the v4 LoMap maps, getting close now, just waiting for the latest LoMap beta maps with designation tags included so we can finally show UK public rights of ways just like OS maps do...

Given that v3 maps are being consigned to history, I'm thinking of not trying to update the v3 theme anymore - the v3 maps are missing tags that have been added to v4/v5 maps.

You can see some of examples of latest theme in the thread about the v4 LoMap maps: