Version 6 (modified by 14 years ago) ( diff ) | ,
---|
MapGuide RFC 108 - Support Watermark
This page contains a 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 | July 30,2010 |
Last Modified | Buddy Hu, July 30,2010 |
Author | Buddy Hu |
RFC Status | Draft |
Implementation Status | (pending) |
Proposed Milestone | 2.3 |
Assigned PSC guide(s) | (when determined) |
Voting History | (vote date) |
+1 | |
+0 | |
-0 | |
-1 | |
no vote |
Overview
This RFC updates MapGuide to support Watermark.
Motivation
Some customers complaint that there is no standard way to add watermark to the Map definition.
Proposed Solution
- Create a new resource type that contains information about watermark. This resource is used to define the what element to use(image or text) and where/how to place the watermark. Add a new XSD file to define the watermark, and the MdfModel and MdfParser are needed to updated about this change. We’ll use the symbol library in MapGuide server to store the images for watermark.
- User can use watermark by defining reference from map. The Map definition will be extented to reference the optional watermark resource. And a Map definition can reference multiple watermark resources. In the MgMap class, we add a "WatermarkList" field.
- Change the render logic for map. When all the layers have been rendered and the renderer hasn’t output the result, render the watermark into the result.
- For WMS publish, when a map definition is published, the watermark will be added to each layer definition’s header. When the temporary map is created for WMS, it will read to see if any layer has watermark in its definition’s header. If it finds one, it will add the watermark into its "WatermarkList" field.
Implications
MapGuide Mastro should update to add some UI to define watermark resource and add watermark into a Map.
Test Plan
Funding / Resources
Supplied by Autodesk
Attachments (3)
-
LayerDefinition-2.3.0.xsd
(58.8 KB
) - added by 14 years ago.
Updated schema with watermark
-
WatermarkDefinition-2.3.0.xsd
(11.8 KB
) - added by 14 years ago.
Watermark definition schema
-
MapDefinition-2.3.0.xsd
(11.3 KB
) - added by 14 years ago.
“Updated schema with watermark with extend data section”
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.