I think I found a bug when a layer is in EPSG:900913 coordinate system and you request GetFeatureInfo with INFO_FORMAT as application/json . The response is slow and I get following error:
02 Mar 21:34:13 INFO [org.geoserver.wms] -
Request: getFeatureInfo
PropertyNames = null
QueryLayers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
FeatureCount = 50
GetMapRequest =
GetMap Request
version: 1.1.1
output format: image/png
width height: 512,390
bbox: SRSEnvelope[1739413.006355 : 1748963.031435, 5720907.554511 : 5728181.987677]
layers: jaska:jal_3_zajedno
styles: jal_3
InfoFormat = application/json
Exceptions = application/vnd.ogc.se_xml
XPixel = 238
YPixel = 143
Get = false
RawKvp =
{INFO_FORMAT=application/json, BBOX=1739413.006355,5720907.554511,1748963.031435,5728181.987677, QUERY_LAYERS=jaska:jal_3_zajedno, SERVICE=WMS, HEIGHT=390, REQUEST=GetFeatureInfo, STYLES=, WIDTH=512, EXCEPTIONS=application/vnd.ogc.se_xml, FEATURE_COUNT=50, VERSION=1.1.1, FORMAT=image/png, LAYERS=jaska:jal_3_zajedno, Y=143, X=238, SRS=EPSG:900913}
BaseUrl = http://localhost:8080/geoserver/
RequestCharset = null
Version = 1.1.1
Request = GetFeatureInfo
02 Mar 21:34:13 INFO [org.geoserver.wfs.json] - about to encode JSON
02 Mar 21:34:15 DEBUG [org.geotools.parameter] - Axis length mismatch.
02 Mar 21:34:15 DEBUG [org.geotools.referencing.operation.projection] - GeoTools EquidistantCylindrical is defined only on the sphere, we’re going to use spherical equations even if the projection is using an ellipsoid
02 Mar 21:34:15 DEBUG [org.geotools.referencing.operation.projection] - GeoTools EquidistantCylindrical is defined only on the sphere, we’re going to use spherical equations even if the projection is using an ellipsoid
02 Mar 21:34:16 DEBUG [org.geotools.referencing.operation.projection] - GeoTools EquidistantCylindrical is defined only on the sphere, we’re going to use spherical equations even if the projection is using an ellipsoid
02 Mar 21:34:16 DEBUG [org.geotools.referencing.operation.projection] - GeoTools EquidistantCylindrical is defined only on the sphere, we’re going to use spherical equations even if the projection is using an ellipsoid
If I send request with INFO_FORMAT as text/html , everything works without any error and fast.
If I define the same layer as EPSG:3857, everything works ok even when requesting as EPSG:900913.
This error does not happen on Geoserver 2.5.x.
Is this a bug or I am doing something wrong?
|