Juli 9, 2021 um 21:36 #44128
Is it the case that the maps can’t display both MTB routes and cycle routes that run together? If so, is that a function of the mapping data or of the OAM processes?
If it’s because of the OAM processes, would it be possible to allow MTB routes and cycle routes to coexist?
Example: https://www.openstreetmap.org/?mlat=52.81166&mlon=-3.89035#map=18/52.81166/-3.89035Juli 14, 2021 um 19:52 #44160TobiasVerwalterOktober 4, 2021 um 13:50 #45021Oktober 11, 2021 um 09:57 #45123
Have you noticed that there is a change of Route-Prozessing that effects the Themes.
There will be seperate REF tags for highways (as ususal) and cycle/mtb/hike routes.
This will resolve most of the issues we were facing the last years.
Esp. the long distance MTB-Routes are now fine and overlaying mtb/cycle/hike routes are shown much more accurate.
There are maps for testing and a modified Theme here:
ChristianOktober 11, 2021 um 16:56 #45125
Ref_cycle is not working for me for ncns such as https://www.openstreetmap.org/relation/1620344
Using test GB map and test Elevate theme or my personal test theme.Oktober 12, 2021 um 12:38 #45130
Thanks for feedback.
Thats really strange.
The ways are tagged right – here an example:
An preprozessed right: <way id="41726706" version="1" timestamp="1970-01-01T00:59:59Z" changeset="1"> <nd ref="513696313"/> <nd ref="513696314"/> <nd ref="8896847052"/> <nd ref="3523451572"/> <nd ref="8896847053"/> <nd ref="513696315"/> <nd ref="3523451573"/> <nd ref="513696316"/> <tag k="name" v="Whitfield Way"/> <tag k="highway" v="residential"/> <tag k="ref_cycle" v="539"/> <tag k="network" v="ncn"/> </way>
Oh, everythings clear to me…
There are two ways to define an Tag with arbitrary values in Mapsforge V5.
tag=%f – for values (leike nth-floor in buildings, height of buildings etc
tag=%s – for strings like street names and (of couse) refs =
ref_cycle=%s as definition for an arbitrary cycle-ref
So a ref=“EV12″ is OK, however it seems that ref=“539″ ist treated as a number in mapsforge V5 rather than a string=“539″ an skipped. In UK this is to be seen very clear as most NCN have numeric refs.
Thats not funny, however we will find a solution.Oktober 12, 2021 um 13:36 #45132
I identify type of value in preprozessing and add a prefix „#“ if value is numeric.
Thanks for your valuable feedback !
1 Teilnehmer(n) gefällt dieser BeitragOktober 12, 2021 um 16:21 #45138
Elegant solution, thanks. Could you make the revised map available for testing, please.
What I don’t understand though is that ref worked perfectly fine before with ncn numbers. That’s to say current maps and themes show ncn even if the value is a number.Oktober 12, 2021 um 16:44 #45140
What I don’t understand though is that ref worked perfectly fine before with ncn
This was the „REF“ Tag.
Means you have some tags with arbitrary values in Mapsforge – a few.
In short: Name,Housenumber,elevation
So far this is Mapsforge V4, and this works fine
All other tag/value pairs have to be defined in TagMapping.V4
In Mapsforge V5 there is an extension you can define more tags with arbitrary values.
This can be done by setting a tag with the value %f or %s in TagMapping.
.. as I do with (eg) ref_cycle=%s MEANS : Store all values for ref_cycle while value is a string.
So Mapsforge has to store all possible ref_cycle tag/value pairs as strings (=%s)
And this extension is buggy.Oktober 12, 2021 um 23:04 #45146
Of course. Maybe I should have known that.
A silly question, maybe, but I presume you can’t just prepend a space to the numeric string as in “ 537″?Oktober 13, 2021 um 13:15 #45148
but I presume you can’t just prepend a space to the numeric string as in “ 537″?
Thats worth a try, however I have to take care cause there are a lot of ‚trimms‘ in the scripts.
Actually I have troubles with RAM consumption of this extension – I hope EMUX finds a solution.Oktober 27, 2021 um 12:44 #45438
- Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.