Changes between Version 10 and Version 11 of MapGuideRfc26


Ignore:
Timestamp:
08/06/07 02:09:48 (17 years ago)
Author:
yangm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc26

    v10 v11  
    1 = !MapGuide RFC 26 - Stylize Grid Surface=
     1= !MapGuide RFC 26 - Stylize Elevation Layer =
    22
    33This page contains an change request (RFC) for the !MapGuide Open Source project. 
     
    2626== Motivation ==
    2727
    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 }}}
     28Map 3D can publish stylized elevation layer, such as DEM and GeoTIFF file to !MapGuide.
    6429
    6530While, !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.
     
    7136== Proposed Solution ==
    7237
    73 The proposed solution contains modifications to: Platformbase and Stylization projects.
    74 
     38Modify Stylization project to support the stylization of the elevation data, with surface style. New classes will be introduced to handle those style information, such as color, band, surface, hillshade and etc.
    7539
    7640== Implications ==