Changes between Version 19 and Version 20 of MapGuideRfc59


Ignore:
Timestamp:
02/05/09 01:45:36 (16 years ago)
Author:
evan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc59

    v19 v20  
    3232
    3333== Proposed Solution ==
    34 The proposed solution contains modifications to the Layer Definition XML schema.  We will create following elements for the MapGuide LayerDefinition XML schema.
     34The proposed solution contains modifications to the Layer Definition XML schema.  We will create following elements for the MapGuide Layer Definition XML schema.
    3535|| Type || Description ||
    3636|| !TinLayerDefinitionType || A layer for TIN data. ||
    37 || TinScaleRangeType || The stylization for a specified scale range. ||
    38 || TinColorRuleType || Encapsulate a style for a tin source. ||
    39 || TinFaceType || Style rule for a face type. ||
    40 || TinHillShadeType || Specifies how to shade given a light source. ||
     37|| !TinScaleRangeType || The stylization for a specified scale range. ||
     38|| !TinColorRuleType || Encapsulate a style for a tin source. ||
     39|| !TinFaceType || Style rule for a face type. ||
     40|| !TinHillShadeType || Specifies how to shade given a light source. ||
    4141
    4242 [[Image(TinLayerDefinitionType.bmp)]]
    43  * BaseLayerDefinitionType is an existing common type for all layer types.
    44  * FeatureName and Geometry are the same as in Vector/Grid layer.
    45  * Filter element is an FDO expression for the ColorRule. TIN is styled using this rule. We can stylize TIN surface by elevation, slope and aspect. For example, this surface is stylized with XML snippet as below:
     43 * !BaseLayerDefinitionType is an existing common type for all layer types.
     44 * !FeatureName and Geometry are the same as in Vector/Grid layer.
     45 * Filter element is an FDO expression for the !ColorRule. TIN is styled using this rule. We can stylize TIN surface by elevation, slope and aspect. For example, this surface is stylized with XML snippet as below:
    4646 [[BR]][[Image(stylize_by_slope.bmp)]]
    4747{{{
     
    7272}}}
    7373
    74  * The type for TinScaleRange is TinScaleRangeType.
    75   * MinScale and MaxScale elements are used to control the scale range.
    76   * Elevation element includes two elevation related factors: ZeroValue element is the user-defined zero value, defaults to 0 if not specified; ScaleFactor element determines how to scale the  elevation. Defaults to 1.
    77   * The element type that specifies the style of Point and Edge in the layer definition schema is CompositeTypeStyle which already exists in schema, see [wiki:MapGuideRfc14 MapGuide RFC 14] for details.
    78   * The element type of Face is TinFaceType, see details as follow. [[BR]]
     74 * The type for !TinScaleRange is !TinScaleRangeType.
     75  * !MinScale and !MaxScale elements are used to control the scale range.
     76  * Elevation element includes two elevation related factors: !ZeroValue element is the user-defined zero value, defaults to 0 if not specified; !ScaleFactor element determines how to scale the  elevation. Defaults to 1.
     77  * The element type that specifies the style of Point and Edge in the layer definition schema is !CompositeTypeStyle which already exists in schema, see [wiki:MapGuideRfc14 MapGuide RFC 14] for details.
     78  * The element type of Face is !TinFaceType, see details as follow. [[BR]]
    7979
    8080  [[Image(TinFaceType.bmp)]]
    81  * HillShade element contains Azimuth and Altitude of the sun.
    82  * TinColorRuleType likes GridColorRuleType of gird layer.
     81 * !HillShade element contains Azimuth and Altitude of the sun.
     82 * !TinColorRuleType likes !GridColorRuleType of gird layer.
    8383
    8484'''Example:'''
     
    139139}}}
    140140== Implications ==
    141 The new TIN layer definition will have an impact on the LayerDefinition XML schema. Backwards compatibility should be maintained and will not break any existing applications. That is to say, applications with later version can completely open files created by applications with former version, while applications with former version should ignore TIN layer when opening file created by applications with later version.  Documentation will need to be updated for the new functionality.
     141The new TIN layer definition will have an impact on the Layer Definition XML schema. Backwards compatibility should be maintained and will not break any existing applications. That is to say, applications with later version can completely open files created by applications with former version, while applications with former version should ignore TIN layer when opening file created by applications with later version.  Documentation will need to be updated for the new functionality.
    142142== Test Plan ==
    143143 * Unit tests should include creating TIN layers.