The OS Map theme tries to emulate the Ordnance Survey 1:25k and 1:50k map styles as closely as is possible within the constraints of Locus Map and data provided by the vector maps. It should work with both LoMap and OAM maps (v3 and v4). I must give credit to John Campbell for his Voluntary UK theme that I used as a starting point (v. 190101).
The OS Map theme also provides a darker variation of OS style of map designed for use at night-time to help avoid spoiling night-vision whilst keeping a recognizably Ordnance Survey style of map.
The theme now consists of four main theme files, day/night for v3 maps and day/night for v4 maps. There are two PDF map legends, one for day and one night.
Here is a comparison of the same map rendered with: Internal Theme, Voluntary UK, OS Style and my new 4 OS map styles:
(https://sites.google.com/site/chicknet/images/OS_Map_ThemePreviews.jpg)
SCROLL TO VIEW THE COMPARISONS >>>>
Here are the list of all the changes made for each release:
v20200427
Initial release for v3 maps only
v20200529
Added v4 map support
Added option to highlight toll roads (default is not highlighted). Highlight means orange outline and orange dots as you zoom in.
Added option to set OS style roads names (pathtext) for countires that are left hand traffic or right hand traffic. This is only applicable to dual carriage ways.
Added drawing of footpaths and bridleways that are on dashed track/service roads.
Added thicker dashed 1:50k style for airport runways (was using thinner 1:25k for 1:50k before)
Added defibrillator symbol (non OS symbols)
Added OS text symbols for: Libraries, Shelters, Cairns, Caves, Adits [Mines, Mines (dis)], Waterfalls (Falls in blue)
Added library buildings to list of important building, i.e bolder outlines.
Added place markers for towns/cities (similar to Elevate theme) at low zoom levels (e.g. 5-7).
Added support for sizing of town/city names based on population density (popcat)
Changed borders (admin_level) to improve support for non-UK counties by grouping togther Parishes=9/10, Districts=7/8, Counties=5/6, National=2/3/4
Changed pharmacy amenity symbol to also include chemist shops (non OS symbols).
Changed order of options, putting least changed options towards bottom of list.
Changed embankments to draw at a higher level priority to avoid them being overdrawn by water ways and residential areas.
Changed footbridges to draw at a higher level priority to avoid them being overdrawn by water ways.
Changed tunnels to use smaller dashes for better match OS map style.
Changed 1:50k trunk_link and motorway_link roads to use correct/matching outline widths on bridges.
Changed highway labels at zoom levels 7-12 to use captions instead of pathtext for OS labels
Changed priorities of several symbols to improve visibility of churches, information and museums at lower zoom levels.
Changed car parks at lower zoom levels (upto zoom 15) to only show ~|destination|customers|public car parks.
Changed hill name sizes slightly larger
Changed (corrected) selection of national hiking routes to only include iwn|nwn, i.e. remove rwn|lwn|uwn.
Changed (corrected) selection of national cycling routes to only include icn|ncn, i.e. remove rcn|lcn|ucn.
Changed (corrected) wells so they now get displayed.
Changed doctors captions from red to black text.
Changed v3 theme place names to match/harmonise to style used on v4 theme.
Removed tourism brown dashed ways accidentally left in from donor theme (UK Voluntary)
Removed access cross hatchings on footpaths accidentally left in from donor theme (UK Voluntary)
Removed surface dashes on 'white' roads accidentally left in from donor theme (UK Voluntary) - If this is going to be in the theme then I need to think about how to do it in an OS style way...
v20200530
Fixed validation errors (one was a real issue in V4 theme for railway stations at zoom 13, rest were technical errors but not impacting display of maps).
v20200607
Split v3 and v4 theme files into separate day and night theme files so they can have different map=background tags, different PDF legends and increase performance.
Added night mode symbols for transmitters, windmills, wind turbines, lighthouses, ruins/archaeological, battlefields, telephones, helipads, bollards.
Added night mode PDF legend.
Added four .lnk files to map the two PDF legends to relevant four theme files.
Changed priority of cemetery symbol lower than church symbol.
Changed night mode track core colour to match service/residential roads.
Changed night mode tunnels to use own night equivalent of day tunnel colours.
Changed night mode steps to look similar to day time steps and less like a ladder.
Changed night mode turning circles and passing places to be more visible.
Changed area ways for residential roads to match residential road outlines for all map themes.
Changed AED, playground and shooting symbols to remove white outline/background to match other symbols.
Changed 50k toilet symbol to fix errors in tiny-svg rendering.
v20210103
Added cycle lanes and cycle tracks with display option "cycle lanes/tracks".
Added option to hide hiking route diamonds.
Added option to hide cycling route circles.
Changed emphasise hiking routes to highlight routes with route label from zoom level 7 to 14, 15 upwards as before.
Changed emphasise cycling routes to highlight routes with route label from zoom level 7 to 14, 15 upwards as before.
Changed emphasise hiking routes highlight colours, green for national and yellow for local.
Changed emphasise cycling routes highlight colours, red for national and blue for local.
Changed (renamed) option "left/right hand traffic road labels" to "drive on the left/right side" as this option now also affects oneway cycle lanes/tracks.
v20210210
Added captions for beaches, mud flats and sand banks.
Added captions for fells.
Added customer and private parking symbols.
Added cutlines (in woods/forests)
Added ditches that are barriers.
Added earth banks using typical OS slope pattern.
Added emphasise cycle lanes/tracks options using purple highlight colour.
Added gullies, rendered as OS cutting pattern.
Added hedges as a non-os option.
Added military bunkers (active and dis-used) symbols.
Added post boxes with red circle for left hand traffic and yellow square for right hand traffic - symbols to match the typical post box shape/colour used in LHT/RHT countries.
Added public artwork symbol.
Added town hall as an important building (bolder outline of building).
Added town hall symbol.
Changed abandoned/disused railways to render before rivers.
Changed climbing symbol to be larger.
Changed embankments for footpaths to be narrower.
Changed grade1 tracks to be thinner and matching the rest of the tracks.
Changed many railway/highway tunnels to render as transparent dashed outlines.
Changed OS 50k cycleways (single black dashes) to appear sooner from Z14.
Changed piers and walls to render after waterways to avoid being hidden by waterway areas.
Changed tidalflats that are hidden under water areas to be visible.
Changed waterways (in a major way), now they are all rendered as casings first and then as cores to avoid blue lines where they join.
Removed erroneous rendering of "water_park" as water, this was an incorrect understanding of its purpose (thanks John Percy for the hint).
v20200216
Added "dash unsealed roads" overlay option to give unsealed roads a dashed outline/casing.
Added "road surface/grade textures" overlay option to give unsealed roads a texture pattern that represents the type of surface, from Z14 onwards.
Added "emphasise road surface/grade textures" overlay option to highlight roads surfaces at lower zoom levels, from Z12 onwards.
From v20210216 onwards the theme now supports road surfaces and sealed/unsealed roads:
(https://sites.google.com/site/chicknet/images/road%20and%20track%20surfaces.jpg)
The theme ZIP files and PDF legends are too large to attached to this post (limit of 2MB) so, I am now releasing everything via a shared google drive folder:
OS Map Theme Releases (https://drive.google.com/drive/folders/1MKwvw2mZs7vD9TS7feRUOgH_Aysos5uf?usp=sharing)
Link to latest release:
OS Map v20210216.zip (https://bit.ly/3jXevU2)
Links to the latest OS Map Legends:
OS Map Day Legend (https://drive.google.com/file/d/11B0nQ7NNyqLIyLF6A8Dm2nSG-B_LSbKo/view?usp=sharing)
OS Map Night Legend (https://drive.google.com/file/d/1qfZCoWGNNgMzi9YkJ_wMKvXS8IDlet1S/view?usp=sharing)
Install in the usual way of unzipping in Locus Map's _theme folder, e.g.:
\<root>\Android\data\menion.android.locus.pro\files\Locus\mapsVector\_themes
If you have already started using the earlier OS Map theme version then you probably should delete it before installing this updated version as it uses the same theme folder called "OS Map" but now uses four different named theme files - to cover day/night themes for v3/v4 maps.
Note that the legends are now included in the theme and can now be viewed directly from the theme menu in LM 3.46+ via a long press of the theme icon, see attached screenshot.
I have installed the recent theme update, after adviced deletion of the 1st version. It works fine as far as I can tell for V4 maps.
But when I long tap the OS Map V4 theme icon in the theme list of LM4 beta and press validate, it shows a list of missing files in os_res/SVG and os_res/patterns subfolders.
Missing theme files often lead to a tile drawing failure, if it happens there is a POI or pattern with such a missing file.
Sent from my Xiaomi MI A2 / Android 10, via Tapatalk
Quote from: poutnikl on May 30, 2020, 17:30:24But when I long tap the OS Map V4 theme icon in the theme list of LM4 beta and press validate, it shows a list of missing files in os_res/SVG and os_res/patterns subfolders.
Missing theme files often lead to a tile drawing failure, if it happens there is a POI or pattern with such a missing file.
Thanks for heads up, I didn't know you can validate a theme like that.
Note that I have now fixed all the validation errors in release v20200530 onwards.
Looks very good. I'm impressed. I did some work on an OS emulation and I recognise the work it takes!
Sent from my moto g(6) plus using Tapatalk
New release now available v20200607.
i have updated the first post with the latest release notes and links. I'm now using google drive to release the theme in a shared folder that contains all the releases and the PDF legends.
Mainly improvements for the night themes, additional of a night map legend and a major change of splitting the themes into four theme files:
- OS Map V3 Day
- OS Map V3 Night
- OS Map V4 Day
- OS Map V4 Night
This supports using different PDF legends and different "map-background" tag values for day/night themes.
Attached is the new OS Map Night Legend for reference, seems the 2MB attachment limit is per post.
i would be interested in feedback on the PDF legends in use out in the field... are they usable/readable..? I find I have to zoom in and scroll about to read them. I thought about creating very long thin legend that fills the screen width with something easier to read (larger graphics/text) and only requires scrolling up/down... but would require a lot of scrolling to get towards the bottom...
Question for current users of this theme. By default the theme comes with all the optional non OS extras deselected, i.e. :
- highlight toll roads
- non OS symbols
- non OS road furniture
this is so the theme provides a standard OS look and feel by default, however, I always re-select these options, but I have to do it for each style/card in each theme file, this is a total of 3*4 = 12 places it they have to changed, which is 36 check boxes in total. I know it is a set and forget one time operation, unless the theme's xml files gets renamed (which they did in the last few updates...).
Q1: Do you think I should set the non-OS optional layers as selected by default?
i.e. you have to opt out of the extra symbols rather than opt in.
Q2: I am wondering if you would like to have the option of downloading one of two preset theme zips, one set up for LHT (Left handed traffic countries) and the other one for RHT (right handed traffic countries)?
currently affects only the labelling of dual carriage way roads.
Would it still be possible to adjust the display of special cycle paths? I enclose a comparison of views in the topic of PAWS and OS Map. With OS Map, the bike path is not visible at all until the scale changes. At the same time, this is one of the most important data for cycling.
E.g. for V4 maps and Elevate/Cycling theme, international cycle routes are are at zoom levels 7(8 for national) -11 even more prominent than motorways, for zooms 12+ they are comparable.
OTOH, I understand the OS MAP theme is the theme for mimicking OS MAP, with the added value to display cycle routes, so not really a cycling focused theme.
(https://uploads.tapatalk-cdn.com/20200609/eec75977951aaca097175e8e967f04be.jpg)(https://uploads.tapatalk-cdn.com/20200609/797e7f266f0a525afd6d8a69d31679b6.jpg)
Sent from my Xiaomi MI A2 / Android 10, via Tapatalk
Good point about the highlighting of cycle routes (and hiking routes). There is the layer option to highlight (emphasise) the hiking and cycling routes, but I see that it is not as effective as Elevate theme.
I think the existing highlight colours used in OS map theme are a bit difficult to see, see attached for comparison (note this includes a quick hack to make cycle path highlight appear from zoom level 7)
This highlighting is already a non-OS add on, so I see no reason not to change/customise it to be more useful.
I like the way elevate works for highlighting routes, although find the number of colours used a little confusing (needs a PDF legend, hint hint).
I'm thinking of highlighting using just four different colours for both hiking and cycling routes from earliest zoom possible, i.e. the following:
- national cycle routes (icn|ncn) --> Red to match OS symbol colour
- local cycle routes (rcn|lcn|ucn) --> Blue to match OS symbol colour
- national hiking routes (iwn|nwn|rwn) --> Yellow/Orange to match UK route markers...?
- local hiking routes (lwn|uwn) --> Green???
These are the groupings already used to match the OS map definitions of national/local routes in the UK.
Displaying routes from the earliest zooms possible has the opposite problems. The regional + local route network can have such a density, that strong solid colours may visually hide the map by a cobweb of cycle routes.
You may have noticed from my screenshots, also refering to my prior Elevate them communication with @John Percy + few posts on OAM forum, that I use a modded Elevate theme for V3+V4 maps.
1/ It does not use original thick solid colours for regional/local routes for zoom (Z12-13 for V3, Z10-13 for V4), but replaces them by transparent colours and thinner lines, extrapolating it from Z14+ with emphasised route displaying. ( Rather a quick and dirty theme reverse engineering attempt, but it works.)
2/ For V4 maps, it borrows with John's permission the route inline tagging from the Voluntary UK theme, as Elevate theme has difficulties to display the inline route tags dense enough for V4 maps.
3/ For V4 maps, I turned ON the tagging since zoom 10, as Voluntary had it originally from Z15, what is too late. John brought it later to Voluntary UK for Z12or13 after my objection, as route tagging is very important for distinguishing the routes.
I have added screenshots at Z10 + Z13, for the original + modded Elevate V4 theme ( Sorry for inferior Tapatalk downsizing ), plus zipped modded Elevate theme xml file (http://cloud.tapatalk.com/s/5ee06cff86602/ElevateLS2.zip)
Note that majority of hiking themes are not well usable in Czech Republic, as our superior waymarking system uses explicit waymarking colours red(long distance) , yellow, green, blue, mapped by OSMC tagging. It would be great, if the OSMC tagging could overrule the general OS Map hiking route colours,
(https://uploads.tapatalk-cdn.com/20200610/8dc59c592e86924f6d07f1c998c1449b.jpg)(https://uploads.tapatalk-cdn.com/20200610/3a4da0db351d2978c9685c37ed4002df.jpg)(https://uploads.tapatalk-cdn.com/20200610/4ff85ffa273884a2ae11d986359f00d9.jpg)(https://uploads.tapatalk-cdn.com/20200610/611fb3480b6498d5d617ea6d113d47d7.jpg)
Sent from my Xiaomi MI A2 / Android 10, via Tapatalk
Congrats, this one is a beauty, will use it and see how it works out.
Thanks for positive feedback everyone.
Just a quick note to that that I am currently working on improving cycle and hike highlighting of routes and am also considering adding in cycle lanes for roads (under non-OS road furniture layer).
Progress has current slowed down because I am very busy at work at the moment... I got the improved cycle route highlights working up to zoom level 7 for v3 maps. will need porting to v4.
I will also use be using two colours to highlight the difference between national/local cycle/hiking routes. I'm not going to split into interational/national/regional/urban/local colours for each as it is hard enough to find 4 highlight colours that work with the OS colour scheme!
Karl.
Hey, in the OS Map Day, there is a lot of FM - what is it, can we get rid of it? See attachment, map is OAM, Germany, Nordrhein-Westfalen.
Fm is the OS abbreviation for Farm
Sent from my moto g(6) plus using Tapatalk
Quote from: tapio on October 20, 2020, 14:24:26
Hey, in the OS Map Day, there is a lot of FM - what is it, can we get rid of it?
Hi Tapio, as John replied, the FM is the OS map symbol/abbreviation used to denote a Farm. There are many other abbreviations used on the OS map to denote many different things. They are all listed in the OS MAp Day Legend.pdf linked in the first post:
OS Map Day Legend (https://drive.google.com/file/d/11B0nQ7NNyqLIyLF6A8Dm2nSG-B_LSbKo/view?usp=sharing)
Attached is a screenshot of the abbreviation section.
So in answer to the question, no I don't think we should remove the Fm's (or the other abbreviations) as they are part of the OS map format.
If you really wanted to remove any of the maps symbols, then you could replace the corresponding SVG file with an empty SVG file I suppose, this would make them invisible on the displayed map theme then...
Thanks guys, sorry, missed your reply. I'll try to display it only at closer zooms or totally remove it. Farms are unimportant for me.
EDIT: increased min zoom from 14 to 17 in line 3147 of the day v4 xml.
New release now available v20210103.
i have updated the first post with the latest release notes and links. I'm now using google drive to release the theme in a shared folder that contains all the releases and the PDF legends.
Mainly improvements are made for:
- Improved hiking route emphasis/highlights, using green for iwn/nwn/rwn and yelllow for lwn/uwn
- Improved cycling route emphasis/highlights, using red for icn/ncn and blue for rcn/lcn/ucn
- Added cycle lanes and cycle tracks
Route emphasizes/highlights are visible from zoom level 7 (depending on when/what the map shows) and include a colour coded route label too. From zoom level 15 routes are as in previous version of the theme.
Attached are screenshots showing examples of new cycle lanes/tracks and improved route emphasizes/highlights.
The colours are picked to match the route labels used already. I decided the keep national walking routes with green and use yellow highlight for local walking routes.
Note, in the third screenshot you can see that, at low zoom levels, the ncn/nwn routes get a fainter highlight than icn/iwn so you can more easily pick out the international hiking/cycle network routes.
Thanks for this, much better for overlanding/offroading then the hike theme.
New release now available v20210210.
I have updated the first post with the latest release notes and links. I'm now using google drive to release the theme in a shared folder that contains all the releases and the PDF legends.
Mainly improvements are made for:
- Added new/missing elements: customer/private parking, forest cutlines, ditch barriers, earth banks, gullies, hedges, military bunkers, post boxes, public artworks, town halls
- Major improvement to rendering of all waterways (using casings/cores now)
- Made visible some elements that got hidden by water areas: piers, tidal-flats
- Added option to highlight cycle lanes/tracks - useful if you want to plan cycle routes using them
Many other small changes/fixed, see release notes for details.
Note that post boxes have alternative renderings based on if you set "drive on the left side" or "drive on the right side" overlay options:
- left side = red circles as most left hand side driving countries use round red post boxes.
- right side = yellow squares as most right hand side driving countries use square yellow post boxes.
NB: Remember that the default overlay options in the theme are set to hide non-OS symbols and road furniture. You'll need to switch these on to see them.
Hi Karl, I notice your theme doesn't distinguish between sealed & unsealed roads. Unfortunately very few Locus themes do, which seems odd as you'd think cyclists would be quite interested in the road surface. Bernard's Desert theme (www.maiwolf.de) is the best for this - his on LHS compared to yours on RHS. Voluntary is the only other one that shows any difference but it is very hard to discern.
for example in my screen cap: https://www.openstreetmap.org/edit#map=16/-42.5113/147.6427
compares surface=unpaved with surface=Asphalt
Hi Andrew,
Road Surface is something I have been thinking about a lot. What I haven't figured out is how to represent the road surfaces in a way that doesn't distract from the Ordinance Survey look and feel.
I want to implement something though... probably as an overlay option so OS purests can revert to OS map look/feel. Perhaps there is a way to apply patterns/PNGs to the road cores...
I'm also wondering if the grade1/2/3/4/5 of tracks needs to be represented somehow too... I know John introduced varying lengths of peck/dash to the casings...
Quote from: Andrew Heard on February 12, 2021, 01:46:57
Hi Karl, I notice your theme doesn't distinguish between sealed & unsealed roads.
Hi Andrew. You probably mean sealed & unsealed roads as highway=unclassified and higher, don't you ? The main probably is the most theme developers are from developed countries where is implied the default state sealed/paved. But when I was in Uganda in 2012, most secondaries and all tertiaries were rather like highway=track tracktype=grade5 surface=ground.
Quote from: karlchick on February 12, 2021, 09:06:51
I want to implement something though... probably as an overlay option
nice
Quote from: karlchick on February 12, 2021, 09:06:51
I'm also wondering if the grade1/2/3/4/5 of tracks needs to be represented somehow too... I know John introduced varying lengths of peck/dash to the casings...
personally I found the peck/dash too subtle to see but everyone will be different; even for the DesertV4 theme I have made my own modifications so unsealed roads are more visible at lower zooms - see attached
Quote from: poutnikl on February 12, 2021, 09:45:13
You probably mean sealed & unsealed roads as highway=unclassified and higher, don't you ?
for this specific example https://www.openstreetmap.org/edit#map=16/-42.5113/147.6427 feature type=secondary road, but I have had similar experiences in France where I've planned a day-route only to find mid-way the road becomes unsealed, and our cycling experience has gone from pleasant to very annoyed. Of course, this may have been due to incorrect OSM annotation rather than a theme issue; not something to analyze mid-trip.
In Czech Republic, it is not thinkable that secondaries or even tertiaries would be unsealed. Even if tertiaries may have low quality or broken asphalt.
Sent from my Xiaomi MI A2 / Android 10, via Tapatalk
I'm thinking about using some transparent PNG surface textures to overlay the road cores for "surface" and "tracktype", see attached (mock up in powerpoint).
Wondering what you think of this idea?
Quote from: poutnikl on February 13, 2021, 08:32:16
In Czech Republic, it is not thinkable that secondaries or even tertiaries would be unsealed. Even if tertiaries may have low quality or broken asphalt.
@poutnikl maybe so, but better not to be assumed when the app is used world-wide
Quote from: karlchick on February 13, 2021, 14:48:24
I'm thinking about using some transparent PNG surface textures to overlay the road cores for "surface" and "tracktype"
@karlchick on a PC screen the textures are subtle, so in my opinion will be quite hard to distinguish on a smaller Android screen. The "peck marks" used by John with the Voluntary theme are also too subtle (for me). I modified Bernard's Desert theme XML to make unsealed more evident; that is the great thing about XML compared to a binary format.
Quote from: Andrew Heard on February 14, 2021, 03:09:15
Quote from: poutnikl on February 13, 2021, 08:32:16
In Czech Republic, it is not thinkable that secondaries or even tertiaries would be unsealed. Even if tertiaries may have low quality or broken asphalt.
@poutnikl maybe so, but better not to be assumed when the app is used world-wide
Well, I do assume this your idea as well, in fact I have pointed that in context of default Brouter profiles long time ago.
Roads what would be here considered as secondaries are not sealed in Uganda. Many car roads in underdeveloped countries are unsealed. Even in developed countries, if supported by terrain, climate, area and inhabitant density.
Sent from my Xiaomi MI A2 / Android 10, via Tapatalk
Quote from: Andrew Heard on February 14, 2021, 03:09:15
@karlchick on a PC screen the textures are subtle, so in my opinion will be quite hard to distinguish on a smaller Android screen. The "peck marks" used by John with the Voluntary theme are also too subtle (for me). I modified Bernard's Desert theme XML to make unsealed more evident; that is the great thing about XML compared to a binary format.
I've prototyped the road surface textures in the OS map theme and do find it a bit too subtle at low zooms... I am trying different colours and textures and transparency to make them easier to see and differentiate.
At higher zooms it works very well. I am thinking of adding a emphasise road surfaces/grades option to allow easier route planning at low zooms... probably colour coded to the quality of the road surface somehow.
BTW, I am implementing surface textures for cycleways, tracks and all roads except motorways. I have found a few examples of unclassified roads that are compacted/grade2/grade3... might make these into tracks...
Quote from: karlchick on February 14, 2021, 11:51:57
I am thinking of adding a emphasise road surfaces/grades option to allow easier route planning at low zooms... probably colour coded to the quality of the road surface somehow.
wow - nice
BTW you have a checkbox for <Drive on left & right side>. I'm just curious what affect this has - no other theme has this feature.
I originally introduced the left/right driving option initially to place OS road labels (which are dy offset pathtext) on the outside of dual carriage ways. The labels appear on the passenger side of the road in dual carriage ways. It also has an impact for cycle lanes. The other use of left/right driving is the choice of post box symbol, uk vs continental...
Quote from: Andrew Heard on February 12, 2021, 01:46:57
Hi Karl, I notice your theme doesn't distinguish between sealed & unsealed roads. Unfortunately very few Locus themes do, which seems odd as you'd think cyclists would be quite interested in the road surface. Bernard's Desert theme (www.maiwolf.de) is the best for this - his on LHS compared to yours on RHS. Voluntary is the only other one that shows any difference but it is very hard to discern.
for example in my screen cap: https://www.openstreetmap.org/edit#map=16/-42.5113/147.6427
compares surface=unpaved with surface=Asphalt
Hi Andrew,
Attached is a sneaky peek at the road surfaces/grades overlay option I have prototyped for the OS Map theme.
- 1st image is the default OS map view
- 2nd image is road surfaces/grades enabled
- 3rd image is with the emphasise road surfaces/grades enables too
With the road surfaces/grades option selected, if the road is unsealed it will have a dashed casing and the core will have a texture applied based on the type of surface.
The second attachement shows the current road surface/grades renderings and highlight colours.
It is still very much work in progress. I have to say that I have not yet found a real life example of surface="winter"...
FYI: Here is an example of unsealed trunk and classified roads in Botswana (both are listed as compacted surface), see attached, rendered with the new road surfaces/grades option I'm working on.
I checked on google maps and OSM data base.... all these roads in the map view are actually compacted earth, including the unclassified road shown as sealed. But this is because the map data does not define any surface/grade for it... so the rendered view (as always) is only as good as the data in the map...
Have you tried Lake Baikal for surface=winter? There's a well known ice road across it, and I have read that the area is well mapped on OSM.
Sent from my moto g(6) plus using Tapatalk
Quote from: karlchick on February 15, 2021, 12:41:22
Attached is a sneaky peek at the road surfaces/grades overlay option I have prototyped for the OS Map theme.
a sneaky peak ;-) NICE. Looks great on my PC screen. Looking forward to checking on smaller device screen.
New release now available v20210216.
i have updated the first post with the latest release notes and links. I'm now using google drive to release the theme in a shared folder that contains all the releases and the PDF legends.
In this update I have added support for depicting road surfaces and distinguishing between sealed and unsealed roads/tracks. This is applicable to all highway types (including pedestrian and cycle paths) except for motorways.
The attached is a graphical summary (as presented in the map legend) of the new overlay options:
- "dash unsealed roads" to give unsealed roads a dashed outline/casing.
- "road surface/grade textures" to give unsealed roads a textured pattern that represents the type of surface, visible from Z14 onwards.
- "emphasise road surface/grade textures" to highlight roads surfaces at lower zoom levels, visible from Z12.
The second attachment identifies which "surface" and "tracktype" tag values are mapped to the new surfaces.
not all maps support the "surface" tag, but do support the "tracktype" tag. For this reason, the "tracktype" tag is also used to set the road surfaces, albiet at a lesser level of detail (normal, compacted, gravel, dirt). Note that tracks tagged as trackype=grade1, which are also tagged with surface=asphalt, are now "promoted" to sealed roads (solid casing).
I am conscious that I have highjacked a feature of standard OS maps on which they use dashed road casings to represent unfenced roads (in fact a road can be solid one side and dashed the other to show fenced/walled/constrained on just one wide). However, since OAM/LM maps do not (currently) support a tag for fenced roads it seemed a good idea to use the same symbology for sealed/unsealed roads...
These new options are not enabled by default, as the default overlay options are for classic/standard OS map look/feel, and of course OS maps do not have such features.
Attached is my "test POI" where there is a sealed/ unsealed transition. The new theme is looking great. Well done. It does look better on a bigger PC screen (and with glasses) compared to a phone screen, but still nice! I intentionally reduced the image resolution a little to simulate a bit of device blurriness.
Hello, this theme is great for planning gravel rides, as it emphasizes gravel and dirt roads but it seems only works with openmaps.eu v3 maps. However these maps are last updated in june and with openandromaps v4 and v5 it emphasizes only some of the dirt roads. Anyone uses it? Screenshots of the same area, two mentioned maps, to better illustrate the problem. Thanks. (https://uploads.tapatalk-cdn.com/20210930/07eb5701ce0ef568a1d9f96ef1d5d2ba.jpg)
Poslano sa mog POT-LX1 koristeći Tapatalk
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?
Hello Karl,
this is map of Croatia in question, but it is weird that only openmaps.eu have all this gravel data in their mapsforge map, everyone else only have some mayor gravel roads. I'm not an expert with osm but don't they all pull the same osm data? Anyway, if you have time and will can I trouble you to check for yourself on map of Croatia, from openmaps.eu, lomaps and openandromaps(balkan area)?
Thanks.
Poslano sa mog POT-LX1 koristeći Tapatalk
On examining the OSM data, the "extra" gravel tracks that appear in version 3 maps have been simply coded as highway=track. The gravel tracks that appear in both versions were coded highway=track AND surface=compacted.
IMHO, if a way is coded simply as highway=track, it's wrong to make any assumption about the surface.
Sent from my moto g(6) plus using Tapatalk
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.
@karlchick I think it may be better to test for tracktype first, then if grade is not specified (tracktype=~) test for surface.
<rule e="way" k="highway" v="track">
<rule e="way" k="tracktype" v="grade3">
...
</rule>
<rule e="way" k="tracktype" v="~">
<rule e="way" k="surface" v="gravel">
...
</rule>
</rule>
</rule>
Also, I seem to recall that for OAM maps surfaces are combined in such a way that your rough equivalence of grade=3 and surface=gravel is OK.
Thanks guys for your time to test and for explanations.
Poslano sa mog POT-LX1 koristeći Tapatalk
Hi,
Can someone tell me if the detail between the 1:25k and 1:50k is determined by the zoom level?
I have noticed that when zoomed in the pubs and public toilets symbols are only showing as abbreviations which when looking at the symbols in the file are the 1:50k symbols.
Should this automatically change to the 1:25 symbol when I zoom in?
Have you selected Dynamic Scale in the theme's style menu?
Sent from my moto g(6) plus using Tapatalk
Quote from: john_percy on January 16, 2022, 15:14:03
Have you selected Dynamic Scale in the theme's style menu?
Sent from my moto g(6) plus using Tapatalk
I missed thatsetting. Thanks for the help.
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...
Thanks Karlchick,
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.
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.
Thank you. I couldn't have done it myself :)
Good work :-) I'd like to try this theme in Locus Map 4 with OpenAndroMaps etc
Is that possible? If so, how?
I'm on Android version 12.
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.
Hi, I'm all new to this, and this theme saved me from giving up on Locus.
I may have found an error, may not, no idea really what I'm doing yet.. Using the OSM node in the link as an example, it looks like you display Adits as Mines but not Shafts as mines. The adits around here show, but not the shaft.
https://www.openstreetmap.org/node/5214161855
Thanks
Jeff
Thanks Jeff, you are correct and mineshaft is missing from the theme. I guess you using a lomap map as oam do not currently support mineshaft tags, only adits.
I suspect this is why it is missing, I added adits for oam (v4/v5) maps first and then updated the v3 map theme.
I'll include mineshafts in the next release. I might also request adding mineshaft to OAM maps too, there are over 10,000 tagged worldwide.
I'm still working on the update for v4/v5 map theme and will also roll back the improvements made to the v3 map theme. Once the v4 updated theme is ready/available, you might want to consider switching to using OAM maps as they have a lot more information in them and are getting rendered closer to OS maps now than lomaps... except for mineshafts, of course.
Quote from: karlchick on May 08, 2022, 19:31:48
Thanks Jeff, you are correct and mineshaft is missing from the theme. I guess you using a lomap map as oam do not currently support mineshaft tags, only adits.
I suspect this is why it is missing, I added adits for oam (v4/v5) maps first and then updated the v3 map theme.
I'll include mineshafts in the next release. I might also request adding mineshaft to OAM maps too, there are over 10,000 tagged worldwide.
I'm still working on the update for v4/v5 map theme and will also roll back the improvements made to the v3 map theme. Once the v4 updated theme is ready/available, you might want to consider switching to using OAM maps as they have a lot more information in them and are getting rendered closer to OS maps now than lomaps... except for mineshafts, of course.
Thanks
I just be getting better, I actually understood some of that!
Jeff
I may have found another. Natural=Saddle tag isn't displaying but does on OS maps.
In general are you trying to replicate the look of OS maps but with other things on it, or an accurate facsimile of the dataset of OS maps?
https://www.openstreetmap.org/node/4859334903
Jeff
Generally I am trying to emulate the look and feel of OS maps with this theme. It will be impossible to exactly match OS maps, since not all features of OS maps are supported by either the source data (OpenStreetMap) or the map creators (e.g. LoMap and OpenAndroMaps).
There is also a difference in how map features are used by the map creators, this is defined by a tag-mapping file. Only the tags in the tag-mapping files can be drawn...
OSM maps include a lot more content than OS maps, and I have added options in the theme to allow displaying addition non-OS content, e.g. Post boxes, hedges etc.
In general I have tried to create similar icons and symbology for non-OS content that are hopefully in keeping with the style of the original OS maps.
I'll take a look at Saddles too. Thanks for the feedback, it is always appreciated. I am working on a massive improvement to the rendering, starting with the v4 theme that mainly supports OAM maps, including v5 maps now. I'll then be looking to update the LM/v3 map theme...
Ok, thanks.
Following that fairly well.
A few questions so I can do more myself without bothering you as much.
How do you handle a point with multiple values that may conflict your graphical representation.
This example may not be relevant but a mountain peak is Natural=Peak, but a lot of peaks, if they have the OS survey trig columns have a second tag Man_made = survey_point. I disagree a point can be both natural and man made at the same time but if you happened to see both, what happens?
Is this the tag cross reference file I need to look at to see if an item exists? if not you can't display it? Stops me bothering you as much....
https://www.openandromaps.org/en/map-basics-2/tag-mapping
Is it reasonable for me to request items to be added to Open Andromaps? if so, do you know where I'd ask?
Finally, if I unzip your theme, eg. an svg called weir.svg matches the xml tag waterway=weir and the zoom level it appears at. Patterns for Areas rather than points.
Is that basically how it works?
I'm very much a rural user in the mountains and fells so don't look at towns or roads a lot, and there's only a few things I miss that generally offer good landmarks for navigation
Thanks Jeff
Hi Jeff,
You are correct, the European tag mapping file defines which information from OSM is in the OAM maps and at which zoom level they can first appear. Some of the tags are renamed for various reasons too.
If there are multiple points/nodes to display then they drawn based on the display and priority options, or the order they appear in the theme file. Order is quite important, and sometimes a compromise has to be made, often transparent fills are used to deal with hidden/layerred items, but this is difficult when emulating the OS map theme.
You can request additional items via the OAM forum;
https://www.openandromaps.org/en/oam-forums/forum/maps
You'll see I've requested some things, but not all requests will be accepted, especially if they do not meet the purpose of OAM maps, which is primarily for walking/cycling. Also there is a 15 tags limit per osm item (node/way/area) which if violated causes the whole tile to not be drawn.
If there are any items in the tag mapping that are not in my theme, please let me know and I'll do my best to include them in a future release.
I am planning to rework the summits in a similar fashion to the OutdoorV5 theme which makes summits visible based on their prominence and zoom level. But first I have to formalise all the v5 and tidal features improvements I have prototyped...
Note, some background info: I have two master theme files, one for locusmap/v3 maps and one for OAM v4/5 maps. Each defines both the night and day themes, to make it easier to work on both at the same.e time, but are very large and hence slow to use. So when I release a theme I have a script that splits the day and night parts into separate theme files. Resulting in the four theme files you are looking at.
I've come across another if you think it's ok, that generally gives me landmarks for walking that exists in the XML file
amenity=hunting_stand which to us in the uk is almost exclusively a Grouse Butt.
Thanks Jeff
Hi,
I think there's a problem with Openandromaps and your theme.
The author this month seems to have dropped cliffs from OSM And picked them up from some Ordanance Survey free data. I'm guessing tags are different as cliffs have gone from the map.
Thanks
J
Hi J,
Yes, I have noticed. I have added the new OS Crag tag to the new version of the theme I'm slowly working on. It's close to ready for v4/v5 maps. But the v3 of the OS Map theme is in need of major updates to support lomap maps and keep the latest look/feel in line with v4/v5 theme...
I could release just the v4/v5 map theme if people want something for Andromaps now....
Quote from: karlchick on December 14, 2022, 17:02:32I could release just the v4/v5 map theme if people want something for Andromaps now....
Will that would obviously help me!
But I realise there's a lot you do, so no panic
J
Ok... I've got the v4/v5 theme into a state ready for release - just need to update the Legend PDFs.
The v3 theme I have not started work on, it will require a lot of rework...
I think I am going to do a release with just the v4/v5 theme updated and leave the v3 untouched for now - that way you can benefit from the latest theme updates on OAM maps right now.
i was wondering if I should split the theme into two separate themes, one for OAM and one for LoMap. But then I thought "Will LoMaps ever upgrade to v5 or higher maps?" @Menion, perhaps an inkling?
LoMaps with V4/5 has been a topic since 2 years or so, and there was an intend to do it in 2022, if I recall correctly. Seems we have to add one year ...
Menion - what is your latest guess :-) ?
Cheers
Michael
LoMaps in V4 and LoMaps themes updated to V4 are in internal testing and most probably will be published this week as Beta + in the public version in March ;).
@Menion, any chance of a sneaky peak at the tagmapping file for v4 lomaps? Is it similar to v3?
I'll create a new topic here (https://forum.locusmap.eu/index.php?board=43.0) with more info during this week.
@menion, no hurry. It would be good if theme creators could access an early beta release of the tag mapping and an example/test map - so we have time to update our themes and provide the user base with working themes as soon as the new lomaps go live...
Just for your info, a topic related to this is already published here (https://forum.locusmap.eu/index.php?topic=8309.msg70334#msg70334).
I've also fixed the problem reported by Andrew when the app stuck at a certain moment and added some tweaks to the whole system. So "final" version will be published for testing today or tomorrow together with new maps. Anyway more on the mentioned topic.
Quote from: Menion on February 28, 2023, 09:33:42I've also fixed the problem reported by Andrew when the app stuck at a certain moment
excellent