[udig-devel] Calling kind souls

Jody Garnett jgarnett at refractions.net
Tue Jan 29 09:40:38 PST 2008


I am going to focus just on your FeatureTypeStyle for a moment...
>            <sld:FeatureTypeStyle>
>                <sld:Name>name</sld:Name>
>                <sld:Title>title</sld:Title>
>                <sld:Abstract>abstract</sld:Abstract>
>                <sld:FeatureTypeName>Feature</sld:FeatureTypeName>
Can you try the following:
- feature
- the actual name of the feature type you are styling
>                
> <sld:SemanticTypeIdentifier>generic:geometry</sld:SemanticTypeIdentifier>
>                
> <sld:SemanticTypeIdentifier>colorbrewer:unique:set1</sld:SemanticTypeIdentifier> 
>
>                <sld:Rule>
>                    <sld:Name>rule01</sld:Name>
>                    <sld:Title>Condensate</sld:Title>
>                    <sld:Abstract>Abstract</sld:Abstract>
>                    <ogc:Filter>
>                        <ogc:PropertyIsEqualTo>
>                            <ogc:PropertyName>FLUIDTYPE</ogc:PropertyName>
>                            <ogc:Literal>Condensate</ogc:Literal>
>                        </ogc:PropertyIsEqualTo>
>                    </ogc:Filter>
PropertyIsEqual to is a very exact test; does your data actually consist 
of "Condensate" or is "Condensate               " a possibility? Try 
downgrading this check to a LIKE filter and see if you can do better.
>                    
> <sld:MaxScaleDenominator>1500000.0</sld:MaxScaleDenominator>
I would take this out of the way for now; we are pretty confident this 
part works and should focus on your test.

Hopefully comparing against Jesse's generated example will help.
Jody


More information about the udig-devel mailing list