Did you mean to have spaces around the literal value for IENC_HUNITS?

On 30/03/12 15:05, Olex Filevych wrote:
> Hi,
> can anybody help me? Have following SLD with an<ogc:And>  filter funktion 
> connecting two attributes with a certain values in it. Only if two values 
> comes together, a certain Symbol should appear. PROBLEM: when I try to 
> publish it, WMS shows nothing. The boundary box is ok and the style itself 
> seems to be o.k. The combination of two values also exist! There is no 
> exception note! Only white screen. Is my SLD wrong?  Geoserve version: 2.1.3: 
> WFS:1.0.0, 1.1.0. WMS: 1.1.1, 1.3.0
> Any helf would be nice!
>
> Olex
>
>
>   <NamedLayer>
>        <Name>IENC_DISMAR_P</Name>
>            <UserStyle>
>                         <Title>IENC_DISMAR_P</Title>
>                                   <FeatureTypeStyle>
>                                               <Rule>
>                                                   <ogc:Filter>
>                                                      <ogc:And>
>                                                   <ogc:PropertyIsEqualTo>
>                                                        
> <ogc:PropertyName>HYDRO_CATDIS</ogc:PropertyName>
>                                                        
> <ogc:Literal>3</ogc:Literal>
>                                                        
> </ogc:PropertyIsEqualTo>
>                                                   <ogc:PropertyIsEqualTo>
>                                                        
> <ogc:PropertyName>IENC_HUNITS</ogc:PropertyName>
>                                                        <ogc:Literal>  
> 3</ogc:Literal>
>                                                        
> </ogc:PropertyIsEqualTo>
>                                                     </ogc:And>
>                                                  </ogc:Filter>
>                      <MaxScaleDenominator>1000000</MaxScaleDenominator>
>                                             <PointSymbolizer>
>                                                 <Graphic>
>                                                      <ExternalGraphic>
>                                                          <OnlineResource
>                                                            xlink:type="simple"
>                                                            
> xlink:href="hecmtr02.png"/>
>                                                            
> <Format>image/png</Format>
>                                                            </ExternalGraphic>
>                                                           <Size>10</Size>
>                                                  </Graphic>
>                                              </PointSymbolizer>
>                                         <TextSymbolizer>
>                                            <Label>
>                                                 
> <ogc:PropertyName>IENC_WTWDIS</ogc:PropertyName>
>                                                     </Label>
>                                                        <Font>
>                                                         <CssParameter 
> name="font-family">sans serif</CssParameter>
>                                                         <CssParameter 
> name="font-size">6</CssParameter>
>                                                         <CssParameter 
> name="font-style">normal</CssParameter>
>                                                         <CssParameter 
> name="font-weight">normal</CssParameter>
>                                                       </Font>
>                                                  <LabelPlacement>
>                                                <PointPlacement>
>                                                <AnchorPoint>
>                                                <AnchorPointX>1</AnchorPointX>
>                                                <AnchorPointY>1</AnchorPointY>
>                                                </AnchorPoint>
>                                               </PointPlacement>
>                                     </LabelPlacement>
>                                  <Fill>
>                             <CssParameter name="fill">#c64dbb</CssParameter>
>                       </Fill>
>                   <VendorOption name="autoWrap">80</VendorOption>
>                </TextSymbolizer>
>              </Rule>
>   </FeatureTypeStyle>
> </UserStyle>
> </NamedLayer>
> </StyledLayerDescriptor>
>
>

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to