2.2.48. Merge two Web GIS vector layers

This tool allows you to copy data from one layer to another with the same structure, including attachments and attribute values.

The layer you copy features from is source.

The layer you want to add the features to is target.

Inputs:

  • Source layer Web GIS address i.e.: https://sandbox.nextgis.com;

  • Source Layer ID - numbers at the end of the resource URL;

  • Source username - NextGIS ID or username of a user of the above Web GIS. User must have permissions to read resource and data;

  • Password for the source Web GIS user;

  • Target layer Web GIS address, i.e.: https://sandbox.nextgis.com. Can be the same as the source.

  • Target layer ID - numbers at the end of the resource URL;

  • Target username - NextGIS ID or username of a user of the target Web GIS. User must have permissions to create resources (write);

  • Target Password - password for the taget Web GIS user.

Outputs:

  • Modified layer in the target Web GIS.

Launch the tool: https://toolbox.nextgis.com/t/ngw_merge_layers

../../_images/ngw_merge_layers_input.png

Pic. 2.28. Example input: two layers

../../_images/ngw_merge_layers_result.png

Pic. 2.29. Example output: all features in the same layer

Try the tool in action by downloading our example:

Input data set to test the tool. The archive contains step-by-step instructions.

Result example of the tool run.