Description
A GridInflectionList element defines an ordered
collection of inflection points (as defined by a series of zero or more
GridInflection elements) used to interpret a Grid file.
The contained collection of GridInflection elements
must be ordered in ascending order of the value
attribute.
A value in the data that lies between two GridInflections will have its color determined by blending the colors at the two inflection points.
Context
The table below lists the elements that can contain, or be contained by, a GridInflectionList element.
| Contained by | Element | Contains |
|---|---|---|
|
GridStyle |
GridInflectionList |
GridInflection |
Attributes
The GridInflectionList element has no attributes.
Example
This example specifies a grid image style that contains a collection of three grid inflection points.
<?xml version="1.0" encoding="UTF-8"?>
<NamedStyle
version="MXP_WorkSpace_1_5"
xmlns="http://www.mapinfo.com/mxp">
<GridStyle
id="migridstyle"
name="migridstyle"
contrast="0.5"
brightness="0.5"
opacity="1"
grayscale="false"
show-hillshade="false"
null-color="black"
null-transparent="true"/>
<GridInflectionList>
<GridInflection
value="0.4"
color="yellow"/>
<GridInflection
value="0.5"
color="green"/>
<GridInflection
value="0.6"
color="blue"/>
</GridInflectionList>
</GridStyle>undefined</NamedStyle>