Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processing][saga] Fix error in merge vector layers
Fixes #18545
- Loading branch information
1 parent
1bc1790
commit b8ff44e
Showing
7 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.36 KB
python/plugins/processing/tests/testdata/expected/saga/merge_vector_layers.dbf
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
python/plugins/processing/tests/testdata/expected/saga/merge_vector_layers.mshp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<SAGA_METADATA> | ||
<HISTORY saga-version="2.3.1"> | ||
<MODULE library="shapes_tools" id="2" name="Merge Layers"> | ||
<OPTION type="boolean" id="SRCINFO" name="Add Source Information">TRUE</OPTION> | ||
<OPTION type="boolean" id="MATCH" name="Match Fields by Name">TRUE</OPTION> | ||
<INPUT_LIST type="shapes_list" id="INPUT" name="Layers"> | ||
<INPUT type="shapes_list" id="INPUT" name="Layers"> | ||
<FILE>/tmp/processing_b5cdddb281d444b789783dec9f1cb820/cb98869080f34caa92a02f614f97d98b/INPUT.shp</FILE> | ||
</INPUT> | ||
<INPUT type="shapes_list" id="INPUT" name="Layers"> | ||
<FILE>/tmp/processing_b5cdddb281d444b789783dec9f1cb820/0b3e8560d4b34ec09028f93b778ed98c/INPUT.shp</FILE> | ||
</INPUT> | ||
</INPUT_LIST> | ||
<OUTPUT type="shapes" id="MERGED" name="Merged Layer">Merged Layers</OUTPUT> | ||
</MODULE> | ||
</HISTORY> | ||
<SOURCE> | ||
<FILE></FILE> | ||
<DATABASE> | ||
<FIELDS> | ||
<FIELD TYPE="STRING">Source</FIELD> | ||
<FIELD TYPE="STRING">fid</FIELD> | ||
<FIELD TYPE="LONGINT">id</FIELD> | ||
<FIELD TYPE="LONGINT">id2</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> |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/saga/merge_vector_layers.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 added
BIN
+716 Bytes
python/plugins/processing/tests/testdata/expected/saga/merge_vector_layers.shp
Binary file not shown.
Binary file added
BIN
+276 Bytes
python/plugins/processing/tests/testdata/expected/saga/merge_vector_layers.shx
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters