mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] add test for OGR polygon buffering
This commit is contained in:
parent
a6bd9f0207
commit
31a6189a9c
32
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys.gfs
vendored
Normal file
32
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys.gfs
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
<GMLFeatureClassList>
|
||||
<GMLFeatureClass>
|
||||
<Name>buffer_polys</Name>
|
||||
<ElementPath>buffer_polys</ElementPath>
|
||||
<!--POLYGON-->
|
||||
<GeometryType>3</GeometryType>
|
||||
<SRSName>EPSG:4326</SRSName>
|
||||
<DatasetSpecificInfo>
|
||||
<FeatureCount>6</FeatureCount>
|
||||
<ExtentXMin>-1.50000</ExtentXMin>
|
||||
<ExtentXMax>10.50000</ExtentXMax>
|
||||
<ExtentYMin>-3.50000</ExtentYMin>
|
||||
<ExtentYMax>6.50000</ExtentYMax>
|
||||
</DatasetSpecificInfo>
|
||||
<PropertyDefn>
|
||||
<Name>name</Name>
|
||||
<ElementPath>name</ElementPath>
|
||||
<Type>String</Type>
|
||||
<Width>5</Width>
|
||||
</PropertyDefn>
|
||||
<PropertyDefn>
|
||||
<Name>intval</Name>
|
||||
<ElementPath>intval</ElementPath>
|
||||
<Type>Integer</Type>
|
||||
</PropertyDefn>
|
||||
<PropertyDefn>
|
||||
<Name>floatval</Name>
|
||||
<ElementPath>floatval</ElementPath>
|
||||
<Type>Real</Type>
|
||||
</PropertyDefn>
|
||||
</GMLFeatureClass>
|
||||
</GMLFeatureClassList>
|
58
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys.gml
vendored
Normal file
58
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys.gml
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -86,3 +86,17 @@ tests:
|
||||
OUTPUT_LAYER:
|
||||
name: expected/gdal/buffer_lines.gml
|
||||
type: vector
|
||||
- algorithm: gdalogr:buffervectors
|
||||
name: OGR basic polygon buffer
|
||||
params:
|
||||
DISSOLVEALL: false
|
||||
DISTANCE: '0.5'
|
||||
GEOMETRY: geometry
|
||||
INPUT_LAYER:
|
||||
name: polys.gml
|
||||
type: vector
|
||||
MULTI: false
|
||||
results:
|
||||
OUTPUT_LAYER:
|
||||
name: expected/gdal/buffer_polys.gml
|
||||
type: vector
|
||||
|
Loading…
x
Reference in New Issue
Block a user