Changes between Version 17 and Version 18 of MapGuideRfc59
- Timestamp:
- 02/05/09 01:38:24 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc59
v17 v18 24 24 == Overview == 25 25 26 The purpose of this RFC is to add a new type of layer element in Layer Definition XML schema for TIN (Triangulated Irregular Networks). TIN is used to simulate triangle based terrain. It has many characteristics that are different from vector data and raster data, it’s necessary to create a new layer type for TIN.26 The purpose of this RFC is to add a new type of layer element in Layer Definition XML schema for TIN (Triangulated Irregular Networks). TIN is used to simulate triangle based terrain. It has many characteristics that are different from vector data and raster data, So, it’s necessary to create a new layer type for TIN. 27 27 28 28 == Motivation == 29 There are several kinds of data as vector and raster. TIN is another kind of data that can describe terrain model. Some products such as Oracel Spacial support TIN data. However, MapGuide does not support it yet. So, currently we cannot show a real TIN surface in MapGuide.29 There are several kinds of data such as vector and raster. TIN is another kind of data that can describe terrain model. Some products such as Oracel Spacial support TIN data. However, MapGuide does not support it yet. So, currently we cannot show a real TIN surface in MapGuide. 30 30 [[BR]]Adding TIN layer schema will make it easier to support TIN layer and there will be a real TIN surface. We can see points, edges and faces if we zoom into the surface. 31 31 [[BR]]In future, FDO Provider may support TIN. … … 33 33 == Proposed Solution == 34 34 The proposed solution contains modifications to the Layer Definition XML schema. We will create following elements for the MapGuide LayerDefinition XML schema. 35 || Type || ******* Annotation *******||36 || TinLayerDefinitionType || A layer for tindata. ||35 || Type || Description || 36 || TinLayerDefinitionType || A layer for TIN data. || 37 37 || TinScaleRangeType || The stylization for a specified scale range. || 38 38 || TinColorRuleType || Encapsulate a style for a tin source. || 39 39 || TinFaceType || Style rule for a face type. || 40 || TinHillShadeType || Specifies how to shade given a band and alight source. ||40 || TinHillShadeType || Specifies how to shade given a light source. || 41 41 42 42 [[Image(TinLayerDefinitionType.bmp)]] 43 43 * BaseLayerDefinitionType is an existing common type for all layer types. 44 44 * FeatureName and Geometry are the same as in Vector/Grid layer. 45 * Filter element is an FDO expression for the ColorRule. Any features that pass this filter are styled using this rule's stylization. We can stylize TIN surface by elevation, slope and aspect. For example, this surface is stylized with XML snippet as below: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: 46 46 [[BR]][[Image(stylize_by_slope.bmp)]] 47 47 {{{ … … 74 74 * The type for TinScaleRange is TinScaleRangeType. 75 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.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 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 78 * The element type of Face is TinFaceType, see details as follow. [[BR]]