[OpenLayers-Users] split WMS GetFeatureInfo results

stash st.sonstiges at web.de
Wed Nov 4 04:13:51 EST 2009




Roald de Wit-2 wrote:
> 
> Hi,
> 
> If you want more control *and* if your WMS server supports WFS (like 
> MapServer and GeoServer), you could also consider sending a WFS 
> GetFeature request and tell the service exactly what attributes you want 
> to have returned. You can retrieve them as GML or GeoJSON for example 
> (or KML, etc) and display them in your application the way you want it. 
> I use my own html templates with variables representing the attributes 
> and have those replaced with their value for example.
> 
> Regards,
> 
> Roald
> 
> 


Hello,
thanks for your answer. I use geoserver and therefore I could use WFS too.
But with a WFS you get only a xml (gml) I thought and i want to display the
featureinfo. is this possible with wfs, too?

Could you show me an example of how to integrate such an wfs (getfeature) in
openlayers to show the clicked value on my map. I know that I can use a
filter with wfs, but I don't know how to use it with openlayers.

I'm sorry, but I'm new in openlayers and unfortunately I'm not a pro with
geoserver.

Thanks for your help.

Regards
stash

-- 
View this message in context: http://n2.nabble.com/split-WMS-GetFeatureInfo-results-tp3932043p3943912.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list