Ticket #3162 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

GetFerature info not working

Reported by: nb Owned by:
Priority: minor Milestone: 2.10 Release
Component: general Version: 2.10
Keywords: getfeatureinfo Cc:
State:

Description

Hi,

I have a problem using getfeatureinfo on wms server. Everything was ok until I change the server's website.

I used this example to test getfeautureinfo : http://openlayers.org/dev/examples/getfeatureinfo-popup.html

The request was sent to wms but the application can't handdle the response.

See the print screen of firebug for more détail on the bug.

Is this bug well known ?

Thanks for your help.

Nicolas

Attachments

getfeatureinfo (Large).jpg Download (98.9 KB) - added by nb 2 years ago.

Change History

Changed 2 years ago by nb

Changed 2 years ago by ahocevar

  • status changed from new to closed
  • resolution set to invalid

It's a well known features of all browsers since the late nineties, called the "same origin policy". See  http://en.wikipedia.org/wiki/Same_origin_policy. The fix is to configure OpenLayers.ProxyHost with a valid proxy url on the same origin. See  http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost

Note: See TracTickets for help on using tickets.