GWR Integrator
This Custom Tool allows users to create addresses to GWR (register of buildings and residence). By clicking in the map a property will be identified and the key (KG_GNR) and coordinates of the main map service (rounded to metres) will be applied to the Syn URL Integrator in the following format:
<GSTNR>|X|Y
By using the parameter projectionid, the click coordinates can be reprojected. |
The tool's parameters have to be configured on the one hand in the form of the custom tool and on the other hand in the WebOffice 10.9 R4 project configuration. The Custom Tool is located in C:\Tomcat\webapps\<WebOffice application>\pub\custom_tools\GWR.
(1) Configuration in the form
The following variables can be adapted in the form (gwr_integrator.jsp):
•integratorUrl: synintegrator:target=KIMVerfahren&GSTNR= … URL to the custom tool's parameters in
•projectionParam: this parameter holds the internal projection id (can be found in the xml file)
•cordsAsInteger: false … if true, the coordinates will be applied as integer
•paramSplitter: | … delimiter for the parameters
•msgHelp: Bitte klicken Sie in die Karte, um eine Adresse zu verorten. … Help text when opening the custom tool
•msgFound: Die Adresse und Position wurde übermittelt. … Info message, if one object has been found and applied to the URL
•msgNotFound: Achtung: An dieser Position wurde kein Grundstück gefunden! … Info message, if no object has been found
•msgTooManyFound: Achtung: An dieser Position wurden mehrere Grundstück gefunden! … Info message, if more than one objects have been found
•msgPojectionError: Beim Umprojizieren der Koordinate ist ein Fehler aufgetreten ... Info message, if coordinates could not be reprojected
Tool form gwr_intergrator.htm
(2) Configuration in WebOffice 10.9 R4 project
The custom tool is configured as generic tool (with click point) in the WebOffice 10.9 R4 project.
Web-Integration - generisches Werkzeug
•URL of external page: pub/custom_tools/GWR/gwr_integrator.jsp
the internal projection id from the XML can be applied via the parameter projectid
•Tool tip: GWR integrator
•Pass mode: JavaScript
•Pass user context: No
•Provide snap functionality: No
•JavaScript function: callFromWO
•Tool icon: pub/custom_tools/GWR/customtool_gwr.png
•
GWR integrator Web integration
projectionParam from the project XML
When deleting the node List of Projections or single projections in the configuration of the tool Search Coordinates, the internal ID of the projection can change from the XML file and must be adjusted accordingly under the option URL of external page. |
Advanced Custom Tool
•Layer: Reference to the properties layer
•Key field: Reference to the key field
•Tool mode: Click point
GWR integrator Advanced Custom Tool
(3) GWR integrator in the client
GWR integrator needs a click in the map:
GWR integrator Custom Tool
If more properties have been found, the integrator will not be called:
GWR integrator with more properties
If one object has been found, the address and the position will be applied to the integrator:
GWR integrator with one object
See chapter Web Integration - Custom Tool for details about the configuration of custom tools in WebOffice author standalone. |