-
Notifications
You must be signed in to change notification settings - Fork 394
Expand file tree
/
Copy pathcolorscalerange.xml
More file actions
213 lines (211 loc) · 13.3 KB
/
colorscalerange.xml
File metadata and controls
213 lines (211 loc) · 13.3 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<?xml version="1.0" encoding="UTF-8"?>
<WMS_Capabilities updateSequence="2016-10-06T13:53:10.789+01:00" version="1.3.0"
xmlns="http://www.opengis.net/wms"
xmlns:edal="http://reading-escience-centre.github.io/edal-java/wms"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd">
<Service>
<Name>WMS</Name>
<Title>Some Server</Title>
<Abstract/>
<KeywordList>
<Keyword/>
</KeywordList>
<OnlineResource xlink:href="http://www.example.com/wms" xlink:type="simple"/>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson/>
<ContactOrganization/>
</ContactPersonPrimary>
<ContactVoiceTelephone/>
<ContactElectronicMailAddress/>
</ContactInformation>
<Fees>none</Fees>
<AccessConstraints>none</AccessConstraints>
<MaxWidth>1024</MaxWidth>
<MaxHeight>1024</MaxHeight>
</Service>
<Capability>
<Request>
<GetCapabilities>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:href="http://www.example.com/wms" xlink:type="simple"/>
</Get>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/png</Format>
<Format>image/png;mode=32bit</Format>
<Format>image/gif</Format>
<Format>image/jpeg</Format>
<Format>application/vnd.google-earth.kmz</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:href="http://www.example.com/wms" xlink:type="simple"/>
</Get>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:href="http://www.example.com/wms" xlink:type="simple"/>
</Get>
</HTTP>
</DCPType>
</GetFeatureInfo>
</Request>
<edal:ExtendedCapabilities>
<edal:CapabilitiesType>ncWMS2</edal:CapabilitiesType>
<edal:ExtendedRequest>
<edal:Request>GetMap</edal:Request>
<edal:UrlParameter>
<edal:ParameterName>COLORSCALERANGE</edal:ParameterName>
<edal:ParameterDescription>Of the form min,max this is the scale range used for plotting the data.</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>NUMCOLORBANDS</edal:ParameterName>
<edal:ParameterDescription>The number of discrete colours to plot the data. Must be between 2 and 250</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>ABOVEMAXCOLOR</edal:ParameterName>
<edal:ParameterDescription>The colour to plot values which are above the maximum end of the scale range. Colours are as defined above, with the addition of "extend", which will use the maximum value of the palette.</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>BELOWMINCOLOR</edal:ParameterName>
<edal:ParameterDescription>The colour to plot values which are below the minimum end of the scale range. Colours are as defined above, with the addition of "extend", which will use the minimum value of the palette.</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>LOGSCALE</edal:ParameterName>
<edal:ParameterDescription>"true" or "false" - whether to plot data with a logarithmic scale</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>TARGETTIME</edal:ParameterName>
<edal:ParameterDescription>For in-situ data, all points which fall within the time range (specified in the TIME parameter) will be plotted. In the case that an in-situ point has multiple time readings within that range, the colour used to plot them will depend on the time value which is closest to this given value</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>TARGETELEVATION</edal:ParameterName>
<edal:ParameterDescription>For in-situ data, all points which fall within the elevation range (specified in the ELEVATION parameter) will be plotted. In the case that an in-situ point has multiple elevation readings within that range, the colour used to plot them will depend on the elevation value which is closest to this given value</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>OPACITY</edal:ParameterName>
<edal:ParameterDescription>The percentage opacity of the final output image</edal:ParameterDescription>
</edal:UrlParameter>
<edal:UrlParameter>
<edal:ParameterName>ANIMATION</edal:ParameterName>
<edal:ParameterDescription>"true" or "false" - whether to generate an animation. This also needs the TIME to be of the formstarttime/endtime, and currently is only implemented for features with a discrete time axis.</edal:ParameterDescription>
</edal:UrlParameter>
</edal:ExtendedRequest>
<edal:ExtendedRequest>
<edal:Request>GetTimeseries</edal:Request>
<edal:RequestDescription>This produces either a timeseries graph or, if downloading is enabled, a CSV file containing the data. The URL parameters are identical to those of a GetFeatureInfo request. The TIME parameter should specify a range of times in the form starttime/endtime, and the supported formats are: image/png,image/jpg,image/jpeg,text/csv</edal:RequestDescription>
</edal:ExtendedRequest>
<edal:ExtendedRequest>
<edal:Request>GetVerticalProfile</edal:Request>
<edal:RequestDescription>This produces either a vertical profile graph or, if downloading is enabled, a CSV file containing the data. The URL parameters are identical to those of a GetFeatureInfo request. The ELEVATION parameter should specify a range of elevations in the form startelevation/endelevation, and the supported formats are: image/png,image/jpg,image/jpeg,text/csv</edal:RequestDescription>
</edal:ExtendedRequest>
<edal:ExtendedRequest>
<edal:Request>GetTransect</edal:Request>
<edal:RequestDescription>This produces a graph of data values along an arbitrary path. Additionally if there is vertical information present in the dataset, it will produce a vertical section along the same path. It accepts the same URL parameters as a GetMap requestion, with the additional mandatory parameter LINESTRING</edal:RequestDescription>
<edal:UrlParameter>
<edal:ParameterName>LINESTRING</edal:ParameterName>
<edal:ParameterDescription>The points which define the path of the transect to plot. Of the form x1 y1,x2 y2,x3 y3...</edal:ParameterDescription>
</edal:UrlParameter>
</edal:ExtendedRequest>
<edal:ExtendedRequest>
<edal:Request>GetMetadata</edal:Request>
<edal:RequestDescription>Fetches small pieces of metadata. Many of these are also present in this capabilities document, but GetMetadata provides a more convenient method of accessing such data. GetMetadata always returns data in the JSON format</edal:RequestDescription>
<edal:UrlParameter>
<edal:ParameterName>ITEM</edal:ParameterName>
<edal:ParameterDescription>This specifies the metadata to return. This can take the values:
menu: Returns a tree representation of the available WMS layers, with IDs. Takes the optional parameter DATASET to return the same tree for a single dataset
layerDetails: Returns a set of details needed to plot a given layer. This includes such data as units, layer bounding box, configured scale range, etc. Takes the parameters LAYERNAME and TIME. The TIME parameter is optional, and if it is specified then the nearest available time is returned as part of the layer's details.
minmax: Calculates the range of values in the given area. Takes the same parameters as a GetMap request.
timesteps: Returns the available times for a given day. Takes the parameters LAYERNAME and DAY (yyyy-mm-dd)
animationTimesteps: Returns a list of time strings at different temporal resolutions for a given time range. This is used to present to the user different frequencies for the generation of an animation. Takes the parameters LAYERNAME, START, and END</edal:ParameterDescription>
</edal:UrlParameter>
</edal:ExtendedRequest>
<edal:ExtendedRequest>
<edal:Request>GetLegendGraphic</edal:Request>
<edal:RequestDescription>The GetLegendGraphic request generates an image which can be used as a legend. There are two main options: Generating just a colourbar, and generating a full legend.</edal:RequestDescription>
<edal:UrlParameter>
<edal:ParameterName>COLORBARONLY</edal:ParameterName>
<edal:ParameterDescription>"true" or "false". Whether to generate a full legend or just the colour bar. If it's "true", the following URL parameters are required:
PALETTE: The name of the palette to use. If missing, set to "default"
NUMCOLORBANDS: The number of colour bands to use. If missing, set to 250
VERTICAL: Whether to very colours vertically. If missing, defaults to true
WIDTH: The width of the image to generate. If missing, defaults to 50
HEIGHT: The height of the image to generate. If missing, defaults to 200
For a full legend, the additional parameters LAYERS and either STYLES, SLD, or SLD_BODY must be supplied. This is because a single WMS layer may depend on an arbitrary number of sub-layers, depending on the style it is plotted in. In addition to these parameters, the optional parameters controlling the style may be supplied (these are the same as documented in the GetMap request). Note that for full legends, the supplied width and height are NOT the final height of the image, but rather the width and height of each individual coloured plot area (i.e. the 1d/2d colourbar)</edal:ParameterDescription>
</edal:UrlParameter>
</edal:ExtendedRequest>
</edal:ExtendedCapabilities>
<Exception>
<Format>XML</Format>
</Exception>
<Layer>
<Title>Some Server</Title>
<CRS>EPSG:4326</CRS>
<Layer>
<Title>Some Layer</Title>
<Layer queryable="1">
<Name>mylayer</Name>
<Title>A queryable layer</Title>
<Abstract>Abtract goes here</Abstract>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180.0</westBoundLongitude>
<eastBoundLongitude>180.0</eastBoundLongitude>
<southBoundLatitude>-90.0</southBoundLatitude>
<northBoundLatitude>90.0</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" maxx="180.0" maxy="90.0" minx="-180.0" miny="-90.0"/>
<Dimension name="time" units="ISO8601" multipleValues="true" current="true" default="2014-01-01T00:00:00.000Z">
2002-01-01T00:00:00.000Z,2003-01-01T00:00:00.000Z,2004-01-01T00:00:00.000Z,2005-01-01T00:00:00.000Z,2006-01-01T00:00:00.000Z,2007-01-01T00:00:00.000Z,2008-01-01T00:00:00.000Z,2009-01-01T00:00:00.000Z,2010-01-01T00:00:00.000Z,2011-01-01T00:00:00.000Z,2012-01-01T00:00:00.000Z,2013-01-01T00:00:00.000Z,2014-01-01T00:00:00.000Z</Dimension>
<Style>
<Name>foo</Name>
<Title>Test style</Title>
<Abstract>Test style</Abstract>
<LegendURL height="264" width="110">
<Format>image/png</Format>
<OnlineResource xlink:href="http://www.example.com/legend" xlink:type="simple"/>
</LegendURL>
</Style>
</Layer>
</Layer>
<Layer>
<Title>Some Layer with a single timestep</Title>
<Layer queryable="2">
<Name>mylayer-singletime</Name>
<Title>A queryable layer</Title>
<Abstract>Abtract goes here</Abstract>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180.0</westBoundLongitude>
<eastBoundLongitude>180.0</eastBoundLongitude>
<southBoundLatitude>-90.0</southBoundLatitude>
<northBoundLatitude>90.0</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" maxx="180.0" maxy="90.0" minx="-180.0" miny="-90.0"/>
<Dimension name="time" units="ISO8601" multipleValues="true" current="true" default="2002-01-01T00:00:00.000Z">
2002-01-01T00:00:00.000Z</Dimension>
<Style>
<Name>foo</Name>
<Title>Test style</Title>
<Abstract>Test style</Abstract>
<LegendURL height="264" width="110">
<Format>image/png</Format>
<OnlineResource xlink:href="http://www.example.com/legend" xlink:type="simple"/>
</LegendURL>
</Style>
</Layer>
</Layer>
</Layer>
</Capability>
</WMS_Capabilities>