Navigation:  WebOffice author > Edit Menu > WebOffice Category > Tools >

K5 labeling

Previous pageReturn to chapter overviewNext page

K5 (Community Management) labeling for features - the K5 query result is an image, containing the formatted K5 information for the feature. The K5 query is defined through K5-restricted search result configurations and through user-defined restrictions, which are defined through the tool.

 

Note: Please find more details about K5 labeling in GeoOffice in http://resources.geooffice.mysynergis.com/documentation/DE/analyst/index.html.

Note: Currently no multi-labeling is supported. Only single features can be labeled.

Note: Currently only the interactive selection is supported for K5 labeling but not the linking from a search result.

 

K5 labeling tool configuration

K5 labeling tool configuration

 

Property

Description

K5 service URL

The URL of the K5 service, which should be used for the queries. e.g.: http://i-test-k5:5000/publicservices/personensuchservice/1?wsdl

Note: The response of the service has to be the service description in form of XML file.

K5 XML Configuration Path

The Path of the K5 XML configuration file, which defines the formatting of the K5 service response.

Note: Please find a sample XML in C:\Tomcat\webapps\<WebOffice application>\pub\custom_tools\k5.

Note: The XML file is similar to the K5 labeling XML from GeoOffice, more details see http://resources.geooffice.mysynergis.com/documentation/DE/analyst/index.html.

Use tool?

Control if this tool is available in the WebOffice 10.4 SP2 Client or not.

K5 labeling tool properties

 

 

K5 labeling in WebOffice 10.4 SP2 works like K5 labeling in GeoOffice, but with the following exceptions.

 

WebOffice usermanagement is required

K5 is a secured service and needs to be authenticated. Therefore please configure the K5 user (incl. password) as User with associated login in UserManagement Admin Web. Furthermore the K5 mandant (role) has to be configured in Group as client ID.

 

Note: The associated login and the client ID have to be provided by the K5 service administrator.

 

wa_tool_k5_02wa_tool_k5_03

 

XML configuration

The configuration of the XML defines the connection between WebOffice 10.4 SP2, the SOAP Service and the layout of the K5 label. You will find descriptions of the single nodes of the XML in the following table.

 

Node

Description

Services

The attribute noNamespaceSchemaLocation defines a WebOffice specific scheme (XSD) for the K5 configuration. The XML configuration must be valid with this XSD.

Service

The node service does not contain any attributes for the WebOffice configuration. The information for the service node is configured in WebOffice 10.4 SP2 and UserManagement Admin Web.

Query

Instead of the attribute DisplayName WebOffice uses the attribute ResultID. The ResultID is the id_queryresult from the WebOffice 10.4 SP2 project configuration (XML).

wa_tool_k5_04

 

The node JoinField defines the connection to the K5 service queries. The attribute GISField is the result field of the GIS feature, ServiceField is the field of the K5 service.

Note: All fields are case-insensitive.

DisplayField

The node DisplayField defines the fields, that should be displayed on the label. The attribute size defines the number of characters of the field. 0 means, that the size will automatically be calculated.

Note: All fields are case-insensitive.

AnnotationGroup

In the node AnnotationGroup you can define the attribute scale, that sets the reference scale for the K5 label. If as scale 1000 is configured, than

- display scale 1000: label is rendered fully

- display scale < 1000: label is also rendered fully (it will not be blown up)

- dispaly scale 2000: label is rendered half size (scale factor 0.5)

Note: All fields are case-insensitive.

Note: If the scale is changed after labeling the features in WebOffice 10.4 SP2, the label itself will not be changed anymore.

 

 

Note: The XML can be changed during run time without any restart.

Note: Printing of K5 labels with rotation is supported.

Note: The K5 label style in WebOffice 10.4 SP2 depends on the K5 label style in GeoOffice and cannot be changed.

Note: For more details about the tool in WebOffice html client please see chapter K5 labeling.