28 | | Map 3D can publish stylized elevation layer, such as DEM and GeoTIFF file to !MapGuide. The layer definition for an elevation data in Map 3D would like below, 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> |
32 | | <ResourceId>Library://Publish/Data/Raster_1.FeatureSource</ResourceId> |
33 | | <FeatureName>rasters:davenport</FeatureName> |
34 | | <Geometry>Image</Geometry> |
35 | | <GridScaleRange> |
36 | | <SurfaceStyle> |
37 | | <Band>1</Band> |
38 | | <DefaultColor>0000FF00</DefaultColor> |
39 | | </SurfaceStyle> |
40 | | <ColorStyle> |
41 | | <HillShade> |
42 | | <Band>1</Band> |
43 | | <Azimuth>45</Azimuth> |
44 | | <Altitude>45</Altitude> |
45 | | </HillShade> |
46 | | <ColorRule> |
47 | | <LegendLabel>-1.79e+308 to 1.79e+308</LegendLabel> |
48 | | <Filter>(Height(1) > -1.7976931348623158e+308) AND (Height(1) < 1.7976931348623158e+308)</Filter> |
49 | | <Color> |
50 | | <ExplicitColor>FF00FF00</ExplicitColor> |
51 | | </Color> |
52 | | </ColorRule> |
53 | | <ColorRule> |
54 | | <LegendLabel>{DEFAULT}</LegendLabel> |
55 | | <Color> |
56 | | <ExplicitColor>FF006423</ExplicitColor> |
57 | | </Color> |
58 | | </ColorRule> |
59 | | </ColorStyle> |
60 | | <RebuildFactor>1</RebuildFactor> |
61 | | </GridScaleRange> |
62 | | </GridLayerDefinition> |
63 | | }}} |
| 28 | Map 3D can publish stylized elevation layer, such as DEM and GeoTIFF file to !MapGuide. |