[OpenLayers-Users] Proxy problem in GetFeatureInfo - no solution??

sunny74 sb.ray at hotmail.com
Fri Mar 26 08:01:10 EDT 2010


Hi,

There is an update.
If I use a WFS layer on top of WMS layer I get the above errors.
But if I use only WMS and last line of code is:
window.open(url, '', this,setHTML, setHTML);
Then INFO_FORMAT: 'text/plain',gives something like

GetFeatureInfo results:

Layer 'RailwayStations'
  Feature 81: 

for a particular Railway stn.What is the 81?
I don't have an idea.Why doesn't it show all the feature names and their
values?
The value i.e 81 changes when I select another station within the layer
'RailwayStations'.

If INFO_FORMAT: 'text/html' then it asks me to download a file with a long
extn but I save it as a .txt file.
It 's content:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msWMSFeatureInfo(): WMS server error. Unsupported INFO_FORMAT value
(text/html).
msQueryByPoint(): Search returned no results. No matching record(s) found.
</ServiceException>
</ServiceExceptionReport>

If INFO_FORMAT:'application/vnd.ogc.gml' then it asks me to download a file
with a long extn but I save it as a .gml file.

It 's content:
<?xml version="1.0" encoding="ISO-8859-1"?>

<msGMLOutput 
	 xmlns:gml="http://www.opengis.net/gml"
	 xmlns:xlink="http://www.w3.org/1999/xlink"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</msGMLOutput>

So in none of the cases I get the actual data.
I am totally confused.
Tell me atleast one method so that I get all the feature details.

Thanks.


-- 
View this message in context: http://n2.nabble.com/Proxy-problem-in-GetFeatureInfo-no-solution-tp4802810p4803408.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list