QGIS/tests/testdata/qgis_server/test_project_values.qgs
Tudor Bărăscu 27b417004b Add GetFeature test with array layer
Also added the missing response xmls (forgot to add them
in previous commits)
2018-04-11 15:31:14 +03:00

1676 lines
68 KiB
Plaintext

<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.1.0-Master" projectname="QGIS Test Project">
<homePath path=""/>
<title>QGIS Test Project</title>
<autotransaction active="0"/>
<evaluateDefaultValues active="0"/>
<trust active="0"/>
<projectCrs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</projectCrs>
<layer-tree-group>
<customproperties/>
<layer-tree-layer name="material_values" providerKey="ogr" expanded="1" id="material_values_07693a17_8d8d_4657_8645_0d1364588136" source="./material_values.csv" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<layer-tree-layer name="value_dict" providerKey="ogr" expanded="1" id="value_dict_4e5dce19_7169_42fe_8408_4927be615c09" source="./value_dict.csv" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<layer-tree-layer name="layer0" providerKey="ogr" expanded="1" id="testlayer20150528120452665" source="./testlayer.shp" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<layer-tree-layer name="layer1" providerKey="ogr" expanded="1" id="layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1" source="./testlayer.shp" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<layer-tree-layer name="layer2" providerKey="ogr" expanded="1" id="layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5" source="./testlayer.shp" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<layer-tree-layer name="layer3" providerKey="postgres" expanded="1" id="array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281" source="service='qgis_test' sslmode=disable key='id' srid=3857 type=Point table=&quot;qgis_test&quot;.&quot;array_tbl&quot; (geom) sql=" checked="Qt::Checked">
<customproperties/>
</layer-tree-layer>
<custom-order enabled="0">
<item>testlayer20150528120452665</item>
<item>layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1</item>
<item>layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5</item>
<item>array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281</item>
</custom-order>
</layer-tree-group>
<snapping-settings type="2" tolerance="0" unit="2" intersection-snapping="0" enabled="0" mode="1">
<individual-layer-settings>
<layer-setting type="2" tolerance="0" units="2" id="testlayer20150528120452665" enabled="0"/>
<layer-setting type="2" tolerance="30" units="1" id="layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5" enabled="1"/>
<layer-setting type="2" tolerance="30" units="1" id="layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1" enabled="1"/>
<layer-setting type="2" tolerance="30" units="1" id="array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281" enabled="1"/>
</individual-layer-settings>
</snapping-settings>
<relations>
<relation name="test-relation" id="test-relation" referencingLayer="layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5" strength="Association" referencedLayer="material_values_07693a17_8d8d_4657_8645_0d1364588136">
<fieldRef referencingField="id" referencedField="id"/>
</relation>
</relations>
<mapcanvas name="theMapCanvas" annotationsVisible="1">
<units>degrees</units>
<extent>
<xmin>8.20264578195449801</xmin>
<ymin>44.90112783049693235</ymin>
<xmax>8.20467327977446459</xmax>
<ymax>44.90170711558835137</ymax>
</extent>
<rotation>0</rotation>
<destinationsrs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</destinationsrs>
<rendermaptile>0</rendermaptile>
</mapcanvas>
<legend updateDrawingOrder="true">
<legendlayer name="material_values" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="material_values_07693a17_8d8d_4657_8645_0d1364588136" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
<legendlayer name="value_dict" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="value_dict_4e5dce19_7169_42fe_8408_4927be615c09" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
<legendlayer name="layer0" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="testlayer20150528120452665" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
<legendlayer name="layer1" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
<legendlayer name="layer2" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
<legendlayer name="layer3" drawingOrder="-1" checked="Qt::Checked" showFeatureCount="0" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile layerid="array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281" visible="1" isInOverview="0"/>
</filegroup>
</legendlayer>
</legend>
<mapViewDocks/>
<mapcanvas name="mAreaCanvas" annotationsVisible="1">
<units>degrees</units>
<extent>
<xmin>0</xmin>
<ymin>0</ymin>
<xmax>0</xmax>
<ymax>0</ymax>
</extent>
<rotation>0</rotation>
<destinationsrs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</destinationsrs>
<rendermaptile>0</rendermaptile>
</mapcanvas>
<mapcanvas name="mAreaCanvas" annotationsVisible="1">
<units>degrees</units>
<extent>
<xmin>0</xmin>
<ymin>0</ymin>
<xmax>0</xmax>
<ymax>0</ymax>
</extent>
<rotation>0</rotation>
<destinationsrs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</destinationsrs>
<rendermaptile>0</rendermaptile>
</mapcanvas>
<mapcanvas name="mAreaCanvas" annotationsVisible="1">
<units>degrees</units>
<extent>
<xmin>0</xmin>
<ymin>0</ymin>
<xmax>0</xmax>
<ymax>0</ymax>
</extent>
<rotation>0</rotation>
<destinationsrs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</destinationsrs>
<rendermaptile>0</rendermaptile>
</mapcanvas>
<projectlayers>
<maplayer refreshOnNotifyEnabled="0" simplifyAlgorithm="0" refreshOnNotifyMessage="" type="vector" labelsEnabled="0" minScale="1e+8" simplifyMaxScale="1" simplifyDrawingHints="0" simplifyLocal="0" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="Point" readOnly="0" autoRefreshTime="0" simplifyDrawingTol="1">
<extent>
<xmin>913204.91280000004917383</xmin>
<ymin>5606011.45650000032037497</ymin>
<xmax>913214.67409999994561076</xmax>
<ymax>5606025.23730000015348196</ymax>
</extent>
<id>array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281</id>
<datasource>service='qgis_test' sslmode=disable key='id' srid=3857 type=Point table="qgis_test"."array_tbl" (geom) sql=</datasource>
<keywordList>
<value></value>
</keywordList>
<layername>layer3</layername>
<srs>
<spatialrefsys>
<proj4>+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs</proj4>
<srsid>3857</srsid>
<srid>3857</srid>
<authid>EPSG:3857</authid>
<description>WGS 84 / Pseudo Mercator</description>
<projectionacronym>merc</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type>dataset</type>
<title></title>
<abstract></abstract>
<contact>
<name></name>
<organization></organization>
<position></position>
<voice></voice>
<fax></fax>
<email></email>
<role></role>
</contact>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4>+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs</proj4>
<srsid>3857</srsid>
<srid>3857</srid>
<authid>EPSG:3857</authid>
<description>WGS 84 / Pseudo Mercator</description>
<projectionacronym>merc</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent>
<spatial crs="EPSG:3857" minx="0" dimensions="2" minz="0" miny="0" maxz="0" maxx="0" maxy="0"/>
<temporal>
<period>
<start></start>
<end></end>
</period>
</temporal>
</extent>
</resourceMetadata>
<provider encoding="UTF-8">postgres</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<renderer-v2 forceraster="0" type="singleSymbol" symbollevels="0" enableorderby="0">
<symbols>
<symbol name="0" type="marker" clip_to_extent="1" alpha="1">
<layer locked="0" pass="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="141,90,153,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="solid" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="diameter" k="scale_method"/>
<prop v="2" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<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 attributeLegend="1" diagramType="Histogram">
<DiagramCategory labelPlacementMethod="XHeight" penWidth="0" barWidth="5" rotationOffset="270" opacity="1" width="15" lineSizeScale="3x:0,0,0,0,0,0" penAlpha="255" penColor="#000000" backgroundColor="#ffffff" lineSizeType="MM" backgroundAlpha="255" sizeScale="3x:0,0,0,0,0,0" scaleDependency="Area" maxScaleDenominator="1e+8" enabled="0" minScaleDenominator="0" scaleBasedVisibility="0" minimumSize="0" sizeType="MM" height="15" diagramOrientation="Up">
<fontProperties style="" description="Sans Serif,9,-1,5,50,0,0,0,0,0"/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings priority="0" dist="0" obstacle="0" linePlacementFlags="18" placement="0" zIndex="0" showAll="1">
<properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="id">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="location">
<editWidget type="ValueRelation">
<config>
<Option type="Map">
<Option name="AllowMulti" type="bool" value="true"/>
<Option name="AllowNull" type="bool" value="false"/>
<Option name="FilterExpression" type="QString" value=""/>
<Option name="Key" type="QString" value="id"/>
<Option name="Layer" type="QString" value="value_dict_4e5dce19_7169_42fe_8408_4927be615c09"/>
<Option name="NofColumns" type="int" value="3"/>
<Option name="OrderByValue" type="bool" value="false"/>
<Option name="UseCompleter" type="bool" value="false"/>
<Option name="Value" type="QString" value="value_id"/>
</Option>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="location" index="1"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="location" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="1" constraints="3" exp_strength="0" field="id" unique_strength="1"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="location" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="location" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="location" type="field" hidden="0" width="-1"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform></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="location" editable="1"/>
</editable>
<labelOnTop>
<field name="id" labelOnTop="0"/>
<field name="location" labelOnTop="0"/>
</labelOnTop>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>id</previewExpression>
<mapTip></mapTip>
</maplayer>
<maplayer refreshOnNotifyEnabled="0" simplifyAlgorithm="0" refreshOnNotifyMessage="" type="vector" labelsEnabled="0" minScale="1e+8" simplifyMaxScale="1" simplifyDrawingHints="0" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="Point" readOnly="0" autoRefreshTime="0" simplifyDrawingTol="1">
<extent>
<xmin>8.20345930703634352</xmin>
<ymin>44.90139483904469131</ymin>
<xmax>8.20354699399348775</xmax>
<ymax>44.90148252600183554</ymax>
</extent>
<id>layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1</id>
<datasource>./testlayer.shp</datasource>
<title>A test vector layer</title>
<abstract>A test vector layer with unicode òà</abstract>
<keywordList>
<value></value>
</keywordList>
<layername>layer1</layername>
<srs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title></title>
<abstract></abstract>
<contact>
<name></name>
<organization></organization>
<position></position>
<voice></voice>
<fax></fax>
<email></email>
<role></role>
</contact>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</crs>
<extent>
<spatial crs="" minx="0" dimensions="2" minz="0" miny="0" maxz="0" maxx="0" maxy="0"/>
<temporal>
<period>
<start></start>
<end></end>
</period>
</temporal>
</extent>
</resourceMetadata>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<renderer-v2 forceraster="0" type="singleSymbol" symbollevels="0" enableorderby="0">
<symbols>
<symbol name="0" type="marker" clip_to_extent="1" alpha="1">
<layer locked="0" pass="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="102,164,67,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="0,0,0,255" k="outline_color"/>
<prop v="solid" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="area" k="scale_method"/>
<prop v="2" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<rotation/>
<sizescale/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
</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 attributeLegend="1" diagramType="Pie">
<DiagramCategory labelPlacementMethod="XHeight" penWidth="0" barWidth="5" rotationOffset="270" opacity="1" width="15" lineSizeScale="3x:0,0,0,0,0,0" penAlpha="255" penColor="#000000" backgroundColor="#ffffff" lineSizeType="MM" backgroundAlpha="255" sizeScale="3x:0,0,0,0,0,0" scaleDependency="Area" maxScaleDenominator="1e+8" enabled="0" minScaleDenominator="0" scaleBasedVisibility="0" minimumSize="0" sizeType="MM" height="15" diagramOrientation="Up">
<fontProperties style="" description="Ubuntu,9,-1,5,50,0,0,0,0,0"/>
<attribute field="" color="#000000" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings priority="0" dist="0" obstacle="0" linePlacementFlags="2" placement="0" zIndex="0" showAll="1">
<properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties" type="Map">
<Option name="show" type="Map">
<Option name="active" type="bool" value="true"/>
<Option name="field" type="QString" value="id"/>
<Option name="type" type="int" value="2"/>
</Option>
</Option>
<Option name="type" type="QString" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="id">
<editWidget type="ValueRelation">
<config>
<Option type="Map">
<Option name="AllowMulti" type="bool" value="false"/>
<Option name="AllowNull" type="bool" value="false"/>
<Option name="FilterExpression" type="QString" value=""/>
<Option name="Key" type="QString" value="id"/>
<Option name="Layer" type="QString" value="value_dict_4e5dce19_7169_42fe_8408_4927be615c09"/>
<Option name="NofColumns" type="int" value="1"/>
<Option name="OrderByValue" type="bool" value="false"/>
<Option name="UseCompleter" type="bool" value="false"/>
<Option name="Value" type="QString" value="value_id"/>
</Option>
</config>
</editWidget>
</field>
<field name="name">
<editWidget type="ValueRelation">
<config>
<Option type="Map">
<Option name="AllowMulti" type="bool" value="false"/>
<Option name="AllowNull" type="bool" value="false"/>
<Option name="FilterExpression" type="QString" value=""/>
<Option name="Key" type="QString" value="reverse"/>
<Option name="Layer" type="QString" value="value_dict_4e5dce19_7169_42fe_8408_4927be615c09"/>
<Option name="NofColumns" type="int" value="1"/>
<Option name="OrderByValue" type="bool" value="false"/>
<Option name="UseCompleter" type="bool" value="false"/>
<Option name="Value" type="QString" value="reverse_val"/>
</Option>
</config>
</editWidget>
</field>
<field name="utf8nameè">
<editWidget type="TextEdit">
<config>
<Option type="Map">
<Option name="IsMultiline" type="bool" value="false"/>
<Option name="UseHtml" type="bool" value="false"/>
</Option>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="name" index="1"/>
<alias name="" field="utf8nameè" index="2"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="name" expression="" applyOnUpdate="0"/>
<default field="utf8nameè" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="name" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="utf8nameè" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="name" exp=""/>
<constraint desc="" field="utf8nameè" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="name" type="field" hidden="0" width="-1"/>
<column name="utf8nameè" type="field" hidden="0" width="130"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform>../../../../qgis2/tests/testdata/qgis_server</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath>../../../../qgis2/tests/testdata/qgis_server</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="name" editable="1"/>
<field name="utf8nameè" editable="1"/>
</editable>
<labelOnTop>
<field name="id" labelOnTop="0"/>
<field name="name" labelOnTop="0"/>
<field name="utf8nameè" labelOnTop="0"/>
</labelOnTop>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>COALESCE( "name", '&lt;NULL>' )</previewExpression>
<mapTip></mapTip>
</maplayer>
<maplayer refreshOnNotifyEnabled="0" simplifyAlgorithm="0" refreshOnNotifyMessage="" type="vector" labelsEnabled="0" minScale="1e+8" simplifyMaxScale="1" simplifyDrawingHints="0" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="Point" readOnly="0" autoRefreshTime="0" simplifyDrawingTol="1">
<extent>
<xmin>8.20345930703634352</xmin>
<ymin>44.90139483904469131</ymin>
<xmax>8.20354699399348775</xmax>
<ymax>44.90148252600183554</ymax>
</extent>
<id>layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5</id>
<datasource>./testlayer.shp</datasource>
<title>A test vector layer</title>
<abstract>A test vector layer with unicode òà</abstract>
<keywordList>
<value></value>
</keywordList>
<layername>layer2</layername>
<srs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title></title>
<abstract></abstract>
<contact>
<name></name>
<organization></organization>
<position></position>
<voice></voice>
<fax></fax>
<email></email>
<role></role>
</contact>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent>
<spatial crs="" minx="0" dimensions="2" minz="0" miny="0" maxz="0" maxx="0" maxy="0"/>
<temporal>
<period>
<start></start>
<end></end>
</period>
</temporal>
</extent>
</resourceMetadata>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<renderer-v2 forceraster="0" type="singleSymbol" symbollevels="0" enableorderby="0">
<symbols>
<symbol name="0" type="marker" clip_to_extent="1" alpha="1">
<layer locked="0" pass="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="102,164,67,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="0,0,0,255" k="outline_color"/>
<prop v="solid" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="area" k="scale_method"/>
<prop v="2" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<rotation/>
<sizescale/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
</renderer-v2>
<customproperties>
<property key="dualview/previewExpressions">
<value>COALESCE( "name", '&lt;NULL>' )</value>
<value>COALESCE( "name", '&lt;NULL>' )</value>
</property>
<property key="embeddedWidgets/count" value="0"/>
<property key="variableNames"/>
<property key="variableValues"/>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>1</layerOpacity>
<SingleCategoryDiagramRenderer attributeLegend="1" diagramType="Pie">
<DiagramCategory labelPlacementMethod="XHeight" penWidth="0" barWidth="5" rotationOffset="270" opacity="1" width="15" lineSizeScale="3x:0,0,0,0,0,0" penAlpha="255" penColor="#000000" backgroundColor="#ffffff" lineSizeType="MM" backgroundAlpha="255" sizeScale="3x:0,0,0,0,0,0" scaleDependency="Area" maxScaleDenominator="1e+8" enabled="0" minScaleDenominator="0" scaleBasedVisibility="0" minimumSize="0" sizeType="MM" height="15" diagramOrientation="Up">
<fontProperties style="" description="Ubuntu,9,-1,5,50,0,0,0,0,0"/>
<attribute field="" color="#000000" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings priority="0" dist="0" obstacle="0" linePlacementFlags="2" placement="0" zIndex="0" showAll="1">
<properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties" type="Map">
<Option name="show" type="Map">
<Option name="active" type="bool" value="true"/>
<Option name="field" type="QString" value="id"/>
<Option name="type" type="int" value="2"/>
</Option>
</Option>
<Option name="type" type="QString" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="id">
<editWidget type="RelationReference">
<config>
<Option type="Map">
<Option name="AllowAddFeatures" type="bool" value="false"/>
<Option name="AllowNULL" type="bool" value="false"/>
<Option name="ChainFilters" type="bool" value="true"/>
<Option name="FilterFields" type="StringList">
<Option type="QString" value="short_ro"/>
<Option type="QString" value="diameter"/>
</Option>
<Option name="MapIdentification" type="bool" value="false"/>
<Option name="OrderByValue" type="bool" value="false"/>
<Option name="ReadOnly" type="bool" value="false"/>
<Option name="Relation" type="QString" value="test-relation"/>
<Option name="ShowForm" type="bool" value="false"/>
<Option name="ShowOpenFormButton" type="bool" value="true"/>
</Option>
</config>
</editWidget>
</field>
<field name="name">
<editWidget type="TextEdit">
<config>
<Option type="Map">
<Option name="IsMultiline" type="bool" value="false"/>
<Option name="UseHtml" type="bool" value="false"/>
</Option>
</config>
</editWidget>
</field>
<field name="utf8nameè">
<editWidget type="TextEdit">
<config>
<Option type="Map">
<Option name="IsMultiline" type="bool" value="false"/>
<Option name="UseHtml" type="bool" value="false"/>
</Option>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="name" index="1"/>
<alias name="" field="utf8nameè" index="2"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="name" expression="" applyOnUpdate="0"/>
<default field="utf8nameè" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="2" constraints="1" exp_strength="0" field="id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="name" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="utf8nameè" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="name" exp=""/>
<constraint desc="" field="utf8nameè" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="name" type="field" hidden="0" width="-1"/>
<column name="utf8nameè" type="field" hidden="0" width="130"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform>../../../../qgis2/tests/testdata/qgis_server</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath>../../../../qgis2/tests/testdata/qgis_server</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="name" editable="1"/>
<field name="utf8nameè" editable="1"/>
</editable>
<labelOnTop>
<field name="id" labelOnTop="0"/>
<field name="name" labelOnTop="0"/>
<field name="utf8nameè" labelOnTop="0"/>
</labelOnTop>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>COALESCE( "name", '&lt;NULL>' )</previewExpression>
<mapTip></mapTip>
</maplayer>
<maplayer refreshOnNotifyEnabled="0" refreshOnNotifyMessage="" type="vector" minScale="1e+8" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="No geometry" readOnly="0" autoRefreshTime="0">
<id>material_values_07693a17_8d8d_4657_8645_0d1364588136</id>
<datasource>./material_values.csv</datasource>
<keywordList>
<value></value>
</keywordList>
<layername>material_values</layername>
<srs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title></title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent/>
</resourceMetadata>
<customproperties>
<property key="dualview/previewExpressions">
<value>_displayname_en</value>
<value>"id"</value>
</property>
</customproperties>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<fieldConfiguration>
<field name="id">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="short_ro">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="_displayname_en">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="diameter">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="pressure_nominal">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="short_ro" index="1"/>
<alias name="" field="_displayname_en" index="2"/>
<alias name="" field="diameter" index="3"/>
<alias name="" field="pressure_nominal" index="4"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="short_ro" expression="" applyOnUpdate="0"/>
<default field="_displayname_en" expression="" applyOnUpdate="0"/>
<default field="diameter" expression="" applyOnUpdate="0"/>
<default field="pressure_nominal" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="short_ro" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="_displayname_en" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="diameter" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="pressure_nominal" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="short_ro" exp=""/>
<constraint desc="" field="_displayname_en" exp=""/>
<constraint desc="" field="diameter" exp=""/>
<constraint desc="" field="pressure_nominal" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="short_ro" type="field" hidden="0" width="-1"/>
<column name="_displayname_en" type="field" hidden="0" width="150"/>
<column name="diameter" type="field" hidden="0" width="-1"/>
<column name="pressure_nominal" type="field" hidden="0" width="136"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform>.</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable/>
<labelOnTop/>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>'value ' || _displayname_en</previewExpression>
<mapTip></mapTip>
</maplayer>
<maplayer refreshOnNotifyEnabled="0" simplifyAlgorithm="0" refreshOnNotifyMessage="" type="vector" labelsEnabled="1" minScale="1e+8" simplifyMaxScale="1" simplifyDrawingHints="0" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="Point" readOnly="0" autoRefreshTime="0" simplifyDrawingTol="1">
<extent>
<xmin>8.20345930703634352</xmin>
<ymin>44.90139483904469131</ymin>
<xmax>8.20354699399348775</xmax>
<ymax>44.90148252600183554</ymax>
</extent>
<id>testlayer20150528120452665</id>
<datasource>./testlayer.shp</datasource>
<title>A test vector layer</title>
<abstract>A test vector layer with unicode òà</abstract>
<keywordList>
<value></value>
</keywordList>
<layername>layer0</layername>
<srs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title></title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent/>
</resourceMetadata>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<renderer-v2 forceraster="0" type="singleSymbol" symbollevels="0" enableorderby="0">
<symbols>
<symbol name="0" type="marker" clip_to_extent="1" alpha="1">
<layer locked="0" pass="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="102,164,67,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="0,0,0,255" k="outline_color"/>
<prop v="solid" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="area" k="scale_method"/>
<prop v="2" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<rotation/>
<sizescale/>
<effect type="effectStack" enabled="0">
<effect type="drawSource">
<prop v="0" k="blend_mode"/>
<prop v="2" k="draw_mode"/>
<prop v="1" k="enabled"/>
<prop v="1" k="opacity"/>
</effect>
</effect>
</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 attributeLegend="1" diagramType="Pie">
<DiagramCategory labelPlacementMethod="XHeight" penWidth="0" barWidth="5" rotationOffset="270" opacity="1" width="15" lineSizeScale="3x:0,0,0,0,0,0" penAlpha="255" penColor="#000000" backgroundColor="#ffffff" lineSizeType="MM" backgroundAlpha="255" sizeScale="3x:0,0,0,0,0,0" scaleDependency="Area" maxScaleDenominator="1e+8" enabled="0" minScaleDenominator="inf" scaleBasedVisibility="0" minimumSize="0" sizeType="MM" height="15" diagramOrientation="Up">
<fontProperties style="" description="Ubuntu,9,-1,5,50,0,0,0,0,0"/>
<attribute field="" color="#000000" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings priority="0" dist="0" obstacle="0" linePlacementFlags="10" placement="0" zIndex="0" showAll="1">
<properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties" type="Map">
<Option name="show" type="Map">
<Option name="active" type="bool" value="true"/>
<Option name="field" type="QString" value="id"/>
<Option name="type" type="int" value="2"/>
</Option>
</Option>
<Option name="type" type="QString" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="id">
<editWidget type="TextEdit">
<config>
<Option type="Map">
<Option name="IsMultiline" type="QString" value="0"/>
<Option name="UseHtml" type="QString" value="0"/>
</Option>
</config>
</editWidget>
</field>
<field name="name">
<editWidget type="TextEdit">
<config>
<Option type="Map">
<Option name="IsMultiline" type="QString" value="0"/>
<Option name="UseHtml" type="QString" value="0"/>
</Option>
</config>
</editWidget>
</field>
<field name="utf8nameè">
<editWidget type="ValueMap">
<config>
<Option type="Map">
<Option name="map" type="Map">
<Option name="First Value" type="QString" value="one èé"/>
<Option name="Second Value" type="QString" value="two àò"/>
<Option name="Third èé↓" type="QString" value="three èé↓"/>
</Option>
</Option>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="name" index="1"/>
<alias name="" field="utf8nameè" index="2"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="name" expression="" applyOnUpdate="0"/>
<default field="utf8nameè" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="name" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="utf8nameè" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="name" exp=""/>
<constraint desc="" field="utf8nameè" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="name" type="field" hidden="0" width="-1"/>
<column name="utf8nameè" type="field" hidden="0" width="130"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform>../../../../qgis2/tests/testdata/qgis_server</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath>../../../../qgis2/tests/testdata/qgis_server</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/>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>COALESCE( "name", '&lt;NULL>' )</previewExpression>
<mapTip></mapTip>
</maplayer>
<maplayer refreshOnNotifyEnabled="0" refreshOnNotifyMessage="" type="vector" minScale="1e+8" hasScaleBasedVisibilityFlag="0" maxScale="0" autoRefreshEnabled="0" geometry="No geometry" readOnly="0" autoRefreshTime="0">
<id>value_dict_4e5dce19_7169_42fe_8408_4927be615c09</id>
<datasource>./value_dict.csv</datasource>
<keywordList>
<value></value>
</keywordList>
<layername>value_dict</layername>
<srs>
<spatialrefsys>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>WGS84</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title></title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent/>
</resourceMetadata>
<customproperties>
<property key="dualview/previewExpressions" value="&quot;id&quot;"/>
</customproperties>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins/>
<layerDependencies/>
<dataDependencies/>
<expressionfields/>
<map-layer-style-manager current="default">
<map-layer-style name="default"/>
</map-layer-style-manager>
<auxiliaryLayer/>
<fieldConfiguration>
<field name="id">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="value_id">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="reverse">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="reverse_val">
<editWidget type="">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="id" index="0"/>
<alias name="" field="value_id" index="1"/>
<alias name="" field="reverse" index="2"/>
<alias name="" field="reverse_val" index="3"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="id" expression="" applyOnUpdate="0"/>
<default field="value_id" expression="" applyOnUpdate="0"/>
<default field="reverse" expression="" applyOnUpdate="0"/>
<default field="reverse_val" expression="" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="value_id" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="reverse" unique_strength="0"/>
<constraint notnull_strength="0" constraints="0" exp_strength="0" field="reverse_val" unique_strength="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" field="id" exp=""/>
<constraint desc="" field="value_id" exp=""/>
<constraint desc="" field="reverse" exp=""/>
<constraint desc="" field="reverse_val" exp=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column name="id" type="field" hidden="0" width="-1"/>
<column name="value_id" type="field" hidden="0" width="-1"/>
<column name="reverse" type="field" hidden="0" width="-1"/>
<column name="reverse_val" type="field" hidden="0" width="-1"/>
<column type="actions" hidden="1" width="-1"/>
</columns>
</attributetableconfig>
<editform>.</editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable/>
<labelOnTop/>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>"id"</previewExpression>
<mapTip></mapTip>
</maplayer>
</projectlayers>
<layerorder>
<layer id="testlayer20150528120452665"/>
<layer id="layer0_5eef4a92_d4ca_47ad_a912_4860ad969cc1"/>
<layer id="layer1_66e93820_d5fe_42f0_aa38_75ac431a64f5"/>
<layer id="array_tbl_70c06ef2_bdfe_4412_94f0_5b8d1c317281"/>
</layerorder>
<properties>
<WFSUrl type="QString"></WFSUrl>
<PositionPrecision>
<DecimalPlaces type="int">2</DecimalPlaces>
<Automatic type="bool">true</Automatic>
<DegreeFormat type="QString">D</DegreeFormat>
</PositionPrecision>
<Measurement>
<AreaUnits type="QString">m2</AreaUnits>
<DistanceUnits type="QString">meters</DistanceUnits>
</Measurement>
<WMSRestrictedLayers type="QStringList"/>
<WMSContactOrganization type="QString">QGIS dev team</WMSContactOrganization>
<WMSServiceCapabilities type="bool">true</WMSServiceCapabilities>
<WFSLayers type="QStringList">
<value>testlayer20150528120452665</value>
</WFSLayers>
<WMSAccessConstraints type="QString">None</WMSAccessConstraints>
<Legend>
<filterByMap type="bool">false</filterByMap>
</Legend>
<WMSKeywordList type="QStringList">
<value></value>
</WMSKeywordList>
<WMSContactMail type="QString">elpaso@itopen.it</WMSContactMail>
<WFSLayersPrecision>
<testlayer20150528120452665 type="int">8</testlayer20150528120452665>
</WFSLayersPrecision>
<PAL>
<DrawOutlineLabels type="bool">true</DrawOutlineLabels>
<CandidatesLine type="int">50</CandidatesLine>
<ShowingAllLabels type="bool">false</ShowingAllLabels>
<CandidatesPoint type="int">16</CandidatesPoint>
<ShowingCandidates type="bool">false</ShowingCandidates>
<DrawRectOnly type="bool">false</DrawRectOnly>
<CandidatesPolygon type="int">30</CandidatesPolygon>
<SearchMethod type="int">0</SearchMethod>
<ShowingPartialsLabels type="bool">true</ShowingPartialsLabels>
</PAL>
<Gui>
<CanvasColorBluePart type="int">255</CanvasColorBluePart>
<CanvasColorRedPart type="int">255</CanvasColorRedPart>
<CanvasColorGreenPart type="int">255</CanvasColorGreenPart>
<SelectionColorBluePart type="int">0</SelectionColorBluePart>
<SelectionColorRedPart type="int">255</SelectionColorRedPart>
<SelectionColorAlphaPart type="int">255</SelectionColorAlphaPart>
<SelectionColorGreenPart type="int">255</SelectionColorGreenPart>
</Gui>
<Digitizing>
<DefaultSnapToleranceUnit type="int">2</DefaultSnapToleranceUnit>
<LayerSnappingToleranceList type="QStringList">
<value>0.000000</value>
</LayerSnappingToleranceList>
<LayerSnappingToleranceUnitList type="QStringList">
<value>2</value>
</LayerSnappingToleranceUnitList>
<LayerSnapToList type="QStringList">
<value>to_vertex_and_segment</value>
</LayerSnapToList>
<DefaultSnapType type="QString">off</DefaultSnapType>
<SnappingMode type="QString">current_layer</SnappingMode>
<DefaultSnapTolerance type="double">0</DefaultSnapTolerance>
<LayerSnappingList type="QStringList">
<value>testlayer20150528120452665</value>
</LayerSnappingList>
<AvoidIntersectionsList type="QStringList"/>
<LayerSnappingEnabledList type="QStringList">
<value>disabled</value>
</LayerSnappingEnabledList>
</Digitizing>
<WMSRestrictedComposers type="QStringList"/>
<SpatialRefSys>
<ProjectionsEnabled type="int">1</ProjectionsEnabled>
<ProjectCRSID type="int">3452</ProjectCRSID>
<ProjectCRSProj4String type="QString">+proj=longlat +datum=WGS84 +no_defs</ProjectCRSProj4String>
<ProjectCrs type="QString">EPSG:4326</ProjectCrs>
</SpatialRefSys>
<Identify>
<disabledLayers type="QStringList"/>
</Identify>
<WMSContactPhone type="QString"></WMSContactPhone>
<WMSUseLayerIDs type="bool">false</WMSUseLayerIDs>
<Measure>
<Ellipsoid type="QString">WGS84</Ellipsoid>
</Measure>
<WMSExtent type="QStringList">
<value>8.20315414376310059</value>
<value>44.901236559338642</value>
<value>8.204164917965862</value>
<value>44.90159838674664172</value>
</WMSExtent>
<WFSTLayers>
<Delete type="QStringList">
<value>testlayer20150528120452665</value>
</Delete>
<Update type="QStringList">
<value>testlayer20150528120452665</value>
</Update>
<Insert type="QStringList">
<value>testlayer20150528120452665</value>
</Insert>
</WFSTLayers>
<WMSAddWktGeometry type="bool">true</WMSAddWktGeometry>
<Variables>
<variableNames type="QStringList"/>
<variableValues type="QStringList"/>
</Variables>
<WMSRequestDefinedDataSources type="bool">false</WMSRequestDefinedDataSources>
<WMSContactPerson type="QString">Alessandro Pasotti</WMSContactPerson>
<WMSOnlineResource type="QString"></WMSOnlineResource>
<WMSUrl type="QString"></WMSUrl>
<WMSFees type="QString">conditions unknown</WMSFees>
<WMSSegmentizeFeatureInfoGeometry type="bool">false</WMSSegmentizeFeatureInfoGeometry>
<Macros>
<pythonCode type="QString"></pythonCode>
</Macros>
<WCSUrl type="QString"></WCSUrl>
<WMSPrecision type="QString">4</WMSPrecision>
<Paths>
<Absolute type="bool">false</Absolute>
</Paths>
<WMSImageQuality type="int">90</WMSImageQuality>
<WMSServiceAbstract type="QString">Some UTF8 text èòù</WMSServiceAbstract>
<DefaultStyles>
<ColorRamp type="QString"></ColorRamp>
<Opacity type="double">1</Opacity>
<Marker type="QString"></Marker>
<RandomColors type="bool">true</RandomColors>
<Fill type="QString"></Fill>
<AlphaInt type="int">255</AlphaInt>
<Line type="QString"></Line>
</DefaultStyles>
<WCSLayers type="QStringList"/>
<WMSServiceTitle type="QString">QGIS TestProject</WMSServiceTitle>
<WMSContactPosition type="QString"></WMSContactPosition>
</properties>
<visibility-presets/>
<transformContext/>
<projectMetadata>
<identifier></identifier>
<parentidentifier></parentidentifier>
<language></language>
<type></type>
<title>QGIS Test Project</title>
<abstract></abstract>
<contact>
<name></name>
<organization></organization>
<position></position>
<voice></voice>
<fax></fax>
<email></email>
<role></role>
</contact>
<links/>
<author></author>
<creation>2000-01-01T00:00:00</creation>
</projectMetadata>
<Annotations/>
<Layouts/>
</qgis>