Locus Map - forum

Content & Tools => Maps => Topic started by: kech61 on November 17, 2012, 13:10:10

Title: Vectormap of CzechRepublic now with kct_ Tags
Post by: kech61 on November 17, 2012, 13:10:10
Hi,

The resolving of the hiking routes now respects the special tagging of the czech hiking relations.
The routes tagged as kct_red=major now are translated into (hike)network=nwn and all other routes with kct_*=major are set as (hike)network=rwn

This results in at least two times the amount of redered hiking ways in the Czech Republic (3200 resolved hiking relations)

The National Park "Thayatal" now renders correct in Mapsforge, I repaired the wrong tagging in the OSM-Database.

Any feedback to further improve this map is highly appreciated.
Title: Re: Vectormap of CzechRepublic now with kct_ Tags
Post by: jusc on November 24, 2012, 13:18:11
You can see the diffrence:  Left one older czech map, right the new map (with the same (unofficial) Volatile_Hike_2 theme  ;) )
(click on picture to get a better view)
[attachment=1:3u7j0i4y]2.jpg[/attachment:3u7j0i4y]
[attachment=0:3u7j0i4y]1.jpg[/attachment:3u7j0i4y]
Title: Re: Vectormap of CzechRepublic now with kct_ Tags
Post by: kem on December 02, 2012, 13:29:20
I really appreciate KCT routes in Locus vector maps. This is important for usability as the KCT routes span whole Czech Republic and they are very very popular.

I am just user so the next question can be silly: Would it be possible to change route rendering style in order the kct route will have same colour as it is in reality? The result should look as this screen shot from other thread:

(http://http://forum.locusmap.eu/download/file.php?id=1332&t=1)

The standard is as follows http://http://mapy.cz/s/5N16

I think this is very important as Czech maps follow this style for several generations (40+ years). I wonder if it is matter of change a route rendering property or it is more difficult to arrange it.
Title: Re: Vectormap of CzechRepublic now with kct_ Tags
Post by: kech61 on December 04, 2012, 11:23:27
Hi Kem,

Quote from: "kem"
I am just user so the next question can be silly: Would it be possible to change route rendering style in order the kct route will have same colour as it is in reality? ....
...I think this is very important as Czech maps follow this style for several generations (40+ years). I wonder if it is matter of change a route rendering property or it is more difficult to arrange it.

The question is'nt silly at all.

The answer in short: It would be possible, but would require a serious rewrite of my tools (with mapsforge this means serious programming instead of scripting) and the theme and there are a lot of countrys with specific tags so this would be an endless issue.
However, it could be done - with lots of effort.

My current decicion is to stay with the rules defined by lonvia.de, its a matter of resources.
http://hiking.waymarkedtrails.org/en/he ... ikinglocal (http://hiking.waymarkedtrails.org/en/help/rendering/hikinglocal)

best regards
Christian
Title: Re: Vectormap of CzechRepublic now with kct_ Tags
Post by: tommi on December 04, 2012, 12:39:34
I didn't yet try but would it not be sufficient to make a copy of andromaps_hc, rename it e.g. to andromaps_kct, rename the contained andromaps_hc.xml to andromaps_kct.xml and make the wished changes for the ways and use that new theme then?
Title: Re: Vectormap of CzechRepublic now with kct_ Tags
Post by: kech61 on December 04, 2012, 14:01:29
Quote from: "tommi62"
I didn't yet try but would it not be sufficient to make a copy of andromaps_hc, rename it e.g. to andromaps_kct, rename the contained andromaps_hc.xml to andromaps_kct.xml and make the wished changes for the ways and use that new theme then?

Unfortunately it isnt.
Most of the kct_* tags only exist in relations not in ways - in my resolving the kct_ tags are transformed to network="ncn|rcn" and inherited to ways, so there is no exsiting kct_ tag you can render. (Mapsforge is NOT able to resolve any relation by default, except multypolygons)

This is the usual way country specific tags are treaten (same for UK), the rules I use are are the same as at http://www.lonvia.de (http://www.lonvia.de)

What means "inherited": unlike to mkgmap or mapnik that contain a scripting language (stylesheets) and do the complicated resolving intrnaly,
I have parse the whole OSM-Database, analysing relations (they are usualy nested) finding hiking/cycle related ones and write a WHOLE NEW database where all ways receive the tags from the approbriate relations. This is done by, not so easy, perl programms.
To change these programms means lots and lots of hours till all is running smooth and all silly tagging is catched, for all countrys with specific tagging....

However, maybe some day a mapsforge version appears thats easier to handle...