problems with Intersects operation + postgis
--------------------------------------------
Key: GEOS-425
URL: http://jira.codehaus.org/browse/GEOS-425
Project: GeoServer
Type: Bug
Components: WFS, PostGIS
Versions: 1.3.0-beta3
Environment: windows xp, suse linux professional 9.2, java 1.5, postgis PostGIS 1.0.4
Reporter: Miguel Ángel Esbrí
Assigned to: dblasby
I have configured geoserver to retrieve the data from postgis, and when I send the following POST request (Intersects operation) to the wfs server:
<GetFeature version="1.0.0" service="WFS" outputFormat="GML2"><Query typeName="cit:puntos_p"><Filter><Intersects><PropertyName>the_geom</PropertyName><gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="http://www.opengis.net/gml/srs/epsg\.xml\#EPSG:23030"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>629471\.514515171,4273618\.91713521 785193.460130842,4273618.91713521 785193.460130842,4513177.10185231 629471.514515171,4513177.10185231 629471.514515171,4273618.91713521</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersects></Filter></Query></GetFeature>
I get this exception:
<ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://geoinfo.dlsi.uji.es:8080/geoserver-postgis/data/capabilities//wfs/1.0.0/OGC-exception.xsd"> <ServiceException> org.geotools.data.DataSourceException: Could not count </ServiceException></ServiceExceptionReport>
I made the same request using local data (shapefiles) and I get the GML, so I think maybe a problem related to PostGIS
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira