28 | | For elevation data, such as DEM file, which would not be displayed in !MapGuide as it does in Map 3D, because the !MapGuide do not have the stylization mechanism for grid surface data as Map does. So, in this release, we will make !MapGuide has the ability to stylize the elevation layer. |
29 | | If publish a elevation layer from Map 3D to !MapGuide, the user would see Figure 1 in MapGuide Studio in the future, not the Figure 2, which is the current status for elevation data in MapGuide. |
| 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 | }}} |
| 64 | |
| 65 | While, !MapGuide cannot display this elevation data published from Map 3D with surface style, because the !MapGuide do not have the stylization mechanism for grid surface data. |
| 66 | So, in this release, we will make !MapGuide has the ability to stylize the elevation layer. If publish a stylized elevation layer from Map 3D to !MapGuide, the user would see Figure 1 in !MapGuide Studio in the future, not the Figure 2, which is the current status for elevation data in !MapGuide. |