Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

weave.zipnship

Notes

This is a simplified version of theĀ ZipNShip Envelope action and only exports the current selection.

The tool provides a menu with options to allow the user to select which format(s) they want to export the selection as, and if they want to export the selection for just the currently active entity or for all entities that have a selection.

The crs attribute determines what coordinate reference system to output the data in and if it's not specified then the original coordinate reference system of the underlying data will be used.

Code Block
languagexml
titleAn example of the item required to add the new tool to a toolbar
<toolbar>
	...
	<item action="weave.zipnship" crs="EPSG:4326"/>
	...
</toolbar>

The entities/entity tags can refine which entities the tool should be enabled for.

Code Block
languagexml
titleAn example of refining the available entities
<toolbar>
	...
	<item action="weave.zipnship">
		<entities>
			<entity>property</entity>
			<entity>assets</entity>
			<entity>utilities</entity>
		</entities>
	<item>
	...
</toolbar>

Allowing the user to choose the output projection, as an alternative to setting the crs as in the first example above

Code Block
languagexml
titleAllowing the user to choose the output projection
<toolbar>
	...
	<item action="com.cohga.client.actions.zipnship">
		<projections>
			<entry value="EPSG:4326">Geographic (WGS84)</entry>
			<entry value="EPSG:7844">Geographic (GDA2020)</entry>
			<entry value="EPSG:4283">Geographic (GDA94)</entry>
			<entry value="EPSG:4203">Geographic (AGD84)</entry>
			<entry value="EPSG:4202">Geographic (AGD66)</entry>
			<entry value="EPSG:7855" default="true">MGA Zone 55 (GDA2020)</entry>
			<entry value="EPSG:28355">MGA Zone 55 (GDA94)</entry>
			<entry value="EPSG:20355">MGA Zone 55 (AGD84)</entry>
			<entry value="EPSG:20255">MGA Zone 55 (AGD66)</entry>
			<entry value="EPSG:7899">VicGrid (GDA2020)</entry>
			<entry value="EPSG:3111">VicGrid (GDA94)</entry>
		</projections>
	</item>
	...
</toolbar>