Andrea,

Can confirm the filter works for my installation of Geoserver 2.1 beta1 
together with the TIGER data set poly_landmarks.shp . Still no luck with my 
data that I pull from a PostGIS database. Will investigate further. Many thanks 
for helping me narrowing down the issue.

Cheers,

Edward

> Date: Thu, 10 Feb 2011 15:42:45 +0100
> Subject: Re: [Geoserver-users] How to filter road numbers in SLD using 
> [SEC=Unclassified] propertyislike? [SEC=Unclassified]
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> On Thu, Feb 10, 2011 at 3:06 PM, Edward Mac Gillavry
> <[email protected]> wrote:
> > Updated to Geoserver 2.1 beta1! Pardon my ignorance, but how would I
> > reformulate the ECQL filter strMatches(CFCC, 'D\d+') = true in an SLD? What
> > to put between   <ogc:Filter> ...     </ogc:Filter>?
> 
> See my previous mail, it has an example:
> 
>    <ogc:Filter>
>            <ogc:PropertyIsEqualTo>
>              <ogc:Function name="strMatches">
>                <ogc:PropertyName>CFCC</ogc:PropertyName>
>                <ogc:Literal>D\d+</ogc:Literal>
>              </ogc:Function>
>              <ogc:Literal>true</ogc:Literal>
>            </ogc:PropertyIsEqualTo>
>          </ogc:Filter>
> 
> Cheers
> Andrea
> 
> 
> -- 
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
> 
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> 
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 333 8128928
> 
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
> 
> -------------------------------------------------------
                                          
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to