Link to Selection Using Buffer Around an Object

To provide a link to a selection using a buffer to provide an object in the core client, the web application provides the custom page pub/custom_pages/buffer.jsp. In this you can define the default values for the call parameters. The call parameters are:

 

Parameter

Variable name in the Custom Page

Function

Possible Values

layer

internalTargetLayerId

ID of the target layer according to the XML file of the project (<WebOffice Applikation>\WEB-INF\classes\configuration\projects)

All layer IDs in the project

distance

bufferDistance

Buffer distance in meters

All positive numerical values

relation

spatialRelation

Spatial relationship between buffer area and target topic

"intersects (complete overlap), contains (at least partial overlap)

showbuffer

showBuffer

Display of the buffer area in the client?

true, false"

resultmode

mapMode

Map action after buffer calculation

"none, select, zoom, pan"

Call parameters for the custom page buffer. jsp

 

The custom page is included as an external link in the search result of the layer whose objects are to be buffered. The base URL is pub/custom_pages/buffer.jsp possibly with parameters, which overwrites the default values in buffer. jsp. A possible base URL with specific values would be about:

 

pub/custom_pages/buffer.jsp?layer=x1020&relation=contains&distance=200&showbuffer=true&resultmode=zoom

 

The key can be chosen arbitrarily, because it is not needed for this integration.

 

iFrame with window type hidden should be selected as display mode, since no content is displayed in the external window.

 

howto_link_selection_buffer2

Configuration of the custom page for selection using buffers around objects in VertiGIS GmbH - Technical Documentation Team.

 

In the WebOffice core-Client click on the button or the link to make the appropriate selection.

 

howto_link_selection_buffer1

 

Result of the custom page for selection by object in WebOffice core-Client using buffer.