forked from JJediny/DataSourceEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwms.hjson
53 lines (52 loc) · 1.32 KB
/
wms.hjson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
title: "WMS layer"
description: "A single layer from a Web Mapping Service server"
type: object
allOf: [
{ "$ref": "item.json" }
{ "$ref": "itemOrGroup.json" }
]
defaultProperties: [ "name", "type", "url", "layers" ]
properties: {
type: { type: "string", enum: [ "wms" ] }
layers: {
title: "Layer Names"
description: "Comma-separated list of WMS layer names to include."
type: string
}
abstract: {
type: string
description: "Override the abstract provided by the WMS server" # maybe?
}
parameters: {
type: object
description: "Additional parameters to pass to the WMS server."
}
clipToRectangle: {
type: boolean
title: "Clip to Rectangle"
description: "Whether this dataset should be clipped to the provided rectangle. False by default."
}
getFeatureInfoFormats: {
type: array
title: "GetFeatureInfo Formats"
description: "The formats in which to try WMS GetFeatureInfo requests"
items: [
{
required:
[
type
]
type: object
title: "Format"
properties: {
type: {
type: string
}
}
}
]
}
# to add here: tilingScheme - looks unused but implemented
}
}