Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
88 additions
and 13 deletions.
- +18 −7 python/plugins/processing/algs/saga/SagaAlgorithm.py
- +4 −4 python/plugins/processing/algs/saga/description/ShapesBufferFixed.txt
- +1 −1 python/plugins/processing/core/parameters.py
- +4 −1 python/plugins/processing/tests/AlgorithmsTestBase.py
- BIN python/plugins/processing/tests/testdata/expected/saga/buffer_polys.dbf
- +34 −0 python/plugins/processing/tests/testdata/expected/saga/buffer_polys.mshp
- +1 −0 python/plugins/processing/tests/testdata/expected/saga/buffer_polys.prj
- BIN python/plugins/processing/tests/testdata/expected/saga/buffer_polys.shp
- BIN python/plugins/processing/tests/testdata/expected/saga/buffer_polys.shx
- +26 −0 python/plugins/processing/tests/testdata/saga_algorithm_tests.yaml
Binary file not shown.
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<SAGA_METADATA> | ||
<HISTORY saga-version="2.3.1"> | ||
<MODULE library="shapes_tools" id="18" name="Shapes Buffer"> | ||
<OPTION type="table_field" id="DIST_FIELD" name="Buffer Distance" index="-1"><not set></OPTION> | ||
<OPTION type="double" id="DIST_FIELD_DEFAULT" name="Default">0.500000</OPTION> | ||
<OPTION type="boolean" id="DISSOLVE" name="Dissolve Buffers">FALSE</OPTION> | ||
<OPTION type="integer" id="NZONES" name="Number of Buffer Zones">1</OPTION> | ||
<OPTION type="boolean" id="POLY_INNER" name="Inner Buffer">FALSE</OPTION> | ||
<OPTION type="double" id="DARC" name="Arc Vertex Distance [Degree]">5.000000</OPTION> | ||
<INPUT type="shapes" id="SHAPES" name="Shapes"> | ||
<FILE>/tmp/processing_bc2b178d0edf4b61beb3fbfde63b4e0a/c3630530c5804e2aa806438066037680/SHAPES.shp</FILE> | ||
</INPUT> | ||
<OUTPUT type="shapes" id="BUFFER" name="Buffer">SHAPES [Buffer]</OUTPUT> | ||
</MODULE> | ||
</HISTORY> | ||
<SOURCE> | ||
<FILE></FILE> | ||
<DATABASE> | ||
<FIELDS> | ||
<FIELD TYPE="STRING">fid</FIELD> | ||
<FIELD TYPE="STRING">name</FIELD> | ||
<FIELD TYPE="LONGINT">intval</FIELD> | ||
<FIELD TYPE="DOUBLE">floatval</FIELD> | ||
</FIELDS> | ||
</DATABASE> | ||
<PROJECTION> | ||
<OGC_WKT>GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</OGC_WKT> | ||
<PROJ4>+proj=longlat +a=6378137.000000 +b=6356752.314245 +no_defs</PROJ4> | ||
<EPSG>-1</EPSG> | ||
</PROJECTION> | ||
</SOURCE> | ||
<DESCRIPTION></DESCRIPTION> | ||
</SAGA_METADATA> |
@@ -0,0 +1 @@ | ||
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] |
Binary file not shown.
Binary file not shown.