# Legato.Format.ExtendedWMC.Model

Models an OGC ViewContext. Important: not all attributes are added, only those that are actually used in Legato, or which are required according to the OGC WMC standard

Summary

Legato.Format.ExtendedWMC.Model | Models an OGC ViewContext.
Properties |
id | {String} id of the view context (required)
version | {String} version of the view context (required)
boundingBox | {Legato.Format.ExtendedWMC.Model.BoundingBox} the geographic extent that should be presented by the client (required)
window | {Legato.Format.ExtendedWMC.Model.Window} the size in pixels of the map the Context document describes (optional)
title | {String} contains a human readable title of the Context (required)
extensions | {Legato.Format.ExtendedWMC.Model.Extensions} Non-standard extensions
layerList | {Array(Legato.Format.ExtendedWMC.Model.Layer)} list of all layers to build a required view (map)
Legato.Format.ExtendedWMC.Model.BoundingBox | Bounding box with geo reference system
Properties |
SRS | {String} spatial reference system (required)
bounds | {OpenLayers.Bounds} the bounds of the bounding box (left, bottom, right, top)
Legato.Format.ExtendedWMC.Model.Window | Map Window information
Properties |
width | {Integer} the width in pixels (required)
height | {Integer} the height in pixels (required)
Legato.Format.ExtendedWMC.Model.Extensions | Holds non-standard extensions for the whole WMC model
Properties |
legato | {Legato.Format.ExtendedWMC.Model.Extensions.Legato} Extensions specific for Legato
Legato.Format.ExtendedWMC.Model.Extensions.Legato | Non-standard legato extensions
Properties |
capabilities | {Array(String)} A list of capabilities URIs
minScale | {Float} The minimum scale where the layer should be displayed (optional)
maxScale | {Float} The maximum scale where the layer should be displayed (optional)
Legato.Format.ExtendedWMC.Model.Layer | Bean to store layer information
Properties |
hidden | {Boolean} contains true if the layer should be hidden in the client result map (required)
queryable | {Boolean} contains true if the layer is set queryable (required)
server | {Legato.Format.ExtendedWMC.Model.Layer.Server} defining the service from which the named Layer may be requested
name | {String} The name of the selected layer (required)
title | {String} The title of the selected layer (required)
layerAbstract | {String} The abstract of the selected layer (optional)
minScaleDenominator | {Float} The denominator (1:X) part of minimum scale where the layer should be displayed (optional)
maxScaleDenominator | {Float} The denominator (1:X) part of maximum scale where the layer should be displayed (optional)
srs | {Array(String)} coordinate systems of the layer
formatList | {Array(String)} A list of strings specifying the available image format for this layer.
styleList | {Array(Legato.Format.ExtendedWMC.Model.Layer.Style)} A list of styles.
currentFormat | {String} The currently selected format (included also in the formatList)
extension | A map of layer-specific extensions
Legato.Format.ExtendedWMC.Model.Layer.Server | Server information
Properties |
service | {String} the type of the service according to OGC interfaces, such as WMS, WFS.
version | {String} Version number of the OGC interface specification which corresponds to the service (required)
title | {String} the title of the service (extracted from the Capabilities by the Context document creator) (optional)
onlineResource | {String} the link (URI) to the online resource (required)
Legato.Format.ExtendedWMC.Model.Layer.Style | Style information.
Properties |
name | {String} name of the style.
title of the style | {String} title of the style.
abstract of the style | {String} abstract of the style.
abstract of the style | {String} abstract of the style.

### Properties

### id

{String} id of the view context (required)

### version

{String} version of the view context (required)

### boundingBox

{Legato.Format.ExtendedWMC.Model.BoundingBox} the geographic extent that should be presented by the client (required)

### window

{Legato.Format.ExtendedWMC.Model.Window} the size in pixels of the map the Context document describes (optional)

### title

{String} contains a human readable title of the Context (required)

### extensions

{Legato.Format.ExtendedWMC.Model.Extensions} Non-standard extensions

### layerList

{Array(Legato.Format.ExtendedWMC.Model.Layer)} list of all layers to build a required view (map)

## Legato.Format.ExtendedWMC.Model.BoundingBox

Bounding box with geo reference system

Summary

Properties |
SRS | {String} spatial reference system (required)
bounds | {OpenLayers.Bounds} the bounds of the bounding box (left, bottom, right, top)

### Properties

### SRS

{String} spatial reference system (required)

### bounds

{OpenLayers.Bounds} the bounds of the bounding box (left, bottom, right, top)

## Legato.Format.ExtendedWMC.Model.Window

