Versions Compared

Key

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

...

When raster isn't set (or is set to false) then they're mappers configured through a spatial mapper tag. This way you can add new layers to be exported as vectors by defining a new spatial mapper, without the need to setup a corresponding entity tag.

Also, any files you drop into ...\platform\workspace\zipnship will be
included in the generated zip file.

welcome and license are optional, the panel won't show if they're not set.

...

The available vector and raster formats are determined by the zipnship client bundles that are installed.

Info

Any files you drop into ...\platform\workspace\zipnship will be included in the generated zip file.

Example

Code Block
xml
xml
linenumberstrue
	<item action="weave.zipnshipenvelope">
		<tooltip>
			<title>Export</title>
			<text>Set you scale between 2000 and 15000 to be able to export</text>
		</tooltip>
		<minScale>2000</minScale>
		<maxScale>15000</maxScale>
		<welcome>This is the text to be displayed on the first wizard screen</welcome>
		<license><![CDATA[These are the terms and contitions that you <b>must</b> agree to before downloading this data.<br/>Further information will be contained within the generated content.]]></license>
		<size width="400" height="400"/>
		<size width="800" height="600"/>
		<size width="1024" height="768"/>
		<size width="1200" height="1000"/>
		<size width="1600" height="1600"/>
		<group id="base" label="Base Layers" disabled="true" checked="true">
			<layer>property</layer>
			<layer>roads</layer>
			<metadata><![CDATA[Base layers metadata goes here]]></metadata>
		</group>
		<group id="pipes" label="Pipes Layers">
			<layer>drainage</layer>
			<metadata><![CDATA[Pipe Layers related <i>metadata</i> goes here]]></metadata>
		</group>
		<group id="contours" label="Contours" maxScale="3000">
			<layer>manningham.contour</layer>
			<layer>manningham.con2m</layer>
			<layer>manningham.con5m</layer>
			<layer>manningham.con10m</layer>
		</group>
		<group id="aerial" label="Aerial Photo" checked="true" raster="true">
			<layer>manningham.aerial</layer>
			<metadata><![CDATA[More metadata can be specified here]]></metadata>
		</group>
		<group id="current" label="Current Map" raster="true"/>
	</item>

...