Versions Compared

Key

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

The update is intended to expose Weave map engines as a WMS service, but the bundle can also be used to create URL's that can be called from external application to create custom map images, this is because the bundle supports additional parameters beyond those required by WMS which allows for more customised map output.

...

Name

Description

WMS Compliant

srs

Coordinate reference system of the coordinates specified in the URL

X

width

Width of generated image in pixels

X

height

Height of generated image in pixels

X

format

Output format of the generated image

X

bgcolor

Background colour

X

transparent

true if transparent images should be created, false if opaque images should be generated

X

bbox

Comma separated minx, miny, maxx and maxy of the generated image

X

layers

List of layers to draw, all layers will be drawn if not set, non drawn if layers is set to no value

X

exceptions

Method used to return errors to the caller

X

size

Comma separated width and height of generated image in pixels

 

dpi

DPI of generated image, to ensure scale dependancies are calculated correctly

 

minx

Left X coordinate

 

miny

Bottom Y coordinate

 

maxx

Right X Coordinate

 

maxy

Top Y coordinate

 

x

Center X coordinate

 

y

Center Y coordinate

 

center

Comma separated X and Y coordinate

 

scale

Scale to generate map at

 

entity

Entity to use to determine map extent and draw highlight

 

ids

Identifiers of entities to zoom to and highlight

 

filter

Filters to be applied to 'ids' before calculating the extent. For use if external system uses different id's for the underlying GIS data

 

buffer

Amount to scale entity extent by to calculate extent, e.g. 1.2 to place a 20% buffer around the entity bounds

 

minscale

Minimum scale to zoom to when zooming to an entity

 

highlight

false if the entity highlight should not be drawn, true if it should be drawn

 

hlcolor

Vector highlight colour

 

mcolorMarker highlight colour. Should be blue, brown, dark*, green, orange, purple, red, silver or yellow. The default is green.  

...

The mcolor 'dark' is a dark grey. 

 

Note

When specifying the map extent setting minx, miny, maxx and maxy is the same as specifying just bbox, and bbox will take precedence.
If a bounding box is set it will take precedence over setting the map extent based on a center x,y and scale.
If a center x, y and scale are set they will take precedence over the entity and ids.
Setting size will take precedence over setting width and height.
All of the above values, except srs, can be set in the context and overwritten in the URL.

...