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

#31
Other features / Re: LoMaps + MapsForge V4
May 08, 2023, 10:56:05
@voldapet

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:

designation=unclassified_highway

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?
#32
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.
#33
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!
#34
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:
https://forum.locusmap.eu/index.php?topic=8309.new#new
#35
Other features / Re: LoMaps + MapsForge V4
April 02, 2023, 14:56:33
@voldapet

Point 14
Request: would it be possible add natural=bay to LoMaps?

Attached is an example from OSM and comparison of OAM vs LoMap.

Point 15
This is probably something I should request against the app rather than here, but I'm wondering if it would be possible to have a grid like OS maps have, perhaps 1km lines and 10km lines that can be customised by the theme to appear at suitable zoom levels and stroke styles etc..???
#36
Other features / Re: LoMaps + MapsForge V4
April 01, 2023, 11:21:22
Quote from: john_percy on April 01, 2023, 10:20:39@voldapet
Quote from: voldapet on March 03, 2023, 11:38:50@karlchick
BTW: are there any standard symbols or styles that indicate designation in the UK maps?
See attached Ordnance Survey legends. PROW are red or green according to the map scale; there are different markings for different types of access rights.

@voldapet
Sorry, I missed that question. Yes OS maps do have symbology for different access rights, colours, dashes and dots are used to represent different Public Rights Of Way (PROW) as in 3rd and 4th attachments.

The designation tags in OSM should allow me to represent all these in the theme, I think.

Note that newer OS maps now also include orange dashed pathways for Permissibe PROW. I have tried to emulate this in OAM using combinations of available tags and it largely works, see first attached (left OS, right OAM). Currently path, PROW path, PROW bridleway, PROW permissive path. It should be a lot easier with the designation tag, but sometimes the access is set to permissive in other situations, hence OAM's foot=ft ft_permissive is useful...

I have also added tidal paths (blue) as a non-OS option, see second attached. Note I use thinner dashed paths for non-PROW paths (as do OS maps). This example shows a low tide alternative path that people sometimes use when walking the South West Coastal Path (SWCP). It has tidal paths/steps and a permissive set of stairs to return  to the hiking SWCP route.

With the designation tag I should be able to represent all the OS symbols... I'm looking forward to an updated LoMap to play with.

Edit:updated images for latest fixes.
#37
Other features / Re: LoMaps + MapsForge V4
March 30, 2023, 22:55:48
Hmm.. I think the LoMap approach to cycle/mtb routes is very different compared to OAM.

OAM seems to remap the cycle/mtb/hiking network values through to the highways they are related and uses separated tags for each type of route (network=cycle, mtnetwork=mtb and hknetwork=hiking).

OAM additionally resolves issues like route=mtb and network=ncn, by remapping these through to mtbnetwork=nmn. An example of this can be seen in the attached first pair of images showing LoMap/OAM with the latest v5 Voluntary theme, see how the mtb route is displayed in LoMap with blue/purple blobs but in OAM is only purple blobs.

I resolved this for now in LoMap maps by ignoring the network tag and using just the route=mtb/bicycle values to differentiate them. Separate rules are used for OAM and ignored by LoMap by checking for route="~", since OAM doesn't used route tags for network routes. See second pair of images comparing LoMap/OAM with my latest OS prototype theme.

LoMap having separated routes results in multiple renders for each route, advantage is ref labels for both routes, disadvantage is multiple highlight/emphasis drawn.
 
Another feature/issue... since LoMap is using separated route ways from the highways, I can't determine if a route is off-road. With OAM I am introducing hollow blobs when a route is off-road, see attached third pair of images.

Finally, I am missing OAM's feature to autogenerate route refs when a route has no ref tag, it does this by raking the first letter if each word in the routes name and any numbers, see examples attached and how OAM names the mtb route PWCR.
#38
Other features / Re: LoMaps + MapsForge V4
March 26, 2023, 17:23:05
QuotePOSTSCRIPT: It seems to be connected with routes which have neither osmc nor sac_scale. Changing line 1246 to test for sac_scale=hiking|~ makes some routes show.


I have also noticed this, the best I could render is attached (LoMap v3, LoMap v4, OAM). Seems some routes have ref tags and some do not, even when provided in OSM, e.g. NCN routes 1 in this example.

Note that OAM is only showing a single ref tag and seems to pick the ICN EV12 instead over the NCN 1, so highest order/class of route... I really hope LoMap will show a concatenation of all route refs when on the same way, e.g. EV12/1 in this case...
#39
Other features / Re: LoMaps + MapsForge V4
March 24, 2023, 18:44:01
@voldapet

Point 9
The 1:250,000 OS maps do indeed include contours,  see attached screenshot from memory map and here is a link to the OS 250k legend

OS 250k Legend

You cannot view this attachment.

