mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] add test for OGR buffer with dissolve
This commit is contained in:
parent
31a6189a9c
commit
23de13c03f
32
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys_dissolve.gfs
vendored
Normal file
32
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys_dissolve.gfs
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
<GMLFeatureClassList>
|
||||
<GMLFeatureClass>
|
||||
<Name>buffer_polys_dissolve</Name>
|
||||
<ElementPath>buffer_polys_dissolve</ElementPath>
|
||||
<!--MULTIPOLYGON-->
|
||||
<GeometryType>6</GeometryType>
|
||||
<SRSName>EPSG:4326</SRSName>
|
||||
<DatasetSpecificInfo>
|
||||
<FeatureCount>1</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>4</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>
|
22
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys_dissolve.gml
vendored
Normal file
22
python/plugins/processing/tests/testdata/expected/gdal/buffer_polys_dissolve.gml
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -86,6 +86,7 @@ tests:
|
||||
OUTPUT_LAYER:
|
||||
name: expected/gdal/buffer_lines.gml
|
||||
type: vector
|
||||
|
||||
- algorithm: gdalogr:buffervectors
|
||||
name: OGR basic polygon buffer
|
||||
params:
|
||||
@ -100,3 +101,18 @@ tests:
|
||||
OUTPUT_LAYER:
|
||||
name: expected/gdal/buffer_polys.gml
|
||||
type: vector
|
||||
|
||||
- algorithm: gdalogr:buffervectors
|
||||
name: OGR polygon buffer with dissolve
|
||||
params:
|
||||
DISSOLVEALL: true
|
||||
DISTANCE: '0.5'
|
||||
GEOMETRY: geometry
|
||||
INPUT_LAYER:
|
||||
name: polys.gml
|
||||
type: vector
|
||||
MULTI: false
|
||||
results:
|
||||
OUTPUT_LAYER:
|
||||
name: expected/gdal/buffer_polys_dissolve.gml
|
||||
type: vector
|
||||
|
Loading…
x
Reference in New Issue
Block a user