Skip to content
Permalink
Browse files

[processing] gdal IDW test

  • Loading branch information
ghtmtt authored and m-kuhn committed Mar 4, 2017
1 parent 71aac8a commit 6f042835b2e01ccaed3250a2dae7c7d01e137c02
@@ -0,0 +1,21 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>points_values</Name>
<ElementPath>points_values</ElementPath>
<!--POINT-->
<GeometryType>1</GeometryType>
<SRSName>EPSG:4326</SRSName>
<DatasetSpecificInfo>
<FeatureCount>19</FeatureCount>
<ExtentXMin>4.90628</ExtentXMin>
<ExtentXMax>4.93550</ExtentXMax>
<ExtentYMin>-0.13199</ExtentYMin>
<ExtentYMax>-0.11607</ExtentYMax>
</DatasetSpecificInfo>
<PropertyDefn>
<Name>EC</Name>
<ElementPath>EC</ElementPath>
<Type>Real</Type>
</PropertyDefn>
</GMLFeatureClass>
</GMLFeatureClassList>
@@ -0,0 +1,128 @@
<?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>4.906283714970953</gml:X><gml:Y>-0.1319853339819714</gml:Y></gml:coord>
<gml:coord><gml:X>4.935496404341312</gml:X><gml:Y>-0.1160680125630533</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:points_values fid="points_values.0">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91631305752635,-0.116068012563053</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>1046.670000000000073</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.1">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91546986041504,-0.117247234579742</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>1315.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.2">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91364969810147,-0.119677917965012</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>1418.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.3">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92909560576737,-0.118040776538903</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>997.330000000000041</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.4">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91114830164397,-0.129316887329557</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2972.300000000000182</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.5">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.90989202732359,-0.126884939434751</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>9700.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.6">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91741925973756,-0.127144640703483</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>6726.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.7">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.90628371497095,-0.131818318848252</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>0.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.8">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.90634356025435,-0.131836136674563</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>0.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.9">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91127141882644,-0.131985333981971</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>6002.500000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.10">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91593780419827,-0.128846613470414</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2096.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.11">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.91482918060496,-0.126135690044029</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2470.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.12">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92969942144674,-0.130430627062913</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>867.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.13">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92746737313292,-0.12477494284588</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2201.699999999999818</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.14">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.93473435821213,-0.126321316689717</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>1685.599999999999909</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.15">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.93549640434131,-0.121745823598032</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2416.699999999999818</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.16">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92323996691212,-0.131227870307013</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>1618.299999999999955</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.17">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92467740893921,-0.131853393762347</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2410.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
<gml:featureMember>
<ogr:points_values fid="points_values.18">
<ogr:geometryProperty><gml:Point srsName="EPSG:4326"><gml:coordinates>4.92595787509441,-0.124571887310721</gml:coordinates></gml:Point></ogr:geometryProperty>
<ogr:EC>2962.000000000000000</ogr:EC>
</ogr:points_values>
</gml:featureMember>
</ogr:FeatureCollection>
@@ -644,3 +644,24 @@ tests:
OUTPUT:
hash: 2d0585dc8166fbe3cec7d9e6fd66e95cc9bdb1043b3b0fa7cbdfef4c
type: rasterhash

- algorithm: gdal:gridinvdist
name: IDW interpolation
params:
ANGLE: 0.0
INPUT:
name: custom/points_values.gml
type: vector
MAX_POINTS: 0.0
MIN_POINTS: 0.0
NODATA: 0.0
POWER: 2.0
RADIUS_1: 0.0
RADIUS_2: 0.0
RTYPE: '5'
SMOTHING: 0.0
Z_FIELD: EC
results:
OUTPUT:
hash: 2033731d6fd653da391a2633158f0ea755d96e1b2b2c60a9100332b1
type: rasterhash

0 comments on commit 6f04283

Please sign in to comment.
You can’t perform that action at this time.