Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@devdattaT
Created January 22, 2019 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdattaT/073ce4e7f2aabd9980a9cf7e74d2092b to your computer and use it in GitHub Desktop.
Save devdattaT/073ce4e7f2aabd9980a9cf7e74d2092b to your computer and use it in GitHub Desktop.
Style for MRT subway routes
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis simplifyMaxScale="1" labelsEnabled="0" hasScaleBasedVisibilityFlag="0" simplifyAlgorithm="0" readOnly="0" simplifyDrawingTol="1" simplifyLocal="1" minScale="1e+8" simplifyDrawingHints="1" version="3.2.0-Bonn" maxScale="0">
<renderer-v2 symbollevels="0" enableorderby="0" attr="name" forceraster="0" type="categorizedSymbol">
<categories>
<category symbol="0" render="true" label="Circle Line" value="Circle Line"/>
<category symbol="1" render="true" label="Circle Line Extension" value="Circle Line Extension"/>
<category symbol="2" render="true" label="Circle Line MRT" value="Circle Line MRT"/>
<category symbol="3" render="true" label="Downtown Line" value="Downtown Line"/>
<category symbol="4" render="true" label="Downtown Line MRT" value="Downtown Line MRT"/>
<category symbol="5" render="true" label="MRT East West Line (EW)" value="MRT East West Line (EW)"/>
<category symbol="6" render="true" label="MRT East West Line (EW) Changi Airport Line" value="MRT East West Line (EW) Changi Airport Line"/>
<category symbol="7" render="true" label="North East Line (NE)" value="North East Line (NE)"/>
<category symbol="8" render="true" label="North South Line (NS)" value="North South Line (NS)"/>
<category symbol="9" render="true" label="" value=""/>
</categories>
<symbols>
<symbol alpha="1" clip_to_extent="1" type="line" name="0">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="249,4,135,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="1">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="249,4,135,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="2">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="249,4,135,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="3">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,89,169,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="4">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,89,169,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="5">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,149,65,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="6">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,149,65,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="7">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="135,63,149,255"/>
<prop k="line_style" v="dot"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="8">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="227,26,28,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="9">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="57,91,215,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.26"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<source-symbol>
<symbol alpha="1" clip_to_extent="1" type="line" name="0">
<layer pass="0" locked="0" class="SimpleLine" enabled="1">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="133,182,111,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.26"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</source-symbol>
<rotation/>
<sizescale/>
</renderer-v2>
<customproperties>
<property key="embeddedWidgets/count" value="0"/>
<property key="variableNames"/>
<property key="variableValues"/>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>1</layerOpacity>
<SingleCategoryDiagramRenderer diagramType="Histogram" attributeLegend="1">
<DiagramCategory sizeType="MM" height="15" lineSizeType="MM" width="15" diagramOrientation="Up" barWidth="5" backgroundColor="#ffffff" maxScaleDenominator="1e+8" scaleDependency="Area" backgroundAlpha="255" lineSizeScale="3x:0,0,0,0,0,0" rotationOffset="270" penAlpha="255" penColor="#000000" minScaleDenominator="0" penWidth="0" enabled="0" minimumSize="0" opacity="1" labelPlacementMethod="XHeight" sizeScale="3x:0,0,0,0,0,0" scaleBasedVisibility="0">
<fontProperties style="" description="MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0"/>
<attribute color="#000000" label="" field=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings priority="0" obstacle="0" showAll="1" placement="2" dist="0" zIndex="0" linePlacementFlags="18">
<properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="id">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="@id">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="cutting">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="gauge">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="layer">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="name">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="railway">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="ref">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="source">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="bridge">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="electrified">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="voltage">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="tunnel">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="colour">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="designation">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="embankment">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="surface">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="alt_name">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="name:en">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="name:zh">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="service">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="construction">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="wikipedia">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias index="0" field="id" name=""/>
<alias index="1" field="@id" name=""/>
<alias index="2" field="cutting" name=""/>
<alias index="3" field="gauge" name=""/>
<alias index="4" field="layer" name=""/>
<alias index="5" field="name" name=""/>
<alias index="6" field="railway" name=""/>
<alias index="7" field="ref" name=""/>
<alias index="8" field="source" name=""/>
<alias index="9" field="bridge" name=""/>
<alias index="10" field="electrified" name=""/>
<alias index="11" field="voltage" name=""/>
<alias index="12" field="tunnel" name=""/>
<alias index="13" field="colour" name=""/>
<alias index="14" field="designation" name=""/>
<alias index="15" field="embankment" name=""/>
<alias index="16" field="surface" name=""/>
<alias index="17" field="alt_name" name=""/>
<alias index="18" field="name:en" name=""/>
<alias index="19" field="name:zh" name=""/>
<alias index="20" field="service" name=""/>
<alias index="21" field="construction" name=""/>
<alias index="22" field="wikipedia" name=""/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default expression="" field="id" applyOnUpdate="0"/>
<default expression="" field="@id" applyOnUpdate="0"/>
<default expression="" field="cutting" applyOnUpdate="0"/>
<default expression="" field="gauge" applyOnUpdate="0"/>
<default expression="" field="layer" applyOnUpdate="0"/>
<default expression="" field="name" applyOnUpdate="0"/>
<default expression="" field="railway" applyOnUpdate="0"/>
<default expression="" field="ref" applyOnUpdate="0"/>
<default expression="" field="source" applyOnUpdate="0"/>
<default expression="" field="bridge" applyOnUpdate="0"/>
<default expression="" field="electrified" applyOnUpdate="0"/>
<default expression="" field="voltage" applyOnUpdate="0"/>
<default expression="" field="tunnel" applyOnUpdate="0"/>
<default expression="" field="colour" applyOnUpdate="0"/>
<default expression="" field="designation" applyOnUpdate="0"/>
<default expression="" field="embankment" applyOnUpdate="0"/>
<default expression="" field="surface" applyOnUpdate="0"/>
<default expression="" field="alt_name" applyOnUpdate="0"/>
<default expression="" field="name:en" applyOnUpdate="0"/>
<default expression="" field="name:zh" applyOnUpdate="0"/>
<default expression="" field="service" applyOnUpdate="0"/>
<default expression="" field="construction" applyOnUpdate="0"/>
<default expression="" field="wikipedia" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint field="id" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="@id" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="cutting" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="gauge" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="layer" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="name" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="railway" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="ref" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="source" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="bridge" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="electrified" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="voltage" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="tunnel" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="colour" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="designation" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="embankment" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="surface" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="alt_name" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="name:en" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="name:zh" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="service" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="construction" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
<constraint field="wikipedia" constraints="0" unique_strength="0" exp_strength="0" notnull_strength="0"/>
</constraints>
<constraintExpressions>
<constraint exp="" field="id" desc=""/>
<constraint exp="" field="@id" desc=""/>
<constraint exp="" field="cutting" desc=""/>
<constraint exp="" field="gauge" desc=""/>
<constraint exp="" field="layer" desc=""/>
<constraint exp="" field="name" desc=""/>
<constraint exp="" field="railway" desc=""/>
<constraint exp="" field="ref" desc=""/>
<constraint exp="" field="source" desc=""/>
<constraint exp="" field="bridge" desc=""/>
<constraint exp="" field="electrified" desc=""/>
<constraint exp="" field="voltage" desc=""/>
<constraint exp="" field="tunnel" desc=""/>
<constraint exp="" field="colour" desc=""/>
<constraint exp="" field="designation" desc=""/>
<constraint exp="" field="embankment" desc=""/>
<constraint exp="" field="surface" desc=""/>
<constraint exp="" field="alt_name" desc=""/>
<constraint exp="" field="name:en" desc=""/>
<constraint exp="" field="name:zh" desc=""/>
<constraint exp="" field="service" desc=""/>
<constraint exp="" field="construction" desc=""/>
<constraint exp="" field="wikipedia" desc=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="&quot;name&quot;" sortOrder="1">
<columns>
<column hidden="0" width="-1" type="field" name="id"/>
<column hidden="0" width="-1" type="field" name="@id"/>
<column hidden="0" width="-1" type="field" name="cutting"/>
<column hidden="0" width="-1" type="field" name="gauge"/>
<column hidden="0" width="-1" type="field" name="layer"/>
<column hidden="0" width="-1" type="field" name="name"/>
<column hidden="0" width="-1" type="field" name="railway"/>
<column hidden="0" width="-1" type="field" name="ref"/>
<column hidden="0" width="-1" type="field" name="source"/>
<column hidden="0" width="-1" type="field" name="bridge"/>
<column hidden="0" width="-1" type="field" name="electrified"/>
<column hidden="0" width="-1" type="field" name="voltage"/>
<column hidden="0" width="-1" type="field" name="tunnel"/>
<column hidden="0" width="-1" type="field" name="colour"/>
<column hidden="0" width="-1" type="field" name="designation"/>
<column hidden="0" width="-1" type="field" name="embankment"/>
<column hidden="0" width="-1" type="field" name="surface"/>
<column hidden="0" width="-1" type="field" name="alt_name"/>
<column hidden="0" width="-1" type="field" name="name:en"/>
<column hidden="0" width="-1" type="field" name="name:zh"/>
<column hidden="0" width="-1" type="field" name="service"/>
<column hidden="0" width="-1" type="field" name="construction"/>
<column hidden="0" width="-1" type="field" name="wikipedia"/>
<column hidden="1" width="-1" type="actions"/>
</columns>
</attributetableconfig>
<editform>D:/GIS_Data/Self/SG</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[# -*- coding: utf-8 -*-
"""
QGIS forms can have a Python function that is called when the form is
opened.
Use this function to add extra logic to your forms.
Enter the name of the function in the "Python Init function"
field.
An example follows:
"""
from qgis.PyQt.QtWidgets import QWidget
def my_form_open(dialog, layer, feature):
geom = feature.geometry()
control = dialog.findChild(QWidget, "MyLineEdit")
]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable>
<field name="@id" editable="1"/>
<field name="alt_name" editable="1"/>
<field name="bridge" editable="1"/>
<field name="colour" editable="1"/>
<field name="construction" editable="1"/>
<field name="cutting" editable="1"/>
<field name="designation" editable="1"/>
<field name="electrified" editable="1"/>
<field name="embankment" editable="1"/>
<field name="gauge" editable="1"/>
<field name="id" editable="1"/>
<field name="layer" editable="1"/>
<field name="name" editable="1"/>
<field name="name:en" editable="1"/>
<field name="name:zh" editable="1"/>
<field name="railway" editable="1"/>
<field name="ref" editable="1"/>
<field name="service" editable="1"/>
<field name="source" editable="1"/>
<field name="surface" editable="1"/>
<field name="tunnel" editable="1"/>
<field name="voltage" editable="1"/>
<field name="wikipedia" editable="1"/>
</editable>
<labelOnTop>
<field labelOnTop="0" name="@id"/>
<field labelOnTop="0" name="alt_name"/>
<field labelOnTop="0" name="bridge"/>
<field labelOnTop="0" name="colour"/>
<field labelOnTop="0" name="construction"/>
<field labelOnTop="0" name="cutting"/>
<field labelOnTop="0" name="designation"/>
<field labelOnTop="0" name="electrified"/>
<field labelOnTop="0" name="embankment"/>
<field labelOnTop="0" name="gauge"/>
<field labelOnTop="0" name="id"/>
<field labelOnTop="0" name="layer"/>
<field labelOnTop="0" name="name"/>
<field labelOnTop="0" name="name:en"/>
<field labelOnTop="0" name="name:zh"/>
<field labelOnTop="0" name="railway"/>
<field labelOnTop="0" name="ref"/>
<field labelOnTop="0" name="service"/>
<field labelOnTop="0" name="source"/>
<field labelOnTop="0" name="surface"/>
<field labelOnTop="0" name="tunnel"/>
<field labelOnTop="0" name="voltage"/>
<field labelOnTop="0" name="wikipedia"/>
</labelOnTop>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>id</previewExpression>
<mapTip></mapTip>
<layerGeometryType>1</layerGeometryType>
</qgis>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment