Client Actions
Action are ways that the user interacts with the Weave client.
They're setup in the client config section of the config file.
Available Actions
The above list is not definitive and is in the process of being updated.
The following is a list of the actions that are currently available. Please note that the version of Weave you have installed may not have access to these actions as you may be using earlier version. Please download the current release of Weave to ensure you have the actions as listed below.
Buttons
The actions require a single click to initiate their action
Name | id | alternate id | Description |
---|---|---|---|
com.cohga.client.actions.help | weave.help | Display the help content. | |
Zoom To Scale | weave.zoomToScale | Zoom to a predetermined scale. The scale to zoom to is set by a | |
Open Log Window | com.cohga.client.actions.logAction | Display log output in a new window. | |
com.cohga.client.actions.zipnshipenvelope | weave.zipnshipenvelope | Export data via a wizard. | |
com.cohga.client.actions.zipnship | weave.zipnship | Export data via a menu. | |
Simple Report | com.cohga.client.action.simplereport | Directly print a report. | |
com.cohga.client.action.simplereportmenu | Provide a menu with a selection of reports that can be generated. | ||
Refresh Map | com.cohga.html.client.map.refreshMapAction | weave.refreshMap | Refresh the current map. |
Zoom to Selection | com.cohga.html.client.map.select.zoomAction | weave.selectZoom | Zoom to the currently selected entities. |
Fixed Zoom Out | weave.fixedZoomOut | Zoom out by a fixed amount. | |
Fixed Zoom In | weave.fixedZoomIn | Zoom in by a fixed amount. | |
Previous Extent | com.cohga.html.client.map.previousExtentAction | weave.previousExtent | Zoom back to the previously set map extent. |
Next Extent | com.cohga.html.client.map.nextExtentAction | weave.nextExtent | Zoom forward to the previously set map extent (after Previous Extent is used) |
Clear Selection | com.cohga.html.client.map.select.clearAction | weave.clear | Clear the selection of the active entity. |
Clear All Selections | com.cohga.html.client.map.select.clearAllAction | weave.clearAll | Clear the selections for all entities. |
Zoom to Full Extent | com.cohga.html.client.map.fullExtentAction | weave.fullExtent | Zoom out the the full extent of the map. |
Zoom to Initial Extent | com.cohga.html.client.map.initialExtentAction | weave.initialExtent | Zoom to the extent the client started with. |
Spatial Selection | com.cohga.html.client.actions.spatialSelectAction | weave.spatialselect | Perform a range of spatial operations. |
Buffer Selection | com.cohga.html.client.actions.bufferAction | weave.buffer | Select entities within a certain distance of the currently selected entities. Superseded by Spatial Selection. |
Spatial Intersection | com.cohga.html.client.actions.intersect | weave.intersect | Perform a spatial intersection between two layers. Superseded by Spatial Selection. |
Selection Identify | com.cohga.html.client.map.selectionIdentify | weave.selectionIdentify | Display a-spatial related to entities selected via the map. |
com.cohga.html.client.map.select.UndoAction | weave.selection.Undo | Undo the last selection operation. | |
About | com.cohga.client.actions.about | Show a window with information about the current client. | |
Legend | com.cohga.client.action.legend | Show a map legend in a separate window. | |
Metadata | com.cohga.client.action.metadata | Show some map metadata in a separate window. | |
Get | com.cohga.selection.Get | Update the current selection from an external system. Requires additional external configuration. | |
Put | com.cohga.selection.Put | Sends the current selection to an external system, Requires additional external configuration. | |
weave.coordZoom | Display a window allowing the user to zoom to a specific coordinate. | ||
Logout | com.cohga.client.actions.logoutAction | End the current user session. Not useful when using Windows integrated authentication. | |
Select Neighbours | weave.selectNeighbours | Quick tool to allow selecting of the neighbours to an existing selection | |
Select All | weave.selectAll | Select everything from the active entity. Added at 2.6.9. | |
Export Map Image |
| weave.mapimageexport | Export the current map image to a file. You can set the “format” attribute for the item to the mime type of the required image format otherwise the user will get to choose.
|
Redline | com.cohga.client.actions.redline | weave.redline | Open the Redline Toolbar |
Example client configuration for Select Neighbours
<item action="weave.selectNeighbours">
<zoom>true</zoom>
<bufferDistance>20</bufferDistance>
<bufferUnits>m</bufferUnits>
<bufferCrs>EPSG:28355</bufferCrs>
</item>
Tools
These actions require interaction with the map once selected
Name | id | alternate id |
---|---|---|
Identify | com.cohga.html.client.actions.identifyAction | weave.identify |
Select Spatial | com.cohga.html.client.map.select.rect.newAction | |
Select Spatial | com.cohga.html.client.map.select.rect.addAction | |
Select Spatial | com.cohga.html.client.map.select.rect.removeAction | |
Select Spatial | com.cohga.html.client.map.select.rect.refineAction | |
Select Spatial | com.cohga.html.client.map.select.circle.newAction | |
Select Spatial | com.cohga.html.client.map.select.circle.addAction | |
Select Spatial | com.cohga.html.client.map.select.circle.removeAction | |
Select Spatial | com.cohga.html.client.map.select.circle.refineAction | |
Select Spatial | com.cohga.html.client.map.select.polyline.newAction | |
Select Spatial | com.cohga.html.client.map.select.polyline.addAction | |
Select Spatial | com.cohga.html.client.map.select.polyline.removeAction | |
Select Spatial | com.cohga.html.client.map.select.polyline.refineAction | |
Select Spatial | com.cohga.html.client.map.select.polygon.newAction | |
Select Spatial | com.cohga.html.client.map.select.polygon.addAction | |
Select Spatial | com.cohga.html.client.map.select.polygon.removeAction | |
Select Spatial | com.cohga.html.client.map.select.polygon.refineAction | |
Select Spatial | com.cohga.html.client.map.select.point.newAction | |
Select Spatial | com.cohga.html.client.map.select.point.addAction | |
Select Spatial | com.cohga.html.client.map.select.point.removeAction | |
Select Spatial | com.cohga.html.client.map.select.point.refineAction | |
Spatial Identify | com.cohga.html.client.map.spatialIdentify | weave.spatialIdentify |
Pan | com.cohga.html.client.map.panAction | weave.pan |
Zoom Out | com.cohga.html.client.map.zoomoutAction | weave.zoomOut |
Zoom In | com.cohga.html.client.map.zoominAction | weave.zoomIn |
com.cohga.client.actions.map.measurePolygon | weave.measurePolygon | |
com.cohga.client.actions.map.measurePolyline | weave.measurePolyline | |
Pan/Select | com.cohga.html.client.map.panSelectAction | weave.panSelect |
Zoom in/Select | com.cohga.html.client.map.zoomInSelectAction | weave.zoomInSelect |
Zoom out/Select | com.cohga.html.client.map.zoomOutSelectAction | weave.zoomOutSelect |
Redline Toolbar Client Actions (Buttons & Tools)
Redline toolbar client actions allow redlines to be added to the map and manipulated. Redline tools are made available on the client interface by adding them to a Redline Toolbar.
Refer to the Redline help reference for redline toolbar and client action usage information.
Name | id | alternate id |
---|---|---|
Redline Toolbar | com.cohga.client.actions.redline | weave.redline |
Circle |
| weave.redline.circle |
Circle by Radius |
| weave.redline.circleByRadius |
Modify | com.cohga.client.actions.redline.modify | weave.redline.modify |
Point | com.cohga.client.actions.redline.pointAction | weave.redline.point |
Polyline | com.cohga.client.actions.redline.polylineAction | weave.redline.polyline |
Polygon | com.cohga.client.actions.redline.polygonAction | weave.redline.polygon |
Rectangle |
| weave.redline.rectangle |
Label |
| weave.redline.label |
Delete | com.cohga.client.actions.redline.delete | weave.redline.delete |
Delete All | com.cohga.client.actions.redline.deleteall | weave.redline.deleteall |
Get | com.cohga.client.actions.redline.entity | weave.redline.entity |
Line Settings | com.cohga.client.actions.redline.strokeColourMenu | weave.redline.stroke |
Font Settings | com.cohga.client.actions.redline.familyMenu | weave.redline.font |
Fill Settings | com.cohga.client.actions.redline.fillColourMenu | weave.redline.fill |
Save | com.cohga.client.actions.redline.save | weave.redline.save |
Save Settings |
| weave.redline.defaults |
Snap Settings |
| weave.redline.snap |
Text |
| weave.redline.text |
Load | com.cohga.client.actions.redline.load | weave.redline.load |
Export to Shapefile | com.cohga.client.actions.redline.exportMarkersAction | weave.redline.exportMarkers |
Export to KML | com.cohga.client.actions.redline.export.kml | weave.redline.exportKml |
Buffer | com.cohga.client.actions.redline.bufferAction | weave.redline.buffer |
Buffer Selected Redline |
| weave.redline.bufferSelected |
Buffer All Redlines |
| weave.redline.bufferAll |
Marker |
| weave.redline.marker |
Marker Settings |
| weave.redline.markersettings |
Create Geometry |
| weave.redline.coordsCreate |
Update Geometry |
| weave.redline.coordsUpdate |
Upload Geometry |
| weave.redline.upload |
Spatial Select |
| weave.redline.spatialSelect |
Organise |
| weave.redline.organise |
Context Menu
These items can be added to the right click context menu. Note that some of the buttons can also be added, it's just that these are specific to the context menu. Some examples are provided here.
Name | id | alternate id |
---|---|---|
Quick Identify | weave.quickIdentify | |
Open Url | weave.openUrlToc |
Note: Quick Identify has an optional radius parameter, which defaults to 1 (which is based on the client map units, there is currently no way to set the units explicitly).
Grid
There relate to the grid data display
Name | id | alternate id |
---|---|---|
Display Grid Window | com.cohga.html.client.actions.gridWindowAction | |
Zoom To | com.cohga.html.client.grid.zoomAction | |
Pan To | com.cohga.html.client.grid.panAction | |
com.cohga.html.client.grid.exportAction | ||
Refine Selection | com.cohga.html.client.grid.refine | weave.grid.refine |
Remove Selected | com.cohga.html.client.grid.removeAction | weave.grid.remove |
com.cohga.html.client.grid.exportGridAction | weave.grid.exportgriddata |
Other
These actions have more advanced interactions
Name | id | alternate id |
---|---|---|
Simple Report Menu | com.cohga.client.action.simplereportmenu | |
com.cohga.client.action.toc | ||
weave.maptips | ||
Bookmark Menu | com.cohga.html.client.map.bookmark | weave.bookmark |
Published Bookmarks Menu | com.cohga.html.client.map.publishedbookmark | weave.publishedbookmark |
Projection Display | com.cohga.client.actions.projAction | weave.projections |
Perspective Selector | com.cohga.client.actions.perspectiveMenu |