Thanks Traian,  That worked perfect.
 
Chris

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Traian
Stanev
Sent: Tuesday, July 03, 2007 10:30 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Cartographic Stylization



 

AllowOverpost means that the symbol you are drawing will allow other
symbols to overlap it. This is now done via the AddToExclusionRegion
tag. If you want AllowOverpost to be TRUE, then set AddToExclusionRegion
to FALSE and vice versa.

 

On the other hand, if you want a symbol to disregard exclusion areas set
by other symbols, you can force it to draw anyway by setting
CheckExclusionRegion to FALSE.

 

Traian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Tallman
Sent: Tuesday, July 03, 2007 7:59 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Cartographic Stylization

 

I've been working with the Cartographic Engine.  Once I got a hang of
all the things that need to be done it's not bad, lets just hope Studio
2008 can handle working with this because it can be a pain.

 

One thing I've not been able to figure out is how or where to include
the <AllowOverPost>.  Below is a sample of one of my layerdefinitions,
can someone point me to the correct place to insert the Allow over post?
Is it even possible to include it?  I've tried it in a couple different
places and so far no luck.

 

<?xml version="1.0" encoding="UTF-8" ?> 

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>  <LayerDefinition
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd"
version="1.1.0">

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>      <VectorLayerDefinition>

 
<ResourceId>Library://Example/Data/Interstate_mile_markers.FeatureSource
</ResourceId> 

          <FeatureName>Default:Interstate_mile_markers</FeatureName> 

          <FeatureNameType>FeatureClass</FeatureNameType> 

          <Geometry>Geometry</Geometry> 

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>          <VectorScaleRange>

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<CompositeTypeStyle>

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<CompositeRule>

                      <LegendLabel /> 

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<CompositeSymbolization>

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<SymbolInstance>

 
<ResourceId>Library://Example/Symbols/StreetSignShield.SymbolDefinition<
/ResourceId> 

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<ParameterOverrides>

-
<http://mgos.innomap.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETRE
SOURCECONTENT&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library%3A%2F%2FPHH%2FL
ayers%2FI_69_mile_markers.LayerDefinition>
<Override>

 
<SymbolName>StreetSignShield</SymbolName> 

 
<ParameterIdentifier>NAME</ParameterIdentifier> 

                                      <ParameterValue>(0 +
"MILE__")</ParameterValue> 

                              </Override>

                          </ParameterOverrides>

                              <DrawLast>True</DrawLast> 

 
<CheckExclusionRegion>True</CheckExclusionRegion> 

 
<AddToExclusionRegion>True</AddToExclusionRegion> 

                      </SymbolInstance>

                  </CompositeSymbolization>

              </CompositeRule>

          </CompositeTypeStyle>

      </VectorScaleRange>

  </VectorLayerDefinition>

</LayerDefinition>

 

 
Chris Tallman
260.356.9074

 

<<image001.png>>

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to