[Geoserver-users] Geoserver: WMS GetFeatureInfo not according to OGC WMS Specs

dear list,

i'm doing my way through client development but face a problem
trying to receive any WMS GetFeatureInfo from your Geoserver software.

my geoserver version
1.3.1 official as of today

my request
http://127.0.0.1:8080/geoserver/wms?REQUEST=GetFeatureInfo&VERSION=1.3.0&LAYERS=rgb:dom&STYLES=capitals&SRS=EPSG:4326&BBOX=12.085,49.01,12.11,49.025&FORMAT=image/png&WIDTH=200&HEIGHT=200&TRANSPARENT=TRUE&QUERY_LAYERS=rgb:dom&INFO_FORMAT=text/html&FEATURE_COUNT=1&X=113&Y=51

my shapefile
point shapefile with the attribute Name in the attribute table

i intend to receive HTML output (works!) but get no data
i.e. no rows displayed (only: the_geom ID NAME)

QUESTION 1:
how is your X and Y parameter set/pixel coordinate system implemented?
0,0 in the upper left corner?

QUESTION 2:
where can i configure the "snapping" for focussing getFeatureInfo in server administration?
i.e. adjust the snapping tolerance in pixel?

QUESTION 3:
why does parameter I and J according to OGC WMS Specs
(http://portal.opengeospatial.org/files/?artifact_id=14416)
return an error?

      <ServiceException code="">X and Y incorrectly specified

best regards

buchfelder

________________________________
University of Regensburg
Department of Geography
93040 Regensburg, Germany
+49 179 6218456

I'm not sure on the specifics of our implementation, you can read the source code to get an idea.

The GetFeatureInfo definitely passes the CITE tests, which _should_ test the proper implementations, though they may be a bit thin for this stuff.

As for question 2, we recommend just using GetFeature, where you can use a filter like DWithin to configure the tolerance for each request, on the client side.

As for parameter I and J, I think you may need X and Y as well, the spec says you basically need the full GetMap request, plus the additional parameters like I and J.

Chris

Ralph Buchfelder wrote:

dear list,

i'm doing my way through client development but face a problem
trying to receive any WMS GetFeatureInfo from your Geoserver software.

my geoserver version
1.3.1 official as of today

my request
http://127.0.0.1:8080/geoserver/wms?REQUEST=GetFeatureInfo&VERSION=1.3.0&LAYERS=rgb:dom&STYLES=capitals&SRS=EPSG:4326&BBOX=12.085,49.01,12.11,49.025&FORMAT=image/png&WIDTH=200&HEIGHT=200&TRANSPARENT=TRUE&QUERY_LAYERS=rgb:dom&INFO_FORMAT=text/html&FEATURE_COUNT=1&X=113&Y=51

my shapefile
point shapefile with the attribute Name in the attribute table

i intend to receive HTML output (works!) but get no data
i.e. no rows displayed (only: the_geom ID NAME)

QUESTION 1:
how is your X and Y parameter set/pixel coordinate system implemented?
0,0 in the upper left corner?

QUESTION 2:
where can i configure the "snapping" for focussing getFeatureInfo in server administration?
i.e. adjust the snapping tolerance in pixel?

QUESTION 3:
why does parameter I and J according to OGC WMS Specs
(http://portal.opengeospatial.org/files/?artifact_id=14416)
return an error?

      <ServiceException code="">X and Y incorrectly specified

best regards

buchfelder

________________________________
University of Regensburg
Department of Geography
93040 Regensburg, Germany
+49 179 6218456

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,449196ad133961702038478!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org