<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I checked the source code – it seems like the code that parses
colors for symbol definitions only works when the full 8 bytes are specified in
the color string (so you have to prepend your 6 byte strings by FF for fully
opaque). Interestingly enough, the code that does the same for regular style definitions
handles both the case of 6 and 8 characters.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Traian<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Berdel,
Brian<br>
<b>Sent:</b> Tuesday, March 17, 2009 8:19 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Help: Cartographic Symbol Definition<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span style='font-family:"Palatino Linotype","serif";
color:#1F497D'>Brian </span><span style='color:#1F497D'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#1F497D'> <o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'> </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Sherwin
Luna<br>
<b>Sent:</b> Tuesday, March 17, 2009 6:53 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] Help: Cartographic Symbol Definition<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>Here is what happen in my studio <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Thanks a lot.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Regards,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>Sherwin<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>On Thu, Mar 12, 2009 at 4:37 AM, Berdel, Brian <<a
href="mailto:brian.berdel@mcmtrans.com" target="_blank">brian.berdel@mcmtrans.com</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>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.<br>
<br>
Thanks,<br>
<span style='color:#888888'><br>
Brian</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
On Behalf Of SCLuna<br>
Sent: Monday, March 02, 2009 11:44 PM<br>
To: <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
Subject: [mapguide-users] Help: Cartographic Symbol Definition<o:p></o:p></p>
</div>
<div>
<div>
<p class=MsoNormal>Good Day,<br>
<br>
I was wondering if anyone could help me about cartographic symbol<br>
definition. What happed was after I load the layerdefinition and look at my<br>
layer in edit mode in mapguide studio 2009, I can see my symbol definition<br>
in the composite preview under the style area of mapguide studio 2009 but<br>
when I look at my layer in preview mode the layer definition did't appear.<br>
Below is what I did. I would really appreciate anyones help.<br>
<br>
Below image shows what is happening in my studio 2009.<br>
<a href="http://n2.nabble.com/file/n2413465/img.jpg" target="_blank">http://n2.nabble.com/file/n2413465/img.jpg</a><br>
<br>
1. I create a symbol definition in mapguide studio then save it.<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<SimpleSymbolDefinition version="1.0.0"<br>
xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance"
target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<Name>myline</Name><br>
<Graphics><br>
<Path><br>
<Geometry><br>
M 0.0,0 L 10.0,0<br>
M 12.5,0 L 12.5,0<br>
M 15.0,0 L 20.0,0<br>
M 22.5,0 L 22.5,0<br>
</Geometry><br>
<LineColor>FF0000FF</LineColor><br>
<LineWeight>0.75</LineWeight><br>
</Path><br>
</Graphics><br>
<LineUsage><br>
<VertexControl>'OverlapWrap'</VertexControl><br>
<Repeat>25</Repeat><br>
</LineUsage><br>
<ParameterDefinition/><br>
</SimpleSymbolDefinition><br>
<br>
<br>
2. I load my new layer definition in mapguide enterprise<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<LayerDefinition xmlns:xsi="<a
href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>"<br>
xsi:noNamespaceSchemaLocation="LayerDefinition-1.2.0.xsd"
version="1.2.0"><br>
<VectorLayerDefinition><br>
<ResourceId>Library://cartographic_sample/data/line.FeatureSource</ResourceId><br>
<FeatureName>Schema1:line</FeatureName><br>
<FeatureNameType>FeatureClass</FeatureNameType><br>
<Geometry>Geom</Geometry><br>
<VectorScaleRange><br>
<CompositeTypeStyle><br>
<CompositeRule><br>
<LegendLabel>line</LegendLabel><br>
<CompositeSymbolization><br>
<SymbolInstance><br>
<ResourceId>Library://cartographic_sample/symbol/symboldefinition.SymbolDefinition</ResourceId><br>
<ParameterOverrides /><br>
</SymbolInstance><br>
</CompositeSymbolization><br>
</CompositeRule><br>
</CompositeTypeStyle><br>
</VectorScaleRange><br>
</VectorLayerDefinition><br>
</LayerDefinition><br>
<br>
<br>
Thank you and Regards,<br>
Sherwin<br>
<br>
--<br>
View this message in context: <a
href="http://n2.nabble.com/Help%3A-Cartographic-Symbol-Definition-tp2413465p2413465.html"
target="_blank">http://n2.nabble.com/Help%3A-Cartographic-Symbol-Definition-tp2413465p2413465.html</a><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>