Hi

I am using gwt-openlayers to make a request to an instance of geoserver
2.10. connected to a postgis 1.5data store

The getfeatures request appears to be valid

http://localhost:8080/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=rwmed%3Aday_night&QUERY_LAYERS=rwmed%3Aday_night&STYLES=&BBOX=-1710343.25%2C3434854.875%2C4160019.25%2C6370036.125&FEATURE_COUNT=45&HEIGHT=600&WIDTH=1200&FORMAT=image%2Fpng&INFO_FORMAT=text%2Fhtml&SRS=EPSG%3A3857&X=1054&Y=219

But firebug shows an empty response been generated by geoserver.

Looking in the debug   log,  I noticed the following error message

23 Jun 23:09:31 INFO [geotools.jdbc] - Unable to find aggregate function
matching visitor: class org.geotools.data.DataUtilities$3

and wondered what was going wrong.  I suspect that I have not pass in some
important value.  I can see  the postgis database getting a request and
sending back an answer.  So I do not think the problem is with postgis.

My data is in the form of two polygon layers encoded in the 3857 format.
( I have tried using shp files with simlair results)
The full log is


---------------------------------
23 Jun 23:09:31 INFO [geoserver.wms] -
Request: getFeatureInfo
        FeatureCount = 45
        Exceptions = application/vnd.ogc.se_xml
        QueryLayers = [org.geoserver.wms.MapLayerInfo@5172489f]
        GetMapRequest =
GetMap Request
 version: 1.1.1
 output format: image/png
 width height: 1200,600
 bbox: ReferencedEnvelope[-1710343.25 : 4160019.25, 3434854.875 :
6370036.125]
 layers: rwmed:day_night
 styles: polygon
        InfoFormat = text/html
        XPixel = 1054
        YPixel = 219
        Version = 1.1.1
        Request = GetFeatureInfo
        BaseUrl = http://localhost:8080/geoserver/
        Get = false
        RawKvp = {INFO_FORMAT=text/html,
BBOX=-1710343.25,3434854.875,4160019.25,6370036.125,
QUERY_LAYERS=rwmed:day_night, SERVICE=WMS, HEIGHT=600,
REQUEST=GetFeatureInfo, STYLES=, WIDTH=1200, FEATURE_COUNT=45,
VERSION=1.1.1, FORMAT=image/png, LAYERS=rwmed:day_night, Y=219,
X=1054, SRS=EPSG:3857}
        RequestCharset = null
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CREATE CONNECTION
23 Jun 23:09:31 TRACE [geotools.core] - ENTRY 7
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting PropertyName
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting LiteralExpression
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting PropertyName
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting LiteralExpression
23 Jun 23:09:31 DEBUG [geotools.jdbc] - SELECT count(*) AS gt_result_ FROM
(SELECT * FROM "public"."day_night" WHERE "the_geom" &&
ST_GeomFromText('POLYGON ((3431115.90625 5313370.875, 3460467.71875
5313370.875, 3460467.71875 5284019.0625, 3431115.90625 5284019.0625,
3431115.90625 5313370.875))', 3857) AND ST_Intersects("the_geom",
ST_GeomFromText('POLYGON ((3431115.90625 5313370.875, 3460467.71875
5313370.875, 3460467.71875 5284019.0625, 3431115.90625 5284019.0625,
3431115.90625 5313370.875))', 3857)) LIMIT 45) gt_limited_
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CLOSE CONNECTION
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CREATE CONNECTION
23 Jun 23:09:31 INFO [geotools.jdbc] - Unable to find aggregate function
matching visitor: class org.geotools.data.DataUtilities$3
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CLOSE CONNECTION
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CREATE CONNECTION
23 Jun 23:09:31 TRACE [geotools.core] - ENTRY 7
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting PropertyName
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting LiteralExpression
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting PropertyName
23 Jun 23:09:31 DEBUG [geotools.filter] - exporting LiteralExpression
23 Jun 23:09:31 DEBUG [geotools.jdbc] - SELECT
"gid","id","gridcode",encode(ST_AsBinary(ST_Force_2D("the_geom")),'base64')
as "the_geom" FROM "public"."day_night" WHERE "the_geom" &&
ST_GeomFromText('POLYGON ((3431115.90625 5313370.875, 3460467.71875
5313370.875, 3460467.71875 5284019.0625, 3431115.90625 5284019.0625,
3431115.90625 5313370.875))', 3857) AND ST_Intersects("the_geom",
ST_GeomFromText('POLYGON ((3431115.90625 5313370.875, 3460467.71875
5313370.875, 3460467.71875 5284019.0625, 3431115.90625 5284019.0625,
3431115.90625 5313370.875))', 3857)) LIMIT 45
23 Jun 23:09:31 DEBUG [geotools.jdbc] - CLOSE CONNECTION
23-Jun-2011 23:09:44 org.apache.catalina.session.ManagerBase processExpires
FINE: Start expire sessions StandardManager at 1308863384108 sessioncount 0

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



-------------------------------------------------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of the
Pinan Software



------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to