| 28 | !MapGuide cannot stylize the elevation layer, such as DEM and GeoTIFF file, configured by the following kind of layer definition with surface style: |
| 29 | {{{ |
| 30 | <LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd" version="1.0.0"> |
| 31 | <GridLayerDefinition> <ResourceId>Library://Publish/Data/Raster_1.FeatureSource</ResourceId> |
| 32 | <FeatureName>rasters:davenport</FeatureName> |
| 33 | <Geometry>Image</Geometry> |
| 34 | <GridScaleRange> |
| 35 | <SurfaceStyle> |
| 36 | <Band>1</Band> |
| 37 | <DefaultColor>0000FF00</DefaultColor> |
| 38 | </SurfaceStyle> |
| 39 | <ColorStyle> |
| 40 | <HillShade> |
| 41 | <Band>1</Band> |
| 42 | <Azimuth>45</Azimuth> |
| 43 | <Altitude>45</Altitude> |
| 44 | </HillShade> |
| 45 | <ColorRule> |
| 46 | <LegendLabel>-1.79e+308 to 1.79e+308</LegendLabel> |
| 47 | <Filter>(Height(1) > -1.7976931348623158e+308) AND (Height(1) < 1.7976931348623158e+308)</Filter> |
| 48 | <Color> |
| 49 | <ExplicitColor>FF00FF00</ExplicitColor> |
| 50 | </Color> |
| 51 | </ColorRule> |
| 52 | <ColorRule> |
| 53 | <LegendLabel>{DEFAULT}</LegendLabel> |
| 54 | <Color> |
| 55 | <ExplicitColor>FF006423</ExplicitColor> |
| 56 | </Color> |
| 57 | </ColorRule> |
| 58 | </ColorStyle> |
| 59 | <RebuildFactor>1</RebuildFactor> |
| 60 | </GridScaleRange> |
| 61 | </GridLayerDefinition> |
| 62 | }}} |
| 63 | Currently, !MapGuide do not have the stylization mechanism for grid surface data. So, in this release, we will make !MapGuide has the ability to stylize the elevation layer. The user would see the stylized elevation data, like Figure 1 in !MapGuide in the future, not the Figure 2, which is the current status for elevation data in !MapGuide. |