Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
some Processing test
  • Loading branch information
ghtmtt authored and m-kuhn committed Dec 14, 2016
1 parent 8d8bbab commit 5392788
Show file tree
Hide file tree
Showing 16 changed files with 764 additions and 0 deletions.
1 change: 1 addition & 0 deletions Testing/Temporary/CTestCostData.txt
@@ -0,0 +1 @@
---
@@ -0,0 +1,30 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>variable_buffer</Name>
<ElementPath>variable_buffer</ElementPath>
<GeometryType>1</GeometryType>
<SRSName>EPSG:3857</SRSName>
<DatasetSpecificInfo>
<FeatureCount>9</FeatureCount>
<ExtentXMin>0.00000</ExtentXMin>
<ExtentXMax>890555.92635</ExtentXMax>
<ExtentYMin>-557305.25727</ExtentYMin>
<ExtentYMax>334111.17140</ExtentYMax>
</DatasetSpecificInfo>
<PropertyDefn>
<Name>id</Name>
<ElementPath>id</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>id2</Name>
<ElementPath>id2</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>buffer</Name>
<ElementPath>buffer</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
</GMLFeatureClass>
</GMLFeatureClassList>
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
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>-557305.2572745769</gml:Y></gml:coord>
<gml:coord><gml:X>890555.9263461898</gml:X><gml:Y>334111.1714019597</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:variable_buffer fid="points.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>111319.490793272314477,111325.142866384863737</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>1</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:buffer>10000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>333958.472379819781054,334111.171401959727518</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>2</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:buffer>50000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>222638.981586547452025,222684.208505544549553</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>3</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:buffer>100000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>556597.453966367174871,222684.208505544549553</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>4</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:buffer>20000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>445277.96317309490405,111325.142866384863737</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>5</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:buffer>90000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.5">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>0.0,-557305.257274576928467</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>6</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:buffer>50000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.6">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>890555.9263461898081,-111325.142866385969683</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>7</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:buffer>100000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.7">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>779236.435552914626896,-111325.142866385969683</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>8</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:buffer>40000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:variable_buffer fid="points.8">
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>0.0,-111325.142866385969683</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>9</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:buffer>30000</ogr:buffer>
</ogr:variable_buffer>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,30 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>add_unique_field</Name>
<ElementPath>add_unique_field</ElementPath>
<GeometryType>1</GeometryType>
<SRSName>EPSG:4326</SRSName>
<DatasetSpecificInfo>
<FeatureCount>9</FeatureCount>
<ExtentXMin>0.00000</ExtentXMin>
<ExtentXMax>8.00000</ExtentXMax>
<ExtentYMin>-5.00000</ExtentYMin>
<ExtentYMax>3.00000</ExtentYMax>
</DatasetSpecificInfo>
<PropertyDefn>
<Name>id</Name>
<ElementPath>id</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>id2</Name>
<ElementPath>id2</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>NUM_FIELD</Name>
<ElementPath>NUM_FIELD</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
</GMLFeatureClass>
</GMLFeatureClassList>
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
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:add_unique_field fid="points.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>1,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>1</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:NUM_FIELD>0</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3,3</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>2</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:NUM_FIELD>1</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>2,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>3</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:NUM_FIELD>2</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>5,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>4</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:NUM_FIELD>0</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>5</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:NUM_FIELD>1</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.5">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-5</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>6</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:NUM_FIELD>2</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.6">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>8,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>7</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:NUM_FIELD>2</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.7">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>7,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>8</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:NUM_FIELD>2</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
<gml:featureMember>
<ogr:add_unique_field fid="points.8">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>9</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:NUM_FIELD>2</ogr:NUM_FIELD>
</ogr:add_unique_field>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,41 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>join_attribute_table</Name>
<ElementPath>join_attribute_table</ElementPath>
<GeometryType>1</GeometryType>
<SRSName>EPSG:4326</SRSName>
<DatasetSpecificInfo>
<FeatureCount>9</FeatureCount>
<ExtentXMin>0.00000</ExtentXMin>
<ExtentXMax>8.00000</ExtentXMax>
<ExtentYMin>-5.00000</ExtentYMin>
<ExtentYMax>3.00000</ExtentYMax>
</DatasetSpecificInfo>
<PropertyDefn>
<Name>id</Name>
<ElementPath>id</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>id2</Name>
<ElementPath>id2</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>id_2</Name>
<ElementPath>id_2</ElementPath>
<Type>Integer</Type>
</PropertyDefn>
<PropertyDefn>
<Name>NUM_A</Name>
<ElementPath>NUM_A</ElementPath>
<Type>Real</Type>
</PropertyDefn>
<PropertyDefn>
<Name>ST_A</Name>
<ElementPath>ST_A</ElementPath>
<Type>String</Type>
<Width>8</Width>
</PropertyDefn>
</GMLFeatureClass>
</GMLFeatureClassList>
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
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:join_attribute_table fid="points.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>1,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>1</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:id_2>1</ogr:id_2>
<ogr:NUM_A>1.100000</ogr:NUM_A>
<ogr:ST_A>string a</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>3,3</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>2</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:id_2>2</ogr:id_2>
<ogr:NUM_A>2.200000</ogr:NUM_A>
<ogr:ST_A>string a</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>2,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>3</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:id_2>3</ogr:id_2>
<ogr:NUM_A>3.300000</ogr:NUM_A>
<ogr:ST_A>string a</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>5,2</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>4</ogr:id>
<ogr:id2>2</ogr:id2>
<ogr:id_2>4</ogr:id_2>
<ogr:NUM_A>4.400000</ogr:NUM_A>
<ogr:ST_A>string b</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4,1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>5</ogr:id>
<ogr:id2>1</ogr:id2>
<ogr:id_2>5</ogr:id_2>
<ogr:NUM_A>5.500000</ogr:NUM_A>
<ogr:ST_A>string b</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.5">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-5</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>6</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:id_2>6</ogr:id_2>
<ogr:NUM_A>6.600000</ogr:NUM_A>
<ogr:ST_A>string b</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.6">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>8,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>7</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:id_2>7</ogr:id_2>
<ogr:NUM_A>7.700000</ogr:NUM_A>
<ogr:ST_A>string b</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.7">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>7,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>8</ogr:id>
<ogr:id2>0</ogr:id2>
<ogr:id_2>8</ogr:id_2>
<ogr:NUM_A>8.800000</ogr:NUM_A>
<ogr:ST_A>string b</ogr:ST_A>
</ogr:join_attribute_table>
</gml:featureMember>
<gml:featureMember>
<ogr:join_attribute_table fid="points.8">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>0,-1</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:id>9</ogr:id>
<ogr:id2>0</ogr:id2>
</ogr:join_attribute_table>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -0,0 +1,15 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>lines_to_polygon</Name>
<ElementPath>lines_to_polygon</ElementPath>
<GeometryType>3</GeometryType>
<SRSName>EPSG:4326</SRSName>
<DatasetSpecificInfo>
<FeatureCount>2</FeatureCount>
<ExtentXMin>2.00000</ExtentXMin>
<ExtentXMax>11.00000</ExtentXMax>
<ExtentYMin>0.00000</ExtentYMin>
<ExtentYMax>5.00000</ExtentYMax>
</DatasetSpecificInfo>
</GMLFeatureClass>
</GMLFeatureClassList>

0 comments on commit 5392788

Please sign in to comment.