On Wed, Mar 30, 2011 at 9:23 AM, Rahkonen Jukka
<jukka.rahko...@mmmtike.fi> wrote:

> Amazing, I love all versions of WFS standard.  So WFS 1.0.0 GetCapabilities 
> is advertising "Intersect" but users should not care and use "Intersects" 
> instead? That's what I have done but I got baffled because of somewhat 
> misleading GetCapabilities.
>
> I am still confused with "Intersect". The query above with "Intersects" 
> against topp:states returns one state. If I edit the query to use "Intersect" 
> it returns all the states. Is this what it is supposed to do?

Depends on your configuration. The geoserver xml parser is lenient, if
it finds something it does not understand
it skips it silently, that's why you get everything.

If you want it to actually do validation you should enable it in the
wfs configuration (cite compliance)
but be warned, some clients will break as it often happens they send
over non fully compliant
requests.

If you want validation on a per request basis add ?strict=true to the
request url

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

-------------------------------------------------------

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to