Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix next edge label direction arrows
Basically uses direction indicator for the next_left but omits
it for the next_right (would require backward direction)

Also this commit sets the line color, even if fully transparent,
for the sake of showing a color which corresponds to the label
color (would be better to have support for a "label" kind of icon
in the legend..)
  • Loading branch information
Sandro Santilli committed Nov 8, 2012
1 parent 8414ff9 commit 1dacbd6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Expand Up @@ -12,17 +12,17 @@
<rotationclassificationfieldname></rotationclassificationfieldname>
<scaleclassificationfieldname></scaleclassificationfieldname>
<symbolfieldname></symbolfieldname>
<outlinecolor red="133" blue="203" green="231"/>
<outlinecolor red="0" blue="0" green="170"/>
<outlinestyle>SolidLine</outlinestyle>
<outlinewidth>0.26</outlinewidth>
<outlinewidth>1</outlinewidth>
<fillcolor red="0" blue="0" green="0"/>
<fillpattern>NoBrush</fillpattern>
<texturepath>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</texturepath>
</symbol>
</singlesymbol>
<customproperties>
<property key="labeling" value="pal"/>
<property key="labeling/addDirectionSymbol" value="false"/>
<property key="labeling/addDirectionSymbol" value="true"/>
<property key="labeling/angleOffset" value="0"/>
<property key="labeling/bufferColorB" value="255"/>
<property key="labeling/bufferColorG" value="255"/>
Expand Down Expand Up @@ -58,7 +58,7 @@
<property key="labeling/dist" value="3"/>
<property key="labeling/distInMapUnits" value="false"/>
<property key="labeling/enabled" value="true"/>
<property key="labeling/fieldName" value="next_left_edge || '->'"/>
<property key="labeling/fieldName" value="next_left_edge"/>
<property key="labeling/fontCapitals" value="0"/>
<property key="labeling/fontFamily" value="Sans"/>
<property key="labeling/fontItalic" value="false"/>
Expand All @@ -70,7 +70,7 @@
<property key="labeling/fontWeight" value="50"/>
<property key="labeling/fontWordSpacing" value="0"/>
<property key="labeling/formatNumbers" value="false"/>
<property key="labeling/isExpression" value="true"/>
<property key="labeling/isExpression" value="false"/>
<property key="labeling/labelOffsetInMapUnits" value="true"/>
<property key="labeling/labelPerPart" value="false"/>
<property key="labeling/mergeLines" value="false"/>
Expand Down Expand Up @@ -136,5 +136,7 @@
<editform>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</editform>
<editforminit></editforminit>
<annotationform>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</annotationform>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<attributeactions/>
</qgis>
Expand Up @@ -12,9 +12,9 @@
<rotationclassificationfieldname></rotationclassificationfieldname>
<scaleclassificationfieldname></scaleclassificationfieldname>
<symbolfieldname></symbolfieldname>
<outlinecolor red="28" blue="179" green="160"/>
<outlinecolor red="170" blue="0" green="0"/>
<outlinestyle>SolidLine</outlinestyle>
<outlinewidth>0.26</outlinewidth>
<outlinewidth>1</outlinewidth>
<fillcolor red="0" blue="0" green="0"/>
<fillpattern>NoBrush</fillpattern>
<texturepath>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</texturepath>
Expand Down Expand Up @@ -58,7 +58,7 @@
<property key="labeling/dist" value="3"/>
<property key="labeling/distInMapUnits" value="false"/>
<property key="labeling/enabled" value="true"/>
<property key="labeling/fieldName" value="'&lt;-' || next_right_edge"/>
<property key="labeling/fieldName" value="next_right_edge"/>
<property key="labeling/fontCapitals" value="0"/>
<property key="labeling/fontFamily" value="Sans"/>
<property key="labeling/fontItalic" value="false"/>
Expand All @@ -70,7 +70,7 @@
<property key="labeling/fontWeight" value="50"/>
<property key="labeling/fontWordSpacing" value="0"/>
<property key="labeling/formatNumbers" value="false"/>
<property key="labeling/isExpression" value="true"/>
<property key="labeling/isExpression" value="false"/>
<property key="labeling/labelOffsetInMapUnits" value="true"/>
<property key="labeling/labelPerPart" value="false"/>
<property key="labeling/mergeLines" value="false"/>
Expand Down Expand Up @@ -136,5 +136,7 @@
<editform>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</editform>
<editforminit></editforminit>
<annotationform>../../../../../../../../../src/qgis/plugins/db_manager/db_manager/db_plugins/postgis/plugins/qgis_topoview</annotationform>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<attributeactions/>
</qgis>

0 comments on commit 1dacbd6

Please sign in to comment.