Skip to content

Commit a4e621d

Browse files
author
Sandro Santilli
committed
Limit max number of node labels to 100, and candidate positions to 1
Also set layer transparency to 100% (there's a separate layer with the dots)
1 parent 0ddc034 commit a4e621d

File tree

1 file changed

+11
-1
lines changed
  • python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates

1 file changed

+11
-1
lines changed

python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/node_label.qml

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
22
<qgis version="1.9.0-Master" minimumScale="-4.65661e-10" maximumScale="1e+08" minLabelScale="0" maxLabelScale="1e+08" hasScaleBasedVisibilityFlag="0" scaleBasedLabelVisibilityFlag="0">
3-
<transparencyLevelInt>255</transparencyLevelInt>
3+
<transparencyLevelInt>0</transparencyLevelInt>
44
<singlesymbol>
55
<symbol>
66
<lowervalue></lowervalue>
@@ -46,6 +46,7 @@
4646
<property key="labeling/dataDefinedProperty18" value=""/>
4747
<property key="labeling/dataDefinedProperty19" value=""/>
4848
<property key="labeling/dataDefinedProperty2" value=""/>
49+
<property key="labeling/dataDefinedProperty20" value=""/>
4950
<property key="labeling/dataDefinedProperty3" value=""/>
5051
<property key="labeling/dataDefinedProperty4" value=""/>
5152
<property key="labeling/dataDefinedProperty5" value=""/>
@@ -63,6 +64,9 @@
6364
<property key="labeling/fontFamily" value="Sans"/>
6465
<property key="labeling/fontItalic" value="false"/>
6566
<property key="labeling/fontLetterSpacing" value="0"/>
67+
<property key="labeling/fontLimitPixelSize" value="false"/>
68+
<property key="labeling/fontMaxPixelSize" value="10000"/>
69+
<property key="labeling/fontMinPixelSize" value="3"/>
6670
<property key="labeling/fontSize" value="8"/>
6771
<property key="labeling/fontSizeInMapUnits" value="false"/>
6872
<property key="labeling/fontStrikeout" value="false"/>
@@ -73,19 +77,25 @@
7377
<property key="labeling/isExpression" value="false"/>
7478
<property key="labeling/labelOffsetInMapUnits" value="true"/>
7579
<property key="labeling/labelPerPart" value="false"/>
80+
<property key="labeling/leftDirectionSymbol" value="&lt;"/>
81+
<property key="labeling/limitNumLabels" value="true"/>
82+
<property key="labeling/maxNumLabels" value="100"/>
7683
<property key="labeling/mergeLines" value="false"/>
7784
<property key="labeling/minFeatureSize" value="0"/>
7885
<property key="labeling/multiLineLabels" value="false"/>
7986
<property key="labeling/multilineAlign" value="0"/>
8087
<property key="labeling/multilineHeight" value="1"/>
8188
<property key="labeling/namedStyle" value=""/>
8289
<property key="labeling/obstacle" value="true"/>
90+
<property key="labeling/placeDirectionSymbol" value="0"/>
8391
<property key="labeling/placement" value="1"/>
8492
<property key="labeling/placementFlags" value="0"/>
8593
<property key="labeling/plussign" value="true"/>
8694
<property key="labeling/preserveRotation" value="true"/>
8795
<property key="labeling/previewBkgrdColor" value="#ffffff"/>
8896
<property key="labeling/priority" value="5"/>
97+
<property key="labeling/reverseDirectionSymbol" value="false"/>
98+
<property key="labeling/rightDirectionSymbol" value=">"/>
8999
<property key="labeling/scaleMax" value="0"/>
90100
<property key="labeling/scaleMin" value="0"/>
91101
<property key="labeling/textColorB" value="217"/>

0 commit comments

Comments
 (0)