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