[mapguide-users] CompositeSymbolization with ToInt64 from AIMS: is it supported

Franz1965 fsozzi at INTERCAD.CH
Tue Dec 4 08:02:40 PST 2012


Hi all,

I have a layer that comes from AIMS. This layer uses CompositeSymbolization
with the following:
<ParameterValue>ToInt64 ( DISPLAY_COLOR )</ParameterValue>

My problem is that this layer is not rendered.

I'm using Mapguide 2.4.0.6876-RC1-x64.

Anybody have any suggestion on ho to fix?

Here you are the layer code for CompositeSymbolization:


          <CompositeSymbolization>
            <SymbolInstance>
              <SimpleSymbolDefinition>
                <Name>SOLID</Name>
                <Description>SOLID</Description>
                <Graphics>
                  <Path>
                    <Geometry>M 0.0,0.0 h 4.0</Geometry>
                    <LineColor>%LINECOLOR%</LineColor>
                    <LineWeight>%LINEWEIGHT%</LineWeight>
                    <LineWeightScalable>false</LineWeightScalable>
                  </Path>
                </Graphics>
                <LineUsage>
                  <Repeat>4.0</Repeat>
                </LineUsage>
                <ParameterDefinition>
                  <Parameter>
                    <Identifier>LINECOLOR</Identifier>
                    <DefaultValue>ff000000</DefaultValue>
                    <DisplayName>Line Color</DisplayName>
                    <Description>Line Color</Description>
                    <DataType>LineColor</DataType>
                  </Parameter>
                  <Parameter>
                    <Identifier>LINEWEIGHT</Identifier>
                    <DefaultValue>0.0</DefaultValue>
                    <DisplayName>Line Thickness</DisplayName>
                    <Description>Line Thickness</Description>
                    <DataType>LineWeight</DataType>
                  </Parameter>
                </ParameterDefinition>
              </SimpleSymbolDefinition>
              <ParameterOverrides>
                <Override>
                  <SymbolName>SOLID</SymbolName>
                  <ParameterIdentifier>LINECOLOR</ParameterIdentifier>
                  <ParameterValue>ToInt64 ( DISPLAY_COLOR )</ParameterValue>
                </Override>
                <Override>
                  <SymbolName>SOLID</SymbolName>
                  <ParameterIdentifier>LINEWEIGHT</ParameterIdentifier>
                  <ParameterValue>1</ParameterValue>
                </Override>
              </ParameterOverrides>
              <GeometryContext>LineString</GeometryContext>
            </SymbolInstance>
          </CompositeSymbolization>



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/CompositeSymbolization-with-ToInt64-from-AIMS-is-it-supported-tp5020649.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list