Changes between Version 16 and Version 17 of MapGuideRfc14


Ignore:
Timestamp:
02/02/07 13:02:52 (18 years ago)
Author:
robertbray
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc14

    v16 v17  
    234234[[Image(ex4b.jpg)]]
    235235
     236
    236237'''Example 5:'''  line style with a special cross-tick offset requirement
    237238
    238 
     239[[Image(ex5.jpg)]]
     240
     241This line style is one that the current MapGuide stylization code can’t handle.  The problem is that the cross tick decoration needs to have a different start offset than the other decorations.  Our new stylization schema handles this easily though.  We have to create a compound symbol definition since we have two symbol components with different distributions.
     242
     243{{{
     244<CompoundSymbolDefinition>
     245  <Name>MTYP1500a</Name>
     246  <Symbols>
     247    <SimpleSymbolDefinition>
     248      <Name>UpperLowerDashing</Name>
     249      <Graphics>
     250        <Path>
     251          <Geometry>
     252            M 0,-2.5 H 8 M 10,-2.5 H 8, M 20,-2.5 H 2
     253            M 0, 2.5 H 8 M 10, 2.5 H 8, M 20, 2.5 H 2
     254          </Geometry>
     255        </Path>
     256      </Graphics>
     257      <LineUsage>
     258        <VertexControl>OverlapWrap</VertexControl>
     259        <Repeat>24</Repeat>
     260      </LineUsage>
     261    </SimpleSymbolDefinition>
     262    <SimpleSymbolDefinition>
     263      <Name>OffsetCrossTick</Name>
     264      <Graphics>
     265        <Path>
     266          <Geometry>M 0.0,-2.5 V 5</Geometry>
     267        </Path>
     268      </Graphics>
     269      <LineUsage>
     270        <VertexControl>OverlapWrap</VertexControl>
     271        <StartOffset>28</StartOffset>
     272        <Repeat>24</Repeat>
     273      </LineUsage>
     274    </SimpleSymbolDefinition>
     275  </Symbols>
     276</CompoundSymbolDefinition>
     277}}}
     278
     279The upper / lower dashing has zero start offset, whereas the cross tick has a 28 mm offset.  This horizontally positions the first cross tick at the center of the first long dash in the second cycle of upper / lower dashing.
    239280
    240281= Implications =
    241282
    242 This section allows discussion of the repercussions of the change, such as whether there will be any breakage in backwards compatibility, if documentation will need to be updated, etc.
     283MapGuide will rock even more then it already does!!!
    243284
    244285= Test Plan =
    245286
    246 How the proposed change will be tested, if applicable.  New unit tests should be detailed here???
     287Unit tests will be written to verify the new cartographic styling engine. In addition we will also create a sample symbol library to use for testing.
    247288
    248289= Funding/Resources =
    249290
    250 This section will confirm that the proposed feature has enough support to proceed.  This would typically mean that the entity making the changes would put forward the RFC, but a non-developer could act as an RFC author if they are sure they have the funding to cover the change.
     291Autodesk (possibly with some resource contribution from DM Solutions) will provide resources to implement the core symbolization engine and detailed implementation for point symbols and label symbols.  If time allows we will also implement some portion of the line symbolization. In the future we plan to finish the symbolization engine to also include area symbolization.  Timing for this has yet to be determined.