[mapguide-users] Mapguide 2.5 and FDO 3.4

Srecko Lipovsek srecko.lipovsek at kaliopa.si
Thu May 15 07:25:08 PDT 2014


No, strings are not modified, they are the same as specified in filter ...

SQL return data regardless lower/upper case, but theme rule condition don't
...

Here is example, SQL return data, but no condition is used ...

<?xml version="1.0"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0"
xsi:noNamespaceSchemaLocation="LayerDefinition-2.4.0.xsd">
  <VectorLayerDefinition>
   
<ResourceId>Library://00_test_864/DataConnection.FeatureSource</ResourceId>
    <Watermarks />
    <FeatureName>Default:buildings</FeatureName>
    <FeatureNameType>FeatureClass</FeatureNameType>
    <Filter>type = 'bank' OR type = 'sHOp' or type = 'busineSS' or type =
'ParKinG' or type = 'supermarkeT'</Filter>
    <PropertyMapping>
      <Name>name</Name>
      <Value>name</Value>
    </PropertyMapping>
    <PropertyMapping>
      <Name>osm_id</Name>
      <Value>osm_id</Value>
    </PropertyMapping>
    <PropertyMapping>
      <Name>type</Name>
      <Value>type</Value>
    </PropertyMapping>
    <Geometry>Geometry</Geometry>
    <ToolTip>Concat(name, '\ntype: ' , type)</ToolTip>
    <VectorScaleRange>
      <AreaTypeStyle>
        <AreaRule>
          <LegendLabel>filter</LegendLabel>
          <Filter>type = 'BanK' OR type = 'ShoP' or type =
'BusinesS'</Filter>
          <AreaSymbolization2D>
            <Fill>
              <FillPattern>Solid</FillPattern>
              <ForegroundColor>FFFF0000</ForegroundColor>
              <BackgroundColor>FFFF0000</BackgroundColor>
            </Fill>
            <Stroke>
              <LineStyle>Solid</LineStyle>
              <Thickness>1</Thickness>
              <Color>ff000000</Color>
              <Unit>Points</Unit>
              <SizeContext>MappingUnits</SizeContext>
            </Stroke>
          </AreaSymbolization2D>
        </AreaRule>
        <AreaRule>
          <LegendLabel>filter1</LegendLabel>
          <Filter>type = 'ParkinG' or type = 'SupermarkeT'</Filter>
          <AreaSymbolization2D>
            <Fill>
              <FillPattern>Solid</FillPattern>
              <ForegroundColor>FF008000</ForegroundColor>
              <BackgroundColor>FF008000</BackgroundColor>
            </Fill>
            <Stroke>
              <LineStyle>Solid</LineStyle>
              <Thickness>1</Thickness>
              <Color>ff000000</Color>
              <Unit>Points</Unit>
              <SizeContext>MappingUnits</SizeContext>
            </Stroke>
          </AreaSymbolization2D>
        </AreaRule>
        <AreaRule>
          <LegendLabel>default</LegendLabel>
          <Filter />
          <AreaSymbolization2D>
            <Fill>
              <FillPattern>Solid</FillPattern>
              <ForegroundColor>ffffffff</ForegroundColor>
              <BackgroundColor>ffffffff</BackgroundColor>
            </Fill>
            <Stroke>
              <LineStyle>Solid</LineStyle>
              <Thickness>1</Thickness>
              <Color>ff000000</Color>
              <Unit>Points</Unit>
              <SizeContext>MappingUnits</SizeContext>
            </Stroke>
          </AreaSymbolization2D>
        </AreaRule>
      </AreaTypeStyle>
    </VectorScaleRange>
  </VectorLayerDefinition>
</LayerDefinition>



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-2-5-and-FDO-3-4-tp5138527p5140493.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list