Skip to content

Commit

Permalink
Add missing test files
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 23, 2017
1 parent ae42bf4 commit 5a802b5
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 0 deletions.
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ogr.maptools.org/ mean_coordinates_unique_grouped.xsd"
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>3</gml:X><gml:Y>-1.2</gml:Y></gml:coord>
<gml:coord><gml:X>3.5</gml:X><gml:Y>2</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:mean_coordinates_unique_grouped fid="mean_coordinates_unique_grouped.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.0,1.5</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>3.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>1.500000000000000</ogr:MEAN_Y>
<ogr:id2>2</ogr:id2>
</ogr:mean_coordinates_unique_grouped>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped fid="mean_coordinates_unique_grouped.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.4,-1.2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>3.400000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>-1.200000000000000</ogr:MEAN_Y>
<ogr:id2>0</ogr:id2>
</ogr:mean_coordinates_unique_grouped>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped fid="mean_coordinates_unique_grouped.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.5,2.0</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>3.500000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>2.000000000000000</ogr:MEAN_Y>
<ogr:id2>1</ogr:id2>
</ogr:mean_coordinates_unique_grouped>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,46 @@
<?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="mean_coordinates_unique_grouped" type="ogr:mean_coordinates_unique_grouped_Type" substitutionGroup="gml:_Feature"/>
<xs:complexType name="mean_coordinates_unique_grouped_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="geometryProperty" type="gml:PointPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
<xs:element name="MEAN_X" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MEAN_Y" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="id2" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:totalDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ogr.maptools.org/ mean_coordinates_unique_grouped_2.xsd"
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>0</gml:X><gml:Y>-5</gml:Y></gml:coord>
<gml:coord><gml:X>8</gml:X><gml:Y>3</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3,3</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>3.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>3.000000000000000</ogr:MEAN_Y>
<ogr:id>2</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>2,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>2.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>2.000000000000000</ogr:MEAN_Y>
<ogr:id>3</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>5,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>5.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>2.000000000000000</ogr:MEAN_Y>
<ogr:id>4</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>4.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>1.000000000000000</ogr:MEAN_Y>
<ogr:id>5</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-5</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>0.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>-5.000000000000000</ogr:MEAN_Y>
<ogr:id>6</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.5">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>8,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>8.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>-1.000000000000000</ogr:MEAN_Y>
<ogr:id>7</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.6">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>7,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>7.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>-1.000000000000000</ogr:MEAN_Y>
<ogr:id>8</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.7">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>0.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>-1.000000000000000</ogr:MEAN_Y>
<ogr:id>9</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
<gml:featureMember>
<ogr:mean_coordinates_unique_grouped_2 fid="mean_coordinates_unique_grouped_2.8">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>1,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>1.000000000000000</ogr:MEAN_X>
<ogr:MEAN_Y>1.000000000000000</ogr:MEAN_Y>
<ogr:id>1</ogr:id>
</ogr:mean_coordinates_unique_grouped_2>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,46 @@
<?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="mean_coordinates_unique_grouped_2" type="ogr:mean_coordinates_unique_grouped_2_Type" substitutionGroup="gml:_Feature"/>
<xs:complexType name="mean_coordinates_unique_grouped_2_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="geometryProperty" type="gml:PointPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
<xs:element name="MEAN_X" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MEAN_Y" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="id" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:totalDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ogr.maptools.org/ unique_coordinates_weight.xsd"
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>3.666666666666667</gml:X><gml:Y>-0.6222222222222222</gml:Y></gml:coord>
<gml:coord><gml:X>3.666666666666667</gml:X><gml:Y>-0.6222222222222222</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:unique_coordinates_weight fid="unique_coordinates_weight.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3.66666666666667,-0.622222222222222</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:MEAN_X>3.666666666666667</ogr:MEAN_X>
<ogr:MEAN_Y>-0.622222222222222</ogr:MEAN_Y>
</ogr:unique_coordinates_weight>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,39 @@
<?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="unique_coordinates_weight" type="ogr:unique_coordinates_weight_Type" substitutionGroup="gml:_Feature"/>
<xs:complexType name="unique_coordinates_weight_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="geometryProperty" type="gml:PointPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
<xs:element name="MEAN_X" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MEAN_Y" nillable="true" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="25"/>
<xs:fractionDigits value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>

0 comments on commit 5a802b5

Please sign in to comment.