wiki:MapGuideRfc108

Version 12 (modified by hubu, 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

  1. Use the symboldefinition to define the content of watermark. The watermark supports text and image.
  1. Create a new resource type for watermark. This resource reference the symboldefinition and define the position, rotation and transparency of watermark. Add a new XSD file to define the watermark, and the MdfModel and MdfParser are needed to updated about this change.
  1. Support inlining the watermark in mapdefinition and layerdefinition.
  1. User can use watermark by referencing it from map and layer. The mapdefinition and the layerdefinition will be extented to reference the optional watermark resource. The Layerdefinition and Mapdefinition can reference multiple watermark resources.
  1. 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.

Please refer to the attachment to find the schema of WatermarkDefinition and the updated schemas of LayerDefinition/MapDefinition.

Implications

MapGuide Mastro should update to add watermark into a Map and Layer.

Test Plan

Build/Run on Windows/Linux

Funding / Resources

Supplied by Autodesk

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.