Render themes: tag transform (#587)

This commit is contained in:
Gustl22
2018-09-09 22:44:36 +02:00
committed by Emux
parent 7c2d2d3759
commit 61318bff8a
12 changed files with 208 additions and 49 deletions

View File

@@ -3,6 +3,17 @@
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 k="kind" v="building" k-match="building" v-match="yes" />-->
<!--<tag-transform k="kind" v="building_part" k-match="building:part" v-match="yes" />-->
<tag-transform k="root_id" k-match="ref" />
<tag-transform k="roof_color" k-match="roof:colour" />
<tag-transform k="roof_direction" k-match="roof:direction" />
<tag-transform k="roof_height" k-match="roof:height" />
<tag-transform k="roof_material" k-match="roof:material" />
<tag-transform k="roof_orientation" k-match="roof:orientation" />
<tag-transform k="roof_shape" k-match="roof:shape" />
<!-- base style for fixed width lines -->
<style-line cap="butt" fix="true" id="fix" width="1.0" />

View File

@@ -3,6 +3,11 @@
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 k="render_height" k-match="height" />
<tag-transform k="render_min_height" k-match="min_height" />
<!--<tag-transform k="layer" v="building" k-match="building" v-match="yes" />-->
<!--<tag-transform k="layer" v="building:part" k-match="building:part" v-match="yes" />-->
<!--###### TEXT styles ######-->
<!--default label-->