Hi list,

I'm facing a strange behaviour regarding a WMS POST request. I'm using an 
on-the-fly created SLD with a filter that selects certain features, but the 
features aren't drawn. This filter uses the fid attribute to select those 
features. I don't really know why it doesn't draw them if I use the fid filter, 
but if I use another filter, it works. Strange, isn't it?

I'll post my SLD just in case I missed something:

<?xml version='1.0' encoding='UTF-8'?><ogc:GetMap xmlns:ogc = 
'http://www.opengis.net/ows' xmlns:gml = 'http://www.opengis.net/gml' 
version='1.1.1' service='WMS'><StyledLayerDescriptor version='1.0.0' 
xmlns:sld='http://www.opengis.net/sld' xmlns:ogc='http://www.opengis.net/ogc' 
xmlns:xlink='http://www.w3.org/1999/xlink' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation = 
'http://www.opengis.net/sld 
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd' > 
<NamedLayer><Name>IKT:cfg_lineas_declaracion</Name><UserStyle><Title></Title><Abstract></Abstract><FeatureTypeStyle><Rule><PolygonSymbolizer><Stroke><CssParameter
 name='stroke'>#00320F</CssParameter><CssParameter 
name='stroke-width'>2</CssParameter><CssParameter 
name='stroke-opacity'>0.5</CssParameter><CssParameter name='stroke-dasharray'>2 
2</CssParameter></Stroke><Fill><CssParameter 
name='fill'>#FFFF00</CssParameter><CssParameter 
name='fill-opacity'>0.4</CssParameter></Fill></PolygonSymbolizer> 
<Filter><And><FeatureId 
fid="CFG_LINEAS_DECLARACION.8869"/><Or><PropertyIsEqualTo><PropertyName>RELDES</PropertyName><Literal>D</Literal></PropertyIsEqualTo><Not><PropertyIsNull><PropertyName>OBSERVACIO</PropertyName><Literal></Literal></PropertyIsNull></Not></Or></And></Filter>
 
</Rule></FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor><BoundingBox
 
srsName='http://www.opengis.net/gml/srs/epsg.xml#23030'><gml:coord><gml:X>569148.712406215</gml:X><gml:Y>4767802.01207011</gml:Y></gml:coord><gml:coord><gml:X>569323.712406215</gml:X><gml:Y>4767922.01207011</gml:Y></gml:coord></BoundingBox><Output><Format>image/png</Format><Size><Width>661</Width><Height>454</Height></Size><Transparent>true</Transparent></Output><Exceptions>application/vnd.ogc.se+xml</Exceptions></ogc:GetMap>

I'm using Geoserver 2.0.2 against oracle spatial.

Thanks in advance.
 
Un saludo,


David Alda Fernández de Lecea
GIS Analista Programadorea / Analista Programador GIS
KONTSULTORIA  UNITATEA / UNIDAD DE CONSULTORÍA

Granja Modelo s/n
01192 Arkaute Araba
T 945 003 295 F 945 003 290
da...@hazi.es | www.hazi.es <http://www.hazi.es/> 

 
<outbind://1-0000000089BDA47B3F8B8846B5B3606C6570421B0700224DBDAF88A6AC47BD22432815351BE00000070EAA6C0000224DBDAF88A6AC47BD22432815351BE0000009174BC20000/cid:465104911@09022012-2A8E>
 

<blocked::http://www.hazi.es/> *********************  LEGE OHARRA   
*******************   AVISO LEGAL   *******************   DISCLAIMER   
******************

Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua 
dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.

Este mensaje es personal y confidencial y su uso no autorizado está prohibido 
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo 
ni conservarlo.

This message is personal and confidential, unauthorised use is legally 
prohibited. If you are not the intended recipient, delete it without resending 
or backing it.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to