QGIS/tests/testdata/qgis_server/test_project_render_context.qgs

571 lines
22 KiB
Plaintext
Raw Normal View History

<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.1.0-Master" projectname="">
<homePath path=""/>
<title></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="points" checked="Qt::Checked" expanded="1" id="points_2a5005e4_9e71_4f28_9b86_d2448c6038b7" providerKey="ogr" source="../points.shp">
<customproperties/>
</layer-tree-layer>
<custom-order enabled="0">
<item>points_2a5005e4_9e71_4f28_9b86_d2448c6038b7</item>
</custom-order>
</layer-tree-group>
<snapping-settings tolerance="10" enabled="1" mode="2" intersection-snapping="0" unit="1" type="2">
<individual-layer-settings>
<layer-setting tolerance="10" enabled="1" id="points_2a5005e4_9e71_4f28_9b86_d2448c6038b7" units="1" type="2"/>
</individual-layer-settings>
</snapping-settings>
<relations/>
<mapcanvas name="theMapCanvas" annotationsVisible="1">
<units>degrees</units>
<extent>
<xmin>-119.77777777777767199</xmin>
<ymin>20.43979114263966324</ymin>
<xmax>-82.44444444444427234</xmax>
<ymax>49.23239657302677585</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 showFeatureCount="0" checked="Qt::Checked" name="points" drawingOrder="-1" open="true">
<filegroup hidden="false" open="true">
<legendlayerfile visible="1" isInOverview="0" layerid="points_2a5005e4_9e71_4f28_9b86_d2448c6038b7"/>
</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 simplifyAlgorithm="0" refreshOnNotifyEnabled="0" hasScaleBasedVisibilityFlag="0" geometry="Point" labelsEnabled="0" simplifyDrawingHints="0" simplifyMaxScale="1" maxScale="1" refreshOnNotifyMessage="" simplifyDrawingTol="1" simplifyLocal="1" autoRefreshTime="0" autoRefreshEnabled="0" readOnly="0" type="vector" minScale="1e+8">
<extent>
<xmin>-118.88888888888877204</xmin>
<ymin>22.80020703933767834</ymin>
<xmax>-83.33333333333315807</xmax>
<ymax>46.87198067632875365</ymax>
</extent>
<id>points_2a5005e4_9e71_4f28_9b86_d2448c6038b7</id>
<datasource>../points.shp</datasource>
<keywordList>
<value></value>
</keywordList>
<layername>points</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 dimensions="2" minz="0" maxy="0" crs="" miny="0" maxz="0" minx="0" maxx="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 enableorderby="0" type="singleSymbol" forceraster="0" symbollevels="0">
<symbols>
<symbol name="0" clip_to_extent="1" alpha="1" type="marker">
<layer locked="0" enabled="1" class="EllipseMarker" pass="0">
<prop k="angle" v="0"/>
<prop k="color" v="255,0,0,0"/>
<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_style" v="solid"/>
<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="symbol_height" v="5"/>
<prop k="symbol_height_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="symbol_height_unit" v="MM"/>
<prop k="symbol_name" v="rectangle"/>
<prop k="symbol_width" v="10"/>
<prop k="symbol_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="symbol_width_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option name="name" value="" type="QString"/>
<Option name="properties" type="Map">
<Option name="angle" type="Map">
<Option name="active" value="true" type="bool"/>
<Option name="expression" value="-@rotation" type="QString"/>
<Option name="type" value="3" type="int"/>
</Option>
</Option>
<Option name="type" value="collection" type="QString"/>
</Option>
</data_defined_properties>
</layer>
<layer locked="0" enabled="1" class="SimpleMarker" pass="0">
<prop k="angle" v="0"/>
<prop k="color" v="249,216,123,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<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_style" v="solid"/>
<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="scale_method" v="diameter"/>
<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 name="name" value="" type="QString"/>
<Option name="properties"/>
<Option name="type" value="collection" type="QString"/>
</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 diagramType="Histogram" attributeLegend="1">
<DiagramCategory penAlpha="255" sizeType="MM" barWidth="5" sizeScale="3x:0,0,0,0,0,0" minScaleDenominator="1" rotationOffset="270" backgroundAlpha="255" penColor="#000000" enabled="0" maxScaleDenominator="1e+8" labelPlacementMethod="XHeight" height="15" backgroundColor="#ffffff" lineSizeType="MM" scaleBasedVisibility="0" width="15" scaleDependency="Area" minimumSize="0" lineSizeScale="3x:0,0,0,0,0,0" diagramOrientation="Up" opacity="1" penWidth="0">
<fontProperties style="" description="Noto Sans,10,-1,5,50,0,0,0,0,0"/>
<attribute field="" color="#000000" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings linePlacementFlags="2" dist="0" priority="0" placement="0" zIndex="0" showAll="1" obstacle="0">
<properties>
<Option type="Map">
<Option name="name" value="" type="QString"/>
<Option name="properties"/>
<Option name="type" value="collection" type="QString"/>
</Option>
</properties>
</DiagramLayerSettings>
<fieldConfiguration>
<field name="Class">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="Heading">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="Importance">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="Pilots">
<editWidget type="Range">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="Cabin Crew">
<editWidget type="Range">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="Staff">
<editWidget type="Range">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias name="" field="Class" index="0"/>
<alias name="" field="Heading" index="1"/>
<alias name="" field="Importance" index="2"/>
<alias name="" field="Pilots" index="3"/>
<alias name="" field="Cabin Crew" index="4"/>
<alias name="" field="Staff" index="5"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default field="Class" applyOnUpdate="0" expression=""/>
<default field="Heading" applyOnUpdate="0" expression=""/>
<default field="Importance" applyOnUpdate="0" expression=""/>
<default field="Pilots" applyOnUpdate="0" expression=""/>
<default field="Cabin Crew" applyOnUpdate="0" expression=""/>
<default field="Staff" applyOnUpdate="0" expression=""/>
</defaults>
<constraints>
<constraint notnull_strength="0" field="Class" unique_strength="0" exp_strength="0" constraints="0"/>
<constraint notnull_strength="0" field="Heading" unique_strength="0" exp_strength="0" constraints="0"/>
<constraint notnull_strength="0" field="Importance" unique_strength="0" exp_strength="0" constraints="0"/>
<constraint notnull_strength="0" field="Pilots" unique_strength="0" exp_strength="0" constraints="0"/>
<constraint notnull_strength="0" field="Cabin Crew" unique_strength="0" exp_strength="0" constraints="0"/>
<constraint notnull_strength="0" field="Staff" unique_strength="0" exp_strength="0" constraints="0"/>
</constraints>
<constraintExpressions>
<constraint field="Class" exp="" desc=""/>
<constraint field="Heading" exp="" desc=""/>
<constraint field="Importance" exp="" desc=""/>
<constraint field="Pilots" exp="" desc=""/>
<constraint field="Cabin Crew" exp="" desc=""/>
<constraint field="Staff" exp="" desc=""/>
</constraintExpressions>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig sortOrder="0" sortExpression="" actionWidgetStyle="dropDown">
<columns>
<column name="Class" width="-1" hidden="0" type="field"/>
<column name="Heading" width="-1" hidden="0" type="field"/>
<column name="Importance" width="-1" hidden="0" type="field"/>
<column name="Pilots" width="-1" hidden="0" type="field"/>
<column name="Cabin Crew" width="-1" hidden="0" type="field"/>
<column name="Staff" width="-1" hidden="0" type="field"/>
<column width="-1" hidden="1" type="actions"/>
</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="Cabin Crew" editable="1"/>
<field name="Class" editable="1"/>
<field name="Heading" editable="1"/>
<field name="Importance" editable="1"/>
<field name="Pilots" editable="1"/>
<field name="Staff" editable="1"/>
</editable>
<labelOnTop>
<field name="Cabin Crew" labelOnTop="0"/>
<field name="Class" labelOnTop="0"/>
<field name="Heading" labelOnTop="0"/>
<field name="Importance" labelOnTop="0"/>
<field name="Pilots" labelOnTop="0"/>
<field name="Staff" labelOnTop="0"/>
</labelOnTop>
<widgets/>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<expressionfields/>
<previewExpression>Class</previewExpression>
<mapTip></mapTip>
</maplayer>
</projectlayers>
<layerorder>
<layer id="points_2a5005e4_9e71_4f28_9b86_d2448c6038b7"/>
</layerorder>
<properties>
<PositionPrecision>
<DegreeFormat type="QString">MU</DegreeFormat>
<DecimalPlaces type="int">2</DecimalPlaces>
<Automatic type="bool">true</Automatic>
</PositionPrecision>
<WMSContactPosition type="QString"></WMSContactPosition>
<WMSServiceAbstract type="QString"></WMSServiceAbstract>
<Macros>
<pythonCode type="QString"></pythonCode>
</Macros>
<WMSFees type="QString">conditions unknown</WMSFees>
<WFSTLayers>
<Delete type="QStringList"/>
<Update type="QStringList"/>
<Insert type="QStringList"/>
</WFSTLayers>
<WMSContactPhone type="QString"></WMSContactPhone>
<WMSContactPerson type="QString"></WMSContactPerson>
<DefaultStyles>
<Line type="QString"></Line>
<RandomColors type="bool">true</RandomColors>
<Opacity type="double">1</Opacity>
<Fill type="QString"></Fill>
<Marker type="QString"></Marker>
<ColorRamp type="QString"></ColorRamp>
</DefaultStyles>
<WMSOnlineResource type="QString"></WMSOnlineResource>
<WMSUrl type="QString"></WMSUrl>
<WMSKeywordList type="QStringList">
<value></value>
</WMSKeywordList>
<WFSUrl type="QString"></WFSUrl>
<WFSLayers type="QStringList"/>
<Gui>
<SelectionColorRedPart type="int">255</SelectionColorRedPart>
<CanvasColorGreenPart type="int">255</CanvasColorGreenPart>
<SelectionColorGreenPart type="int">255</SelectionColorGreenPart>
<SelectionColorBluePart type="int">0</SelectionColorBluePart>
<CanvasColorBluePart type="int">255</CanvasColorBluePart>
<SelectionColorAlphaPart type="int">255</SelectionColorAlphaPart>
<CanvasColorRedPart type="int">255</CanvasColorRedPart>
</Gui>
<WMSPrecision type="QString">8</WMSPrecision>
<Variables>
<variableValues type="QStringList">
<value>25</value>
</variableValues>
<variableNames type="QStringList">
<value>rotation</value>
</variableNames>
</Variables>
<WMSAccessConstraints type="QString">None</WMSAccessConstraints>
<WMSContactMail type="QString"></WMSContactMail>
<Legend>
<filterByMap type="bool">false</filterByMap>
</Legend>
<Measurement>
<DistanceUnits type="QString">meters</DistanceUnits>
<AreaUnits type="QString">m2</AreaUnits>
</Measurement>
<WMSImageQuality type="int">90</WMSImageQuality>
<WMSServiceTitle type="QString"></WMSServiceTitle>
<PAL>
<CandidatesPolygon type="int">30</CandidatesPolygon>
<CandidatesPoint type="int">16</CandidatesPoint>
<ShowingPartialsLabels type="bool">true</ShowingPartialsLabels>
<DrawRectOnly type="bool">false</DrawRectOnly>
<CandidatesLine type="int">50</CandidatesLine>
<SearchMethod type="int">0</SearchMethod>
<DrawOutlineLabels type="bool">true</DrawOutlineLabels>
<ShowingAllLabels type="bool">false</ShowingAllLabels>
<ShowingCandidates type="bool">false</ShowingCandidates>
</PAL>
<WCSUrl type="QString"></WCSUrl>
<Measure>
<Ellipsoid type="QString">NONE</Ellipsoid>
</Measure>
<WMSAddWktGeometry type="bool">false</WMSAddWktGeometry>
<SpatialRefSys>
<ProjectionsEnabled type="int">1</ProjectionsEnabled>
</SpatialRefSys>
<Identify>
<disabledLayers type="QStringList"/>
</Identify>
<WMSSegmentizeFeatureInfoGeometry type="bool">false</WMSSegmentizeFeatureInfoGeometry>
<WMSRequestDefinedDataSources type="bool">false</WMSRequestDefinedDataSources>
<WMSServiceCapabilities type="bool">false</WMSServiceCapabilities>
<WCSLayers type="QStringList"/>
<WMSUseLayerIDs type="bool">false</WMSUseLayerIDs>
<WMSContactOrganization type="QString"></WMSContactOrganization>
<Paths>
<Absolute type="bool">false</Absolute>
</Paths>
</properties>
<visibility-presets/>
<transformContext/>
<projectMetadata>
<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/>
<author>blottiere</author>
<creation>2018-04-12T14:00:36</creation>
</projectMetadata>
<Annotations/>
<Layouts/>
</qgis>