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

Sarah Schuessler sarah_flip at yahoo.de
Fri Mar 26 08:30:35 EDT 2010


Hi,

GetFeatureInfo (WMS) show you the attributes of selected (visible) features. GetFeature show you every Feature of your Layer(WFS).

Hope it helps a little bit.
best regards
Sarah




________________________________
Von: sunny74 <sb.ray at hotmail.com>
An: users at openlayers.org
Gesendet: Freitag, den 26. März 2010, 13:01:10 Uhr
Betreff: Re: [OpenLayers-Users] Proxy problem in GetFeatureInfo - no solution??


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.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100326/a5e4c20e/attachment.html


More information about the Users mailing list