2.21. Change attributes in the layer group๏ƒ

The tool changes the value of the target attribute for the selected features in the layer group in the specified Web GIS resource. Features are selected according to the set value of the selected field.

Inputs:

  • Web GIS Address โ€” The URL of your Web GIS (for example, http(s): //mywebgis.nextgis.com)

  • Login - The username of the user who has the permission to write data to the specified resource

  • Password - Web GIS user password

  • Resource Group Identifier - Web GIS Resource Identifier that contains layer groups

  • Initial field - the name of the initial field used to search for features

  • Initial value - The value of the field used to select features (identifier)

  • Target field - The name of the target field, which values you want to change

  • Target Value - The attribute value, which will be applied

  • Start year - Starting date of the time range (optional parameter)

  • End year - Ending date of the time range (optional parameter)

Note

Start year and end year are optional parameters. These parameters allow you to limit the time range for the selected layers. To use these parameters, you must make sure that the time ranges are indicated in the names of the layers of the Web GIS resource. For example, in layer 1245_1246_rus_earl_v.1.0 1245 and 1246 the years are indicated. If these parameters are in use, you need to enter three or four digit values. Other parameters are mandatory.

Outputs:

  • A CSV file that contains data about the initial and target fields, the identifier value, the previous and new values โ€‹โ€‹of the target field, as well as a list of hyperlinks to features that have been changed.

Launch tool: https://toolbox.nextgis.com/operation/field_value_changer

Try it out using our sample:

Download input dataset to test the instrument. Step-by-step instructions included.

Get the output to additionally check the results.