Merge vector layers
The code below uses the Toolbox SDK, which you can install with pip install toolbox-sdk.
Additional Python examples: using SDK, using Requests. If you prefer other programming language or need full API reference, check out Toolbox OpenAPI as well.
Docs
The tool merges many vector layers into one. Layers should be of same geometry type.
Inputs:
ZIP archive with ESRI Shapefile, GeoJSON, GeoPackage or MapInfo TAB layers. You can combine files of different formats and coordinate reference systems in one set. Subfolders in the archive are supported.
Outputs:
GeoPackage file with the result of the merge.
The tool has no limit on the number of input layers. The name of the source layer is also saved.
Example:
Example input¶
Example output¶
Try the tool in action
Click on the Demo button above the tool form. The fields are filled in with demo values.
Click on the Run button.