reHi,

A last thing I've thinking , try

<PropertyName>STATE_NAME</PropertyName>

instead of <PropertyName>topp:STATE_NAME</PropertyName>


olivier.terral a écrit :
> Hi fadi,
>
> Try to add definiton of ogc: namespace in StyledLayerDescriptor
> <StyledLayerDescriptor version="1.0.0" 
> xmlns:ogc="http://www.opengis.net/ogc";>
>
> Other solution try without ogc:
>
> fadi maali a écrit :
>   
>> Hi all,
>>
>> I am getting a javascript error : boundingBox has no properties
>> whenever I am trying to apply a filter.
>> here is the context I am using (every thing is OK when I drop the filter)
>>
>> <Layer queryable="1" hidden="0">
>>       <Server service="wms" version="1.1.0" title="wms">
>>         <OnlineResource xlink:type="simple" 
>> xlink:href="http://localhost:8080/geoserver/wms 
>> <http://localhost:8080/geoserver/wms>"/>
>>       </Server>
>>       <Name>topp:states</Name>
>>       <SRS>EPSG:4326</SRS>
>>       <FormatList>
>>         <Format current="1">image/gif</Format>
>>       </FormatList>
>>       <StyleList>
>>         <Style current="1">
>>           <SLD>
>>             <StyledLayerDescriptor version="1.0.0">
>>               <NamedLayer>
>>                 <Name>topp:states</Name>
>>                 <UserStyle>
>>                   <FeatureTypeStyle>
>>                     <FeatureTypeName>Feature</FeatureTypeName>
>>                     <Rule>
>>
>>                       <ogc:Filter xmlns:gml="http://www.opengis.net/gml";>
>>                         <ogc:Not>
>>                           <ogc:PropertyIsEqualTo>
>>                             
>> <ogc:PropertyName>topp:STATE_NAME</ogc:PropertyName>
>>                             <ogc:Literal>NY</ogc:Literal>
>>                           </ogc:PropertyIsEqualTo>
>>                         </ogc:Not>
>>                       </ogc:Filter>
>>                       <MaxScaleDenominator>100000000</MaxScaleDenominator>
>>                       <LineSymbolizer>
>>                         <Stroke>
>>                           <CssParameter 
>> name="stroke">#ff0000</CssParameter>
>>                           <CssParameter 
>> name="stroke-width">2</CssParameter>
>>                         </Stroke>
>>                       </LineSymbolizer>
>>                     </Rule>
>>                   </FeatureTypeStyle>
>>                 </UserStyle>
>>               </NamedLayer>
>>             </StyledLayerDescriptor>
>>           </SLD>
>>         </Style>
>>       </StyleList>
>>     </Layer>
>>
>>
>> can someone help please?
>> many thanks
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mapbuilder-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>>   
>>     
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Mapbuilder-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to