Tag transform improvements (#678)
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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 ######-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user