Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38039 from qgis-bot/backport-38034-to-release-3_14
[Backport release-3_14] PG style storage: replace forbidden XML unicode chars
- Loading branch information
Showing
5 changed files
with
237 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> | ||
<qgis version="3.15.0-Master" minScale="100000000" simplifyDrawingHints="0" labelsEnabled="0" hasScaleBasedVisibilityFlag="0" readOnly="0" simplifyMaxScale="1" simplifyDrawingTol="1.2" maxScale="0" styleCategories="AllStyleCategories" simplifyAlgorithm="0" simplifyLocal="1"> | ||
<flags> | ||
<Identifiable>1</Identifiable> | ||
<Removable>1</Removable> | ||
<Searchable>1</Searchable> | ||
</flags> | ||
<temporal endField="" startExpression="" durationField="" fixedDuration="0" enabled="0" accumulate="0" durationUnit="min" endExpression="" startField="" mode="0"> | ||
<fixedRange> | ||
<start></start> | ||
<end></end> | ||
</fixedRange> | ||
</temporal> | ||
<renderer-v2 symbollevels="0" forceraster="0" type="singleSymbol" enableorderby="0"> | ||
<symbols> | ||
<symbol name="0" alpha="1" force_rhr="0" type="marker" clip_to_extent="1"> | ||
<layer enabled="1" class="FontMarker" pass="0" locked="0"> | ||
<prop k="angle" v="0"/> | ||
<prop k="chr" v=""/> | ||
<prop k="color" v="145,82,45,255"/> | ||
<prop k="font" v="Dingbats"/> | ||
<prop k="font_style" v=""/> | ||
<prop k="horizontal_anchor_point" v="1"/> | ||
<prop k="joinstyle" v="bevel"/> | ||
<prop k="offset" v="0,0"/> | ||
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> | ||
<prop k="offset_unit" v="MM"/> | ||
<prop k="outline_color" v="35,35,35,255"/> | ||
<prop k="outline_width" v="0"/> | ||
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/> | ||
<prop k="outline_width_unit" v="MM"/> | ||
<prop k="size" v="2"/> | ||
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/> | ||
<prop k="size_unit" v="MM"/> | ||
<prop k="vertical_anchor_point" v="1"/> | ||
<data_defined_properties> | ||
<Option type="Map"> | ||
<Option value="" name="name" type="QString"/> | ||
<Option name="properties"/> | ||
<Option value="collection" name="type" type="QString"/> | ||
</Option> | ||
</data_defined_properties> | ||
</layer> | ||
</symbol> | ||
</symbols> | ||
<rotation/> | ||
<sizescale/> | ||
</renderer-v2> | ||
<customproperties> | ||
<property value="0" key="embeddedWidgets/count"/> | ||
<property key="variableNames"/> | ||
<property key="variableValues"/> | ||
</customproperties> | ||
<blendMode>0</blendMode> | ||
<featureBlendMode>0</featureBlendMode> | ||
<layerOpacity>1</layerOpacity> | ||
<SingleCategoryDiagramRenderer attributeLegend="1" diagramType="Histogram"> | ||
<DiagramCategory maxScaleDenominator="1e+08" backgroundColor="#ffffff" penAlpha="255" penColor="#000000" scaleBasedVisibility="0" rotationOffset="270" width="15" lineSizeType="MM" labelPlacementMethod="XHeight" sizeScale="3x:0,0,0,0,0,0" spacing="5" height="15" backgroundAlpha="255" lineSizeScale="3x:0,0,0,0,0,0" diagramOrientation="Up" spacingUnitScale="3x:0,0,0,0,0,0" minScaleDenominator="0" minimumSize="0" sizeType="MM" opacity="1" spacingUnit="MM" direction="0" enabled="0" barWidth="5" showAxis="1" scaleDependency="Area" penWidth="0"> | ||
<fontProperties description="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" style="Regular"/> | ||
<axisSymbol> | ||
<symbol name="" alpha="1" force_rhr="0" type="line" clip_to_extent="1"> | ||
<layer enabled="1" class="SimpleLine" pass="0" locked="0"> | ||
<prop k="align_dash_pattern" v="0"/> | ||
<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="dash_pattern_offset" v="0"/> | ||
<prop k="dash_pattern_offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> | ||
<prop k="dash_pattern_offset_unit" v="MM"/> | ||
<prop k="draw_inside_polygon" v="0"/> | ||
<prop k="joinstyle" v="bevel"/> | ||
<prop k="line_color" v="35,35,35,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="ring_filter" v="0"/> | ||
<prop k="tweak_dash_pattern_on_corners" v="0"/> | ||
<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 value="" name="name" type="QString"/> | ||
<Option name="properties"/> | ||
<Option value="collection" name="type" type="QString"/> | ||
</Option> | ||
</data_defined_properties> | ||
</layer> | ||
</symbol> | ||
</axisSymbol> | ||
</DiagramCategory> | ||
</SingleCategoryDiagramRenderer> | ||
<DiagramLayerSettings placement="0" priority="0" dist="0" zIndex="0" linePlacementFlags="18" showAll="1" obstacle="0"> | ||
<properties> | ||
<Option type="Map"> | ||
<Option value="" name="name" type="QString"/> | ||
<Option name="properties"/> | ||
<Option value="collection" name="type" type="QString"/> | ||
</Option> | ||
</properties> | ||
</DiagramLayerSettings> | ||
<geometryOptions removeDuplicateNodes="0" geometryPrecision="0"> | ||
<activeChecks/> | ||
<checkConfiguration/> | ||
</geometryOptions> | ||
<referencedLayers/> | ||
<referencingLayers/> | ||
<fieldConfiguration/> | ||
<aliases/> | ||
<excludeAttributesWMS/> | ||
<excludeAttributesWFS/> | ||
<defaults/> | ||
<constraints/> | ||
<constraintExpressions/> | ||
<expressionfields/> | ||
<attributeactions> | ||
<defaultAction value="{00000000-0000-0000-0000-000000000000}" key="Canvas"/> | ||
</attributeactions> | ||
<attributetableconfig actionWidgetStyle="dropDown" sortOrder="0" sortExpression=""> | ||
<columns> | ||
<column width="-1" type="actions" hidden="1"/> | ||
</columns> | ||
</attributetableconfig> | ||
<conditionalstyles> | ||
<rowstyles/> | ||
<fieldstyles/> | ||
</conditionalstyles> | ||
<storedexpressions/> | ||
<editform tolerant="1"></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/> | ||
<labelOnTop/> | ||
<dataDefinedFieldProperties/> | ||
<widgets/> | ||
<previewExpression></previewExpression> | ||
<mapTip></mapTip> | ||
<layerGeometryType>0</layerGeometryType> | ||
</qgis> |