Changes between Version 3 and Version 4 of MapGuideRfc17


Ignore:
Timestamp:
02/26/07 09:10:25 (18 years ago)
Author:
chrisclaydon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc17

    v3 v4  
    3737The schema modifications could be made forward/backward compatible by adding them to the <!ExtendedData1> elements that already exist in the schema. See [wiki:MapGuideRfc10 MapGuide RFC 10] for details on extended data. However, it seems likely that [wiki:MapGuideRfc14 MapGuide RFC 14] will require a schema version update, in which case the modifications from this RFC (and [wiki:MapGuideRfc16 MapGuide RFC 16]) can be rolled into the same update. The schema changes described below assume we are not using extended data.
    3838
    39 The element type that specifies the style of polylines and polygon edges in the layer definition schema is <StrokeType>. It would be modified from this:
     39The element type that specifies the style of polylines and polygon edges in the layer definition schema is <!StrokeType>. It would be modified from this:
    4040
    4141{{{
     
    8686}}}
    8787
    88 The SizeContextType type already exists in the layer definition schema, and is used to specify the size context for symbols and labels.
     88The !SizeContextType type already exists in the layer definition schema, and is used to specify the size context for symbols and labels.
    8989
    9090==== Example ===
     
    9292The following XML snippet represents a polyline line style using the new schema:
    9393{{{
     94<LineTypeStyle>
     95  <LineRule>
     96    ...   
     97    ...
     98    <LineSymbolization2D>
     99      <LineStyle>Solid</LineStyle>
     100      <Thickness>0.5</Thickness>
     101      <Color>FF808080</Color>
     102      <Unit>Inches</Unit>
     103      <SizeContext>MappingUnits</SizeContext>
     104    </LineSymbolization2D>
     105  </LineRule>
     106</LineTypeStyle>
    94107}}}
    95108
     
    98111The MDF Model uses the '''Stroke''' class to store line style information. This class would require new methods to get and set the size context. These would be identical to the corresponding existing methods in the '''Symbol''' class that serve the same purpose.
    99112
    100 The MDF Parser uses the '''IOStroke''' class to read and write the XML stroke definitions. It would be updated to handle reading and writing of the new SizeContext element.
     113The MDF Parser uses the '''IOStroke''' class to read and write the XML stroke definitions. It would be updated to handle reading and writing of the new !SizeContext element.
    101114
    102115=== Stylization Modifications ===