Author Topic: Vectormap of CzechRepublic now with kct_ Tags  (Read 3475 times)

Offline kech61

  • Apprentice of Locus
  • **
  • Posts: 170
  • Thanked: 4 times
    • View Profile
Vectormap of CzechRepublic now with kct_ Tags
« 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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Best regards/ Grüsse
Christian
www.openandromaps.org
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1895
  • Thanked: 20 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Vectormap of CzechRepublic now with kct_ Tags
« Reply #1 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]
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline kem

  • More than Newbie
  • *
  • Posts: 14
    • View Profile
Re: Vectormap of CzechRepublic now with kct_ Tags
« Reply #2 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:



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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline kech61

  • Apprentice of Locus
  • **
  • Posts: 170
  • Thanked: 4 times
    • View Profile
Re: Vectormap of CzechRepublic now with kct_ Tags
« Reply #3 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

best regards
Christian
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Best regards/ Grüsse
Christian
www.openandromaps.org
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1234
  • Thanked: 2 times
  • Devices: Samsung S10 + S7 + (S5 + S3 + Nexus7 flo)
    • View Profile
Re: Vectormap of CzechRepublic now with kct_ Tags
« Reply #4 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?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline kech61

  • Apprentice of Locus
  • **
  • Posts: 170
  • Thanked: 4 times
    • View Profile
Re: Vectormap of CzechRepublic now with kct_ Tags
« Reply #5 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

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...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Best regards/ Grüsse
Christian
www.openandromaps.org