Hi Thomas, as Steve said, you can create filter with PropertyNotEqualTo on some other unique feature attribute (id wont work here-please somebody correct me if im wrong)
If you need to use feature id (and if you are using OL as your client) this link might help you: http://osgeo-org.1803224.n2.nabble.com/Fwd-Help-to-create-FeatureId-filter-amp-OpenLayers-Filter-Logical-NOT-td4146688.html Regards, Ivan On Thu, Apr 14, 2011 at 1:33 PM, Steve Way <[email protected]> wrote: > Hi, > > You could use the OGC filter PropertyNotEqualTo in the SLD. > > Regards, > Steve > > -----Original Message----- > From: Thomas Jahnsen [mailto:[email protected]] > Sent: 14 April 2011 12:07 > To: [email protected] > Subject: [Geoserver-users] WMS filter exclude ID > > Hi > > We need to get a WMS from a layer with "all-but-one" feature - the equivalent > of the SQL "ID NOT IN (-number-)". > > I know ECQL supports "NOT IN (-number-)", but can I use that through > GeoServer's WMS service? How can I describe it in normal CQL or OGC filter? > > We need to exclude one feature from the image because we will load it as a > modifiable vector on top. > > Kind regards > Thomas Jahnsen > > Developer > NORDECA AS > Tel: + 47 93 02 67 38 > E-mail: [email protected] > > NORDECA AS, Strandveien 13, Pb. 58, 1324 Lysaker > Tel: +47 67 59 28 10, fax: +47 67 59 28 11, email: > [email protected], internet: www.nordeca.com > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload Consolidation > -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > DISCLAIMER: > > This email may contain confidential information and is intended only for the > use of the specific individual(s) to which it is addressed. If you are not > the intended recipient of this email, you are hereby notified that any > unauthorized use, dissemination or copying of this email or the information > contained in it or attached to it is strictly prohibited. If you received > this message in error, please immediately notify the sender at Infotech or > [email protected] and delete the original message. > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- ------------------------------------------------------- Ivan Grcic GeoSolutions S.A.S. Software Engineer Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://twitter.com/geosolutions_it http://www.youtube.com/user/GeoSolutionsIT ------------------------------------------------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
