Tag transform improvements (#678)

This commit is contained in:
Gustl22
2019-02-27 21:34:35 +01:00
committed by Emux
parent 4162d9b488
commit 207993a6e2
11 changed files with 129 additions and 56 deletions

View File

@@ -3,16 +3,16 @@
version="1" xmlns="http://opensciencemap.org/rendertheme"
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
<!--<tag-transform match-k="building" match-v="yes" output-k="kind" output-v="building" />-->
<!--<tag-transform match-k="building:part" match-v="yes" output-k="kind" output-v="building_part" />-->
<tag-transform match-k="ref" output-k="root_id" />
<!--<tag-transform k="kind" v="building" k-lib="building" v-lib="yes" />-->
<!--<tag-transform k="kind" v="building_part" k-lib="building:part" v-lib="yes" />-->
<tag-transform k="root_id" k-lib="ref" />
<tag-transform match-k="roof:colour" output-k="roof_color" />
<tag-transform match-k="roof:direction" output-k="roof_direction" />
<tag-transform match-k="roof:height" output-k="roof_height" />
<tag-transform match-k="roof:material" output-k="roof_material" />
<tag-transform match-k="roof:orientation" output-k="roof_orientation" />
<tag-transform match-k="roof:shape" output-k="roof_shape" />
<tag-transform k="roof_color" k-lib="roof:colour" />
<tag-transform k="roof_direction" k-lib="roof:direction" />
<tag-transform k="roof_height" k-lib="roof:height" />
<tag-transform k="roof_material" k-lib="roof:material" />
<tag-transform k="roof_orientation" k-lib="roof:orientation" />
<tag-transform k="roof_shape" k-lib="roof:shape" />
<!-- base style for fixed width lines -->
<style-line cap="butt" fix="true" id="fix" width="1.0" />

View File

@@ -3,10 +3,10 @@
version="1" xmlns="http://opensciencemap.org/rendertheme"
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
<tag-transform match-k="height" output-k="render_height" />
<tag-transform match-k="min_height" output-k="render_min_height" />
<!--<tag-transform match-k="building" match-v="yes" output-k="layer" output-v="building" />-->
<!--<tag-transform match-k="building:part" match-v="yes" output-k="layer" output-v="building:part" />-->
<tag-transform k="render_height" k-lib="height" />
<tag-transform k="render_min_height" k-lib="min_height" />
<!--<tag-transform k="layer" v="building" k-lib="building" v-lib="yes" />-->
<!--<tag-transform k="layer" v="building:part" k-lib="building:part" v-lib="yes" />-->
<!--###### TEXT styles ######-->