Version 10 (modified by 17 years ago) ( diff ) | ,
---|
MapGuide RFC 26 - Stylize Grid Surface
This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.
Status
RFC Template Version | 1.0 |
Submission Date | Aug 2, 2007 |
Last Modified | Maggie Yang Timestamp |
Author | Maggie Yang |
RFC Status | draft |
Implementation Status | under development |
Proposed Milestone | 1.3 |
Assigned PSC guide(s) | (when determined) |
Voting History | (vote date) |
+1 | |
+0 | |
-0 | |
-1 |
Overview
The purpose of this RFC is to allow MapGuide to stylize the elevation data, which configured surface style in its layer definition.
Motivation
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:
<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"> <GridLayerDefinition> <ResourceId>Library://Publish/Data/Raster_1.FeatureSource</ResourceId> <FeatureName>rasters:davenport</FeatureName> <Geometry>Image</Geometry> <GridScaleRange> <SurfaceStyle> <Band>1</Band> <DefaultColor>0000FF00</DefaultColor> </SurfaceStyle> <ColorStyle> <HillShade> <Band>1</Band> <Azimuth>45</Azimuth> <Altitude>45</Altitude> </HillShade> <ColorRule> <LegendLabel>-1.79e+308 to 1.79e+308</LegendLabel> <Filter>(Height(1) > -1.7976931348623158e+308) AND (Height(1) < 1.7976931348623158e+308)</Filter> <Color> <ExplicitColor>FF00FF00</ExplicitColor> </Color> </ColorRule> <ColorRule> <LegendLabel>{DEFAULT}</LegendLabel> <Color> <ExplicitColor>FF006423</ExplicitColor> </Color> </ColorRule> </ColorStyle> <RebuildFactor>1</RebuildFactor> </GridScaleRange> </GridLayerDefinition>
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. 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.
instead of | ||
Figure1 | Figure2 |
Proposed Solution
The proposed solution contains modifications to: Platformbase and Stylization projects.
Implications
This RFC does not describe any GUI modifications and does not affect the existed published API.
Test Plan
After publishing a elevation data from Map 3D to MapGuide server, the elevation image should display as it was shown in Map 3D.
Funding/Resources
Supplied by Autodesk.
Attachments (2)
- Before.JPG (17.4 KB ) - added by 17 years ago.
- After.JPG (45.2 KB ) - added by 17 years ago.
Download all attachments as: .zip