[Theme] OS Map

Started by karlchick, May 29, 2020, 17:45:48

0 Members and 17 Guests are viewing this topic.

Lettm

Well done for working out the problem - I couldn't!  Clearly VTM shows promise but does not seem to be stable. Understand you not wanting to publish an update to your theme based on this - I'll try and make the change you have highlighted to my local copy.
  •  

karlchick

#121
@lettm, attached is a hacked version of the day time theme file, I only fixed the area commands for 25k option. Saves you doing it all again.

I just added it to the "OS Map.zip" and selected "OS Map Test" from the theme selection.

I'm wondering if the dash array issues can be fixed by emux, otherwise a much more effort way would be to create a MF / VTM overlay option and adjust the sdash array numbers to suit VTM... maybe...
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  

Lettm

Many thanks karlchick.  Great to see it working.  Think I agree we should leave vtm off until they've improved it. Doesn't seem right that a working theme should have issues only visible in their new viewer.
  •  

karlchick

I can see the same issues in tapiola and voluntary themes too, dashes are too short, too many symbols shown without priority used, overlapping areas deleted, lack of dy offsets.
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  

karlchick

Had a play with the VTM dash array values, got most of them working-ish (again only 25k).

Finding lack of support for round and square linecaps a pain, and it seems dash array values are not comparable between lines of different widths.

Also, when multiple ways follow the same coordinates, the dash arrays don't always line up, e.g. route on a path.

@lettm, attached is the hacked theme file. If you wish to try it out.
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  

Lettm

Thank you - that looks really good! this is probably the effect you mention - I'm seeing thick lines for cliffs and a few footpaths.  Ill try and attach an screenshot...

  •  

twoten

What is the difference and advantage of VTM (when it works)?
  •  

karlchick

Quote from: twoten on December 28, 2023, 19:37:03What is the difference and advantage of VTM (when it works)?

Symbols and names rotate with the map, see attached.

I think VTM also supports 3D mapping, like on a satnav... if the app supports it...
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  
    The following users thanked this post: twoten

karlchick

#128
Quote from: Lettm on December 28, 2023, 18:45:43Thank you - that looks really good! this is probably the effect you mention - I'm seeing thick lines for cliffs and a few footpaths.  Ill try and attach an screenshot...

Strange, I don't get that with OAM map.

Are you using a different map?

Did you add the xml theme file into the os map.zip file, in the same directory as the other xml theme files?
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  

Lettm

Apologies.  I cheated - just copied the xml into mapstyles folder.  It appeared in the oruxmap app so I thought that was all I needed to do. 

All good now.   Brilliant in fact!
  •  

karlchick

#130
@lettm, seems you intend to use it as is, would be good if you can let me know if you think it is usable in this form after some field use.

I will fix the bugs we found and area outline issues in the original OS theme, then it will be ready for VTM, if they fix the other issues.

In the short term, it would be quite simple to have a script that converts the released day/night OS theme files to VTM, mostly by multiplying the dash array values by 4.

I did manually tweak the power lines a bit, not very well. I think it possible to redo the power lines using line symbols, maybe....
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload
  •  

Andrew Heard

#131
@karlchick - suggestion - given your theme can be for cyclists, optionally display bike parking as POI? Attached is map around OSM node https://www.openstreetmap.org/node/6804728475. Maybe I have missed a theme setting - see attached map with your theme - there is a red "P" inside a red square but it is not quite in the correct location? Online LM route planner correctly displays the bike park @ https://web.locusmap.app/en/?lat=-42.883736&lng=147.333798&z=19&map=hikeBike (although it is tiny, nearly invisible), as does online bikerouter @ https://brouter.m11n.de/#map=19/-42.88322/147.33309/standard.
LM4.24.3.4 GOLD user ID:c7d47597a
  •  

karlchick

#132
As far as a I know, amenity=bicycle_parking tags are not available in either LoMap or OAM maps.

I suspect the Web-based router planners are using OSM map data directly and so show all available tags on the map rendering.

BTW the red P symbol in my theme represents private parking
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload

Andrew Heard

#133
Thanks for checking karl.

see https://forum.locusmap.eu/index.php?topic=8518.msg74298#msg74298

Yes, it sadly appears not possible. I understand the OAM logic in some enlightened western European cities but not sure it applies in other less fortunate places. Where I live, getting any bike-hoop added is always celebrated as a minor win for cyclists.
LM4.24.3.4 GOLD user ID:c7d47597a
  •  

karlchick

We can always ask Voldapet and Christian if they would add bicycle parking to the maps. I think OAM would as they promote using OAM for hiking and cycling.
User id: 62b600722
Author of the OS Map Theme:
DiscussDownload