Skip to content

Commit a22d933

Browse files
authored
Merge pull request #23 from nasa-gibs/wv-3076-update-colormap-specs-section
Updated colormap links in advanced topics section
2 parents 06bc67f + f9eea6b commit a22d933

File tree

4 files changed

+5433
-13
lines changed

4 files changed

+5433
-13
lines changed

docs/access-advanced-topics.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The GIBS Colormap specification guides the creation of GIBS Colormap XML documen
120120
!!! Note
121121
The terms "Colormap entry" and "Legend entry" are used to identify individual entries within the data-to-rgb value mapping and legend XML elements, respectively.
122122

123-
** Data To RGB Value Mapping **
123+
**Data To RGB Value Mapping**
124124

125125
* **Ref** - The unique reference id used when associating Colormap entries to Legend entries.
126126
* **RGB** - The visual color associated with the data value(s).
@@ -129,7 +129,7 @@ The GIBS Colormap specification guides the creation of GIBS Colormap XML documen
129129
* **Scaled Value(s)** - The scaled data values to which units will be applied, if appropriate, for display to end users. If this is a classification, then the appropriate label is provided for reference.
130130
* **No Data** - A boolean value designating whether the Colormap entry is the "no data" value or not.
131131

132-
** Legend Representation **
132+
**Legend Representation**
133133

134134
* **ID(s)** - The `ref` values (see above) to which the Legend entry is associated.
135135
* **RGB** - The visual color associated with the Legend entry.
@@ -143,17 +143,17 @@ A raster visualization's GIBS Colormap XML document is associated to a GIBS visu
143143
``` xml
144144
<ows:Metadata xlink:type="simple"
145145
xlink:role="http://earthdata.nasa.gov/gibs/metadata-type/colormap"
146-
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.3/AMSRE_Surface_Rain_Rate_Day.xml"
146+
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.3/AMSR_Surface_Precipitation.xml"
147147
xlink:title="GIBS Color Map: Data - RGB Mapping"/>
148148

149149
<ows:Metadata xlink:type="simple"
150150
xlink:role="http://earthdata.nasa.gov/gibs/metadata-type/colormap/1.0"
151-
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.0/AMSRE_Surface_Rain_Rate_Day.xml"
151+
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.0/AMSR_Surface_Precipitation.xml"
152152
xlink:title="GIBS Color Map: Data - RGB Mapping"/>
153153

154154
<ows:Metadata xlink:type="simple"
155155
xlink:role="http://earthdata.nasa.gov/gibs/metadata-type/colormap/1.3"
156-
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.3/AMSRE_Surface_Rain_Rate_Day.xml"
156+
xlink:href="https://gibs.earthdata.nasa.gov/colormaps/v1.3/AMSR_Surface_Precipitation.xml"
157157
xlink:title="GIBS Color Map: Data - RGB Mapping"/>
158158
```
159159

@@ -162,13 +162,13 @@ As described previously, each GIBS Colormap XML document contains the informatio
162162

163163
| Format | Orientation | Sample URL | Sample Image |
164164
| ------- | ------------- | ----------- | --------------- |
165-
| PNG | Horizontal | [link](https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_H.png){:target="_blank"} | ![PNG Horizontal](img/AMSR2_Wind_Speed_Day_H.png) |
166-
| SVG | Horizontal | [link](https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_H.svg){:target="_blank"} | ![SVG Horizontal](img/AMSR2_Wind_Speed_Day_H.svg) |
167-
| SVG | Vertical | [link](https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_V.svg){:target="_blank"} | ![SVG Vertical](img/AMSR2_Wind_Speed_Day_V.svg) |
165+
| PNG | Horizontal | [link](https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_H.png){:target="_blank"} | ![PNG Horizontal](img/AMSR_Wind_Speed_H.png) |
166+
| SVG | Horizontal | [link](https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_H.svg){:target="_blank"} | ![SVG Horizontal](img/AMSR_Wind_Speed_H.svg) |
167+
| SVG | Vertical | [link](https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_V.svg){:target="_blank"} | ![SVG Vertical](img/AMSR_Wind_Speed_V.svg) |
168168

169169
These pre-generated legends are referenced in the WMTS and WMS Capabilities documents as is described below.
170170

171-
** WMTS Capabilities **
171+
**WMTS Capabilities**
172172

173173
Pre-generated legends are referenced in the WMTS Capabilities document within the `Style/LegendURL` elements. The following snippet shows an example of how these elements will appear. Note that only the SVG-formatted legends are referenced.
174174

@@ -178,16 +178,16 @@ Pre-generated legends are referenced in the WMTS Capabilities document within th
178178
<ows:Identifier>default</ows:Identifier>
179179
<LegendURL format="image/svg+xml" xlink:type="simple"
180180
xlink:role="http://earthdata.nasa.gov/gibs/legend-type/vertical"
181-
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_V.svg"
181+
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_V.svg"
182182
xlink:title="GIBS Color Map Legend: Vertical" width="135" height="287"/>
183183
<LegendURL format="image/svg+xml" xlink:type="simple"
184184
xlink:role="http://earthdata.nasa.gov/gibs/legend-type/horizontal"
185-
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_H.svg"
185+
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_H.svg"
186186
xlink:title="GIBS Color Map Legend: Horizontal" width="377" height="85"/>
187187
</Style>
188188
```
189189

190-
** WMS Capabilities **
190+
**WMS Capabilities**
191191

192192
Pre-generated legends are referenced in the WMS Capabilities document within the `Style/LegendURL` element. The following snippet shows an example of how this element will appear. Note that only the PNG-formatted legend is referenced.
193193

@@ -198,7 +198,7 @@ Pre-generated legends are referenced in the WMS Capabilities document within the
198198
<LegendURL width="420" height="95">
199199
<Format>image/png</Format>
200200
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
201-
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR2_Wind_Speed_Day_H.png"/>
201+
xlink:href="https://gibs.earthdata.nasa.gov/legends/AMSR_Wind_Speed_H.png"/>
202202
</LegendURL>
203203
</Style>
204204
```

docs/img/AMSR_Wind_Speed_H.png

3.75 KB
Loading

0 commit comments

Comments
 (0)