Map Window information

Summary

Properties |
width | {Integer} the width in pixels (required)
height | {Integer} the height in pixels (required)

### Properties

### width

{Integer} the width in pixels (required)

### height

{Integer} the height in pixels (required)

## Legato.Format.ExtendedWMC.Model.Extensions

Holds non-standard extensions for the whole WMC model

Summary

Properties |
legato | {Legato.Format.ExtendedWMC.Model.Extensions.Legato} Extensions specific for Legato

### Properties

### legato

{Legato.Format.ExtendedWMC.Model.Extensions.Legato} Extensions specific for Legato

## Legato.Format.ExtendedWMC.Model.Extensions.Legato

Non-standard legato extensions

Summary

Properties |
capabilities | {Array(String)} A list of capabilities URIs
minScale | {Float} The minimum scale where the layer should be displayed (optional)
maxScale | {Float} The maximum scale where the layer should be displayed (optional)

### Properties

### capabilities

{Array(String)} A list of capabilities URIs

### minScale

{Float} The minimum scale where the layer should be displayed (optional)

### maxScale

{Float} The maximum scale where the layer should be displayed (optional)

## Legato.Format.ExtendedWMC.Model.Layer

Bean to store layer information

Summary

Properties |
hidden | {Boolean} contains true if the layer should be hidden in the client result map (required)
queryable | {Boolean} contains true if the layer is set queryable (required)
server | {Legato.Format.ExtendedWMC.Model.Layer.Server} defining the service from which the named Layer may be requested
name | {String} The name of the selected layer (required)
title | {String} The title of the selected layer (required)
layerAbstract | {String} The abstract of the selected layer (optional)
minScaleDenominator | {Float} The denominator (1:X) part of minimum scale where the layer should be displayed (optional)
maxScaleDenominator | {Float} The denominator (1:X) part of maximum scale where the layer should be displayed (optional)
srs | {Array(String)} coordinate systems of the layer
formatList | {Array(String)} A list of strings specifying the available image format for this layer.
styleList | {Array(Legato.Format.ExtendedWMC.Model.Layer.Style)} A list of styles.
currentFormat | {String} The currently selected format (included also in the formatList)
extension | A map of layer-specific extensions

### Properties

### hidden

{Boolean} contains true if the layer should be hidden in the client result map (required)

### queryable

{Boolean} contains true if the layer is set queryable (required)

### server

{Legato.Format.ExtendedWMC.Model.Layer.Server} defining the service from which the named Layer may be requested

### name

{String} The name of the selected layer (required)

### title

{String} The title of the selected layer (required)

### layerAbstract

{String} The abstract of the selected layer (optional)

### minScaleDenominator

{Float} The denominator (1:X) part of minimum scale where the layer should be displayed (optional)

### maxScaleDenominator

{Float} The denominator (1:X) part of maximum scale where the layer should be displayed (optional)

### srs

{Array(String)} coordinate systems of the layer

### formatList

{Array(String)} A list of strings specifying the available image format for this layer. Image formats should be expressed with MIME types as described in WMS 1.1.1 Specification.

### styleList

{Array(Legato.Format.ExtendedWMC.Model.Layer.Style)} A list of styles.

### currentFormat

{String} The currently selected format (included also in the formatList)

### extension

A map of layer-specific extensions

## Legato.Format.ExtendedWMC.Model.Layer.Server

Server information

Summary

Properties |
service | {String} the type of the service according to OGC interfaces, such as WMS, WFS.
version | {String} Version number of the OGC interface specification which corresponds to the service (required)
title | {String} the title of the service (extracted from the Capabilities by the Context document creator) (optional)
onlineResource | {String} the link (URI) to the online resource (required)

### Properties

### service

{String} the type of the service according to OGC interfaces, such as WMS, WFS. (required)

### version

{String} Version number of the OGC interface specification which corresponds to the service (required)

### title

{String} the title of the service (extracted from the Capabilities by the Context document creator) (optional)

### onlineResource

{String} the link (URI) to the online resource (required)

## Legato.Format.ExtendedWMC.Model.Layer.Style

Style information.

Summary

Properties |
name | {String} name of the style.
title of the style | {String} title of the style.
abstract of the style | {String} abstract of the style.
abstract of the style | {String} abstract of the style.

### Properties

### name

{String} name of the style.

### title of the style

{String} title of the style.

### abstract of the style

{String} abstract of the style.

### abstract of the style

{String} abstract of the style.

Bounding box with geo reference system
Map Window information
Holds non-standard extensions for the whole WMC model
Bean to store layer information
Non-standard legato extensions
Server information