mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] Add new projection candidate to test
This commit is contained in:
parent
c1d32f6095
commit
191a952e13
@ -1,16 +0,0 @@
|
||||
<GMLFeatureClassList>
|
||||
<GMLFeatureClass>
|
||||
<Name>projection_candidates</Name>
|
||||
<ElementPath>projection_candidates</ElementPath>
|
||||
<GeometryType>100</GeometryType>
|
||||
<DatasetSpecificInfo>
|
||||
<FeatureCount>8</FeatureCount>
|
||||
</DatasetSpecificInfo>
|
||||
<PropertyDefn>
|
||||
<Name>auth_id</Name>
|
||||
<ElementPath>auth_id</ElementPath>
|
||||
<Type>String</Type>
|
||||
<Width>14</Width>
|
||||
</PropertyDefn>
|
||||
</GMLFeatureClass>
|
||||
</GMLFeatureClassList>
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ogr:FeatureCollection
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation=""
|
||||
xsi:schemaLocation="http://ogr.maptools.org/ projection_candidates.xsd"
|
||||
xmlns:ogr="http://ogr.maptools.org/"
|
||||
xmlns:gml="http://www.opengis.net/gml">
|
||||
<gml:boundedBy><gml:null>missing</gml:null></gml:boundedBy>
|
||||
@ -46,4 +46,9 @@
|
||||
<ogr:auth_id>EPSG:5552</ogr:auth_id>
|
||||
</ogr:projection_candidates>
|
||||
</gml:featureMember>
|
||||
<gml:featureMember>
|
||||
<ogr:projection_candidates fid="projection_candidates.8">
|
||||
<ogr:auth_id>EPSG:7856</ogr:auth_id>
|
||||
</ogr:projection_candidates>
|
||||
</gml:featureMember>
|
||||
</ogr:FeatureCollection>
|
||||
|
29
python/plugins/processing/tests/testdata/expected/projection_candidates.xsd
vendored
Normal file
29
python/plugins/processing/tests/testdata/expected/projection_candidates.xsd
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0">
|
||||
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
|
||||
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
|
||||
<xs:complexType name="FeatureCollectionType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="gml:AbstractFeatureCollectionType">
|
||||
<xs:attribute name="lockId" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="scope" type="xs:string" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="projection_candidates" type="ogr:projection_candidates_Type" substitutionGroup="gml:_Feature"/>
|
||||
<xs:complexType name="projection_candidates_Type">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="gml:AbstractFeatureType">
|
||||
<xs:sequence>
|
||||
<xs:element name="auth_id" nillable="true" minOccurs="0" maxOccurs="1">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="20"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
Loading…
x
Reference in New Issue
Block a user