[Geoserver-users] GetFeatureInfo Exception

All,

I have a peculiar problem on which I hope someone can assist.

I have built a simple OpenLayers application using layers from GeoServer version 2.3.2 installed on a CentOS server running Apache 2.2.3.

For one of the layers, I have a GetFeatureInfo control.

When I run it in a development environment it works fine. However, when we go live, I get the following exception:

X and Y incorrectly specified

Here is where it gets particularly odd. We get this exception regardless of browser on an Ubuntu box. However, we only get it using Firefox when the site is accessed on an old XP box. It works fine using Chrome and Internet Explorer on the same XP box.

The XP box has Firefox 21.0, IE 8.0, and Chrome 13.0.782.220.

I have also tried in on different machines with different operating systems (XP, 7, a Mac)—all to varying results. Occasionally it works, other times it doesn’t. Sometimes, I get nothing but pink tiles, sometimes I don’t, Sometimes the layers never render at all.

My original guess was that it was something related to using WMS 1.3.0 instead of 1.1.0 (and why it is defaulting to 1.30 is unknown to me).

So, I am quite confused why it works on some browsers, some operating machines, etc., but not in others.

Here’s the live-ish site (not complete by any stretch of the imagination). If anyone can help with this issue, it would be greatly appreciated.

http://biosurvey.ou.edu/landcover/oklahoma_landcover.html

Todd Fagin

Coordinate Solutions, Inc.

2804 NW 18th St.

Oklahoma City, OK 73107

405.740.4324 (voice)

904.471.5548 (fax)

www.coordinatesolutions.com

Hi Todd,
Your GeoServer seems to be down. However WMS 1.3.0 includes some bonus “fun” with x and y ordering. Your post isn’t clear which version(s) of WMS you’re using, but 1.1.0 doesn’t have this issue.

Also if you include examples of the URL’s that fail/work, someone may spot what the issue is.

Jonathan

On 19 June 2013 17:55, Todd Fagin <tfagin@anonymised.com> wrote:

All,

I have a peculiar problem on which I hope someone can assist.

I have built a simple OpenLayers application using layers from GeoServer version 2.3.2 installed on a CentOS server running Apache 2.2.3.

For one of the layers, I have a GetFeatureInfo control.

When I run it in a development environment it works fine. However, when we go live, I get the following exception:

X and Y incorrectly specified

Here is where it gets particularly odd. We get this exception regardless of browser on an Ubuntu box. However, we only get it using Firefox when the site is accessed on an old XP box. It works fine using Chrome and Internet Explorer on the same XP box.

The XP box has Firefox 21.0, IE 8.0, and Chrome 13.0.782.220.

I have also tried in on different machines with different operating systems (XP, 7, a Mac)—all to varying results. Occasionally it works, other times it doesn’t. Sometimes, I get nothing but pink tiles, sometimes I don’t, Sometimes the layers never render at all.

My original guess was that it was something related to using WMS 1.3.0 instead of 1.1.0 (and why it is defaulting to 1.30 is unknown to me).

So, I am quite confused why it works on some browsers, some operating machines, etc., but not in others.

Here’s the live-ish site (not complete by any stretch of the imagination). If anyone can help with this issue, it would be greatly appreciated.

http://biosurvey.ou.edu/landcover/oklahoma_landcover.html

Todd Fagin

Coordinate Solutions, Inc.

2804 NW 18th St.

Oklahoma City, OK 73107

405.740.4324 (voice)

904.471.5548 (fax)

www.coordinatesolutions.com


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


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

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

For WMS 1.3.x getFeatureInfo takes I & J instead of X & Y (though I believe that GeoServer is lenient) and they must be integers as they are pixel values.

Ian

···

On 19 June 2013 17:55, Todd Fagin <tfagin@anonymised.com> wrote:

All,

I have a peculiar problem on which I hope someone can assist.

I have built a simple OpenLayers application using layers from GeoServer version 2.3.2 installed on a CentOS server running Apache 2.2.3.

For one of the layers, I have a GetFeatureInfo control.

When I run it in a development environment it works fine. However, when we go live, I get the following exception:

X and Y incorrectly specified

Here is where it gets particularly odd. We get this exception regardless of browser on an Ubuntu box. However, we only get it using Firefox when the site is accessed on an old XP box. It works fine using Chrome and Internet Explorer on the same XP box.

The XP box has Firefox 21.0, IE 8.0, and Chrome 13.0.782.220.

I have also tried in on different machines with different operating systems (XP, 7, a Mac)—all to varying results. Occasionally it works, other times it doesn’t. Sometimes, I get nothing but pink tiles, sometimes I don’t, Sometimes the layers never render at all.

My original guess was that it was something related to using WMS 1.3.0 instead of 1.1.0 (and why it is defaulting to 1.30 is unknown to me).

So, I am quite confused why it works on some browsers, some operating machines, etc., but not in others.

Here’s the live-ish site (not complete by any stretch of the imagination). If anyone can help with this issue, it would be greatly appreciated.

http://biosurvey.ou.edu/landcover/oklahoma_landcover.html

Todd Fagin

Coordinate Solutions, Inc.

2804 NW 18th St.

Oklahoma City, OK 73107

405.740.4324 (voice)

904.471.5548 (fax)

www.coordinatesolutions.com


This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


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


Ian Turton