HI Phil,
please do not open tickets only because you don't get an answer right away,
check the
user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
and the ticket tracker instructions:
https://osgeo-org.atlassian.net/projects/GEOS/summary
About your request, while I'm not 100% sure, I believe the issue is that
WFS 1.1 is expecting coordinates in lat/lon order,
and you're giving them in lon/lat order.
Cheers
Andrea
On Tue, Jun 20, 2017 at 4:07 AM, Phil Scadden <p.scad...@gns.cri.nz> wrote:
>
>
> request=GetFeature&service=wfs&version=1.1.0&
> outputFormat=application/json&typeName=gns:pg_borehole_view&
> srsName=EPSG:4326&cql_filter=INTERSECTS(shape, POLYGON((171.05712890625
> -41.459195379507065, 174.00146484375 -43.468867614829236, 172.79296875
> -44.8714427501659, 169.541015625 -42.827638636242284, 171.05712890625
> -41.459195379507065)))
>
> With header:
>
> Content-Type: application/x-www-form-urlencoded
>
>
>
> is returning an empty feature collection. A WMS Getmap with the same
> CQL_Filter returns the expected results.
>
>
>
> At first I thought there might be issue with getfeature and POST but
>
> request=GetFeature&service=wfs&version=1.1.0&
> outputFormat=application/json&typeName=gns:pg_borehole_view&
> srsName=EPSG:4326&cql_filter=bh_id IN (5,6)
>
> works as expected.
>
>
>
> I am puzzled. Geoserver is 2.11 and tried it both window and Linux
> versions. Do I need more encoding?
>
> Notice: This email and any attachments are confidential and may not be
> used, published or redistributed without the prior written consent of the
> Institute of Geological and Nuclear Sciences Limited (GNS Science). If
> received in error please destroy and immediately notify GNS Science. Do not
> copy or disclose the contents.
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://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.
-------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users