Changes between Version 7 and Version 8 of AdvancedStylization


Ignore:
Timestamp:
Dec 13, 2009, 3:22:08 PM (14 years ago)
Author:
jbirch
Comment:

Additional notes on example packages

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedStylization

    v7 v8  
    77== Documentation ==
    88
    9 Eventually, this documentation should be migrated to the wiki, but for now here are some pointers:
     9Here are some pointers to existing documentation resources:
    1010
    1111 * The [wiki:MapGuideRfc14 RFC] itself, including the attached !LineUsage.doc
     
    1313 * The IMAGINiT [http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf Building Symbol Libraries] PDF is helpful
    1414
    15  * In a bind, you need to be able to read and understand the [/mapguide/browser/branches/2.1/MgDev/Common/Schema/LayerDefinition-1.3.0.xsd LayerDefinition] and [/mapguide/browser/branches/2.1/MgDev/Common/Schema/SymbolDefinition-1.1.0.xsd SymbolDefinition] schemas
     15 * You need to be able to read and understand the [/mapguide/browser/branches/2.1/MgDev/Common/Schema/LayerDefinition-1.3.0.xsd LayerDefinition] and [/mapguide/browser/branches/2.1/MgDev/Common/Schema/SymbolDefinition-1.1.0.xsd SymbolDefinition] schemas
    1616
    1717 * XPS ([http://www.microsoft.com/whdc/xps/xpsspecdwn.mspx XML Paper Specification]) - has information about the specific geometry syntax (e.g., how to draw a line or arc); see section 4.2.3 Abbreviated Geometry Syntax to see the geometry syntax that we use.  The IMAGINiT document describes the subset that we support.
    1818
     19Please add additional wiki pages here to describe advanced stylization, and port the existing documentation as appropriate.
     20
    1921== Sample Packages ==
    2022
    21 Some browsers will try to download these as type Zipfile. Make sure to rename to MGP
     23These are sample packages that help to explain specific concepts in advanced stylization.  When you download these, please be aware that some browsers (Internet Explorer for sure) will try to rename them to .zip.  Once they are downloaded, please ensure they have a .mgp extension before trying to import them into !MapGuide.
    2224
    23  * [/mapguide/attachment/wiki/AdvancedStylization/ImageSymbolDemo.mgp?format=raw Image Symbol Demo] - This package imports into Library://SymbolDemo/ and contains a series of symbols showing how to reference image files, including: how to include these symbols in a !LayerDefinition, how to scale using map units, and how to expose attributes such as rotation to be overridden at the layer level. Once you have imported the package, preview the Map to see how the symbols appear (try zooming in and out to see how one is in !MappingUnits and the others are in !DisplayUnits).  Then explore the Layer in XML mode to see how these are referenced, including an override of the rotation angle of one symbol and setting another to be in fixed mapping units.  Finally, explore the symbol definitions themselves to see how to expose overridable parameters and to combine rasters with vectors in a single symbol.
     25 * [/mapguide/attachment/wiki/AdvancedStylization/ImageSymbolDemo.mgp?format=raw Image Symbol Demo] - This package imports into '''!Library://SymbolDemo/''' and contains a series of symbols showing how to reference image files, including: how to include these symbols in a !LayerDefinition, how to scale using map units, and how to expose attributes such as rotation to be overridden at the layer level. Once you have imported the package, preview the Map to see how the symbols appear (try zooming in and out to see how one is in !MappingUnits and the others are in !DisplayUnits).  Then explore the Layer in XML mode to see how these are referenced, including an override of the rotation angle of one symbol and setting another to be in fixed mapping units.  Finally, explore the symbol definitions themselves to see how to expose overridable parameters and to combine rasters with vectors in a single symbol.
     26
     27Feel free to upload your own examples of advanced stylization here.  Try to limit the size and complexity of these examples to a single concept per package.  The wiki has a fixed maximum upload size, and this will also make the examples easier to understand.
    2428
    2529== [wiki:AdvancedStylization/Library Symbol Library] ==
    2630
     31The [wiki:AdvancedStylization/Library Symbol Library] is a place to share symbol definitions with the community so we can distribute the work of creating these items.
     32
    2733 * [wiki:AdvancedStylization/Library/Transportation Transportation]