The parameter activetools=BUFFER will display the buffer tool based on a pre-selection.

This tool enables the user to do buffer analysis based on a pre-selection of features.

 

Notes:

To use the tool please define a buffer in general and a buffer on a layer.

Before using the buffer tool, you have to pre-select (via Queries, IDENTIFY, SELECTAREA, SELECTLINE, ADDREMOVE) at least one feature. The buffer can be done base on one ore more features.

The result of the buffer can be extended with a new buffer analysis.

 

The following parameters are needed in order to buffer features with the WebOffice map widget:

 

Parameter

Description

query

External layer ID on the WebOffice 10.9 SP1 query layer.

keyname

Identifies the attribute to be queried on.

Note: The key name is the technical field name (not the alias name) and must be configured as Search Field.

keyvalue

Identifies the value to be queried on.

Note: The value must be escaped correctly.

bufferlayerid

External Layer ID of the WebOffice 10.9 SP1 query layer to be the result of the buffer operation.

Note: The layer must be identifyable/selectable.

bufferdist

Defines the buffer distance in the unit of the project (default meter).

buffer_returnkey

Specifies the field to be returned in the response.

Note: It is possible to use more returnkeys separated by semicolon ;. Please ensure to configure the returnkey as Result Field of the layer query.

callback_buffer_mw

Specifies a JavaScript callback function.

buffer_intersect (optional)

True (intersect within area): the buffered features can partially be inside the buffer zone

False (full inside area): the buffered features must completely be inside the buffer zone

Note: True is used by default.

 

After having done a pre-selection (single or multiple features), the buffer tool appears. By clicking the buffer tool, the buffer analysis will be executed. The result is on the one hand the buffer zone and on the other hand a selection of the buffered features. The buffer analysis can be executed again based on the new result.

 

Buffer in WebOffice map widget

Buffer in WebOffice map widget

 

http://<SERVER>/<WebOffice-Applikation>/client_mapwidget/default.jsp?baseURL=http://<SERVER>/<WebOffice-Applikation>&project=WebOffice_SampleProject&width=385&height=377&activetools=BUFFER&bufferlayerid=properties&buffer_returnkey=KG_GNR&callback_buffer_mw=parent.bufferResult&bufferdist=5&buffer_intersect=true&query=properties&keyvalue=63105397&keyname=KG_GNR&returnkey=KG_GNR