This is not a bug, it's expected behavior. Differences between WFS versions are documented here: http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#differences-between-wfs-versions
There's also a paragraph specific to axis ordering: http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering On Fri, Sep 11, 2015 at 11:41 AM, Alberto Fernández (JIRA) < j...@osgeo-org.atlassian.net> wrote: > Alberto Fernández > <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=alberez> > *created* an issue GeoServer > <https://osgeo-org.atlassian.net/browse/GEOS> / [image: Bug] > <https://osgeo-org.atlassian.net/browse/GEOS-7197> GEOS-7197 > <https://osgeo-org.atlassian.net/browse/GEOS-7197> WFS GetFeature error > <https://osgeo-org.atlassian.net/browse/GEOS-7197> Issue Type: [image: > Bug] Bug Affects Versions: 2.7.2, 2.7.1 Assignee: Unassigned Components: WFS > Created: 11/Sep/15 11:40 AM Priority: [image: High] High Reporter: Alberto > Fernández > <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=alberez> > > The result of a GetFeature request vary depending on the WFS version you > use, when you add an ECQL spatial filter (CONTAINS, INTERSECTS...). > > Case 1: WFS V1.0.0 -> RETURN RESULTS > > http://localhost:6969/geoserver/KUWAIT/ows?service=WFS&request=GetFeature&version=1.0.0&OutputFormat=json&PropertyName=&TypeNames=KUWAIT:KWT_adm1&CQL_FILTER=CONTAINS(the_geom,POINT(48 > 29)) > > Case 2: WFS V1.1.0 and V2.0.0 -> NO RESULTS > > http://localhost:6969/geoserver/KUWAIT/ows?service=WFS&request=GetFeature&version=2.0.0&OutputFormat=json&PropertyName=&TypeNames=KUWAIT:KWT_adm1&CQL_FILTER=CONTAINS(the_geom,POINT(48 > 29)) > > However, for this last case it will work if you change the order of the > coordinates: POINT(29 48) > [image: Add Comment] > <https://osgeo-org.atlassian.net/browse/GEOS-7197#add-comment> Add Comment > <https://osgeo-org.atlassian.net/browse/GEOS-7197#add-comment> This > message was sent by Atlassian JIRA (v7.0.0-OD-04-018#70102-sha1:7e84d93) > [image: > Atlassian logo] > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > -- Best regards, Stefano Costa == GeoServer Professional Services from the experts! Visithttp://goo.gl/it488V for more information. == Dott. Stefano Costa Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel