[mapguide-users] Help: Cartographic Symbol Definition
Berdel, Brian
brian.berdel at mcmtrans.com
Tue Mar 17 08:18:30 EDT 2009
If you use 8 Character Codes for color, it seems to work for me now. The 6 digit codes do not show up, except for 000000.
Brian
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Sherwin Luna
Sent: Tuesday, March 17, 2009 6:53 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Help: Cartographic Symbol Definition
Here is what happen in my studio
Thanks a lot.
Regards,
Sherwin
On Thu, Mar 12, 2009 at 4:37 AM, Berdel, Brian <brian.berdel at mcmtrans.com<mailto:brian.berdel at mcmtrans.com>> wrote:
Try setting your color to 000000 and see if it shows up...I am dealing with the same issue right now. When I change the LineColor to anything but black it doesn't show. Obviously this is not a fix, I just want to see if you are experiencing the same thing.
Thanks,
Brian
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org<mailto:mapguide-users-bounces at lists.osgeo.org> [mailto:mapguide-users-bounces at lists.osgeo.org<mailto:mapguide-users-bounces at lists.osgeo.org>] On Behalf Of SCLuna
Sent: Monday, March 02, 2009 11:44 PM
To: mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
Subject: [mapguide-users] Help: Cartographic Symbol Definition
Good Day,
I was wondering if anyone could help me about cartographic symbol
definition. What happed was after I load the layerdefinition and look at my
layer in edit mode in mapguide studio 2009, I can see my symbol definition
in the composite preview under the style area of mapguide studio 2009 but
when I look at my layer in preview mode the layer definition did't appear.
Below is what I did. I would really appreciate anyones help.
Below image shows what is happening in my studio 2009.
http://n2.nabble.com/file/n2413465/img.jpg
1. I create a symbol definition in mapguide studio then save it.
<?xml version="1.0" encoding="UTF-8"?>
<SimpleSymbolDefinition version="1.0.0"
xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>myline</Name>
<Graphics>
<Path>
<Geometry>
M 0.0,0 L 10.0,0
M 12.5,0 L 12.5,0
M 15.0,0 L 20.0,0
M 22.5,0 L 22.5,0
</Geometry>
<LineColor>FF0000FF</LineColor>
<LineWeight>0.75</LineWeight>
</Path>
</Graphics>
<LineUsage>
<VertexControl>'OverlapWrap'</VertexControl>
<Repeat>25</Repeat>
</LineUsage>
<ParameterDefinition/>
</SimpleSymbolDefinition>
2. I load my new layer definition in mapguide enterprise
<?xml version="1.0" encoding="UTF-8"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="LayerDefinition-1.2.0.xsd" version="1.2.0">
<VectorLayerDefinition>
<ResourceId>Library://cartographic_sample/data/line.FeatureSource</ResourceId>
<FeatureName>Schema1:line</FeatureName>
<FeatureNameType>FeatureClass</FeatureNameType>
<Geometry>Geom</Geometry>
<VectorScaleRange>
<CompositeTypeStyle>
<CompositeRule>
<LegendLabel>line</LegendLabel>
<CompositeSymbolization>
<SymbolInstance>
<ResourceId>Library://cartographic_sample/symbol/symboldefinition.SymbolDefinition</ResourceId>
<ParameterOverrides />
</SymbolInstance>
</CompositeSymbolization>
</CompositeRule>
</CompositeTypeStyle>
</VectorScaleRange>
</VectorLayerDefinition>
</LayerDefinition>
Thank you and Regards,
Sherwin
--
View this message in context: http://n2.nabble.com/Help%3A-Cartographic-Symbol-Definition-tp2413465p2413465.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090317/71b68cc2/attachment.html
More information about the mapguide-users
mailing list