[mapguide-trac] #1445: Watermark RFC implementation

MapGuide Open Source trac_mapguide at osgeo.org
Mon Sep 20 16:01:23 EDT 2010


#1445: Watermark RFC implementation
----------------------------+-----------------------------------------------
   Reporter:  brucedechant  |       Owner:     
       Type:  enhancement   |      Status:  new
   Priority:  medium        |   Milestone:  2.3
  Component:  Server        |     Version:     
   Severity:  minor         |    Keywords:     
External_id:                |  
----------------------------+-----------------------------------------------

Comment(by brucedechant):

 Fix some MdfParser issues

 The newly submitted watermark code has issues in MdfParser, some of which
 I'm fixing here:
 * When saving the layer definition to a version older than 1.4.0, the
 watermark information needs to be saved as extended data.  The code do to
 this was missing.
 * Numerous places in the watermark serialization code were directly
 dereferencing the version parameter without checking if it's NULL.  NULL
 is a valid value for the version, and means use the latest version.
 * Updated some references to layer definition 1.3.0 to 1.4.0.

 I also noticed that IOPointTypeStyle, IOLineTypeStyle, IOAreaTypeStyle,
 and IOCompositeTypeStyle had slightly flawed logic when saving the
 ShowInLegend property.  When serializing to an older LDF version the code
 correctly saves these as extended data, but the version check needs was
 not excluding LDF 0.9.0 which does not support extended data.

 r5143

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1445#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list