Interestingly 1:100k maps in the UK have pretty much fallen out of favour, they used to popular in the 50s to 70s as 1/2" scale maps. They used to also include contours, and were very useful for cycle touring. There is an interesting article about these maps:

The great lost map scale
#40
Other features / Re: LoMaps + MapsForge V4
March 24, 2023, 09:42:34
Point 8
Something else about surface tags, in OAM they are also provided for the above surface mappings for several other types of ways, like natural=beach/desert/wetland/sand. Making it possible to render pebble beaches and gravel banks differently.
#41
Other features / Re: LoMaps + MapsForge V4
March 23, 2023, 15:14:59
Quote from: voldapet on March 23, 2023, 12:05:27@karlchick
Point 8
Do you want to render a surface type in the map? Or you want to use a surface as fallback if tracktype isn't defined? What surface type you'd required? https://wiki.openstreetmap.org/wiki/Key:surface

Point 9
I'm sorry, but are you really sure that the contours in <Z12 have any practical benefit for hikers/bikers?

Point 12
The `lm_landuse` item should contain a combination of the original `landuse=residential` and the custom areas generated from the building location. IIRC, there is a logic where small areas are removed from the dataset. Frankly, I would prefer to avoid adding `landuse=residential` because of duplication of data. I'll check (later) the simplification factor and also the filtration of small areas...

Point 8
If you want to align with OAM surfaces, that would make our lives as theme creators alot simpler, here are the OAM tag mapping settings:

<osm-tag key='surface' value='paved' equivalent-values='hard' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='asphalt' equivalent-values='concrete,cement,metal_grid,brick,chipseal,interlock,plastic,granite' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='compacted' equivalent-values='fine_gravel' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='smooth_paved' equivalent-values='concrete:plates,concrete:lanes,paving_stones,paving_stones:30,paving_stones:20,bricks,cement,metal,wood' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='rough_paved' equivalent-values='unhewn_cobblestone,cobblestone,stone,grass_paver,cobblestone:flattened,sett' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='gravel' equivalent-values='pebblestone,woodchips' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='raw' equivalent-values='ground,dirt,grass,sand,earth,mud,clay,saltrock,stone,dirt/sand,soil,trail' renderable='false' zoom-appear='8' />
<osm-tag key='surface' value='winter' equivalent-values='ice,snow' renderable='false' />
<osm-tag key='surface' value='unpaved' equivalent-values='unpaved_minor' renderable='false' zoom-appear='8' />

Point 9
I think having the major and then major and medium gradually introduced earlier provides the following benefits:
  1. You can visualise the landscape over a wider area, see how hills/mountains lie with respect to other landscape features like  lakes and roads etc.
  2. The map doesn't suddenly become very blank.
I can understand how this might have been desirable with older phones with limited resources, but most modern phones now easily cope with this in OAM maps.

Point 12
I dispute that landuse=residential is duplication, the lm_landuse tag is not the same ways/shapes. I really would prefer to use landuse=residential instead of lm_landuse since it matches OSM and also matches the other corresponding OSm tagged ways, e.g. schools, grass, parking etc. I find that lm_landuse=residential often cuts across a lot of other ways, or is completely missing for large parts of villages, or includes areas that are not residential.  E.g. see attached which compares LoMap and OAM residential areas (beige areas).
#42
Other features / Re: LoMaps + MapsForge V4
March 23, 2023, 11:19:10
Point 14
By overlaying LoMap over OAM map I noticed a missing building=sports_centre, see attached.

Link to osm item: https://www.openstreetmap.org/#map=18/51.74991/-2.22494
#43
Other features / Re: LoMaps + MapsForge V4
March 21, 2023, 18:55:07
Quote from: voldapet on March 03, 2023, 11:38:50@karlchick
Point 1
- make sense, added
BTW: are there any standard symbols or styles that indicate designation in the UK maps?

Point 2
- added but I'm not sure if tags access_land, public_cycleway, green_lane will be used ...

@voldapet
@Menion
Much appreciate you adding these requests to LoMaps, especially points #1 and #2, when can we expect an updated set of maps with these additions included?
#44
Other features / Re: LoMaps + MapsForge V4
March 21, 2023, 10:15:23
Quote from: john_percy on March 21, 2023, 00:26:382. What advantages will these latest maps have over OAM ones, particularly if you collaborate in unifying tag mapping etc.?

For me, I see the advantage that LoMap will have over OAM is they will include different tags, e.g. designation (PROW at last!), building=cathedral, horse, and (to be checked, but hopefully) a carry over of the combined network names when they follow the same sections of ways.
#45
Other features / Re: LoMaps + MapsForge V4
March 21, 2023, 10:01:18
Point 13
I have also noticed that LoMaps draws the coastline differently, sometimes pruning parts of the land off. Perhaps LoMap coastline is using some method similar to residential landuse?

The result seems less accurate.

See attached example, bottom is OSM, left is OAM, right is LoMap.