Dekho Reporting Parameters

These parameters are applicable to each of the third party reporting tools. The map content is controlled using the following parameters to MapServlet:

Parameter

Example Values

Description

sessionid

A328DC621DG328DC621DG3

The Dekho session id. Dekho will not return a map if no valid session id is provided.

mapname

themapname

The map name. It needs to be url encoded. Spaces are represented as If not set, the current map in %20. If blank the current map in Dekho will be used.

width

640

Width of the map in pixels.

height

480

Height of the map in pixels.

resolution

150

How many dots/pixels per inch. Use this setting in conjunction with the width and height to define the width of the map in the report in inches.

format

png24

Format of the map image

selection

mapservice.layername:2,6,4;

sde.suburb:5,3,1,4

Override the selected features on the map. If not set, the current selection in Dekho will be used. Format is <full layer name1>:<objectid1>,<objectid2>; <full layer name2>:<objectid3>

layers

mymapservice.cadastre, mymapservice.suburb

Defines the visible layers when drawing the map. If the layer is in a group or a map service, then the parent group and/or parent service must also be visible. This follows the same behaviour as the visibility checkboxes in the Dekho legend. If a layer is checked visible, but its parent service is invisible, the layer will not appear.

extents

329042,58162,333558,58200

<minx>,<miny>,<maxx>,<maxy>

zoomtoselection

true

true or false

 |- zoomfactor

2.0

Used in conjunction with zoomtoselection=true. Zoom to selection, then zoom out by this zoom factor. The default is 2.0

 |- scale

2500

Used in conjunction with zoomtoselection=true. Zoom to selection then set scale to this value

 

 

 

PLEASE NOTE: Only the Report name is added to the Dekho configuration database. This means that only if the report name changes will the Dekho Administrator need to delete the old report from Dekho and add a new report name. No changes are required to the report configuration in Dekho if the report content is modified.

 

 

 

See the Maps publishing section to be shown how to add reports to a map based on a Role.


Test a Report