Changes between Version 12 and Version 13 of MapGuideRfc26


Ignore:
Timestamp:
08/12/07 18:34:05 (17 years ago)
Author:
yangm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc26

    v12 v13  
    2626== Motivation ==
    2727
     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}}}
     63Currently, !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.
    2864
    2965||[[Image(After.JPG, align=center)]]|| instead of ||[[Image(Before.JPG, align=center)]]||
     
    3268== Proposed Solution ==
    3369
    34 Modify 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.
     70Modify Stylization project to support the stylization of the elevation data, with surface style. New classes will be introduced to handle that style information, such as color, band, surface, hillshade and etc.
    3571
    3672== Implications ==
    3773
    38 This RFC does not describe any GUI modifications and does not affect the existed published API.
     74This RFC does not describe any GUI modifications and does not affect the existed published API. 
    3975
    4076== Test Plan ==
    4177
    42 After publishing a elevation data from Map 3D to !MapGuide server, the elevation image should display as it was shown in Map 3D.
     78Add an elevation layer to !MapGuide, the elevation layer should display with grid surface, like Figure1.
    4379
    4480== Funding/Resources ==