Search code examples
wmsgetfeatureinfo

WMS GetFeatureinfo for featurelayers


I'm looking the way how to use browser to query all WMS features( with all attributes the feature have) by just defining the layer parameter or what parameters I need to add to get desired result? Request all features WMS is serving, output format must be txt, gml or xml. Something like this...

wms?request=GetFeatureInfo&QUERY_LAYERS=my_layer&info_format=application/vnd.ogc.gml&select_all_features.

Solution

  • It's not possible, a WMS GetFeatureInfo operation fetches a point location (pixel coordinate) in a map image (created through a GetMap operation).

    Also a WMS also doesn't serve out features it serves out images (or videos) that are representations of some input often, but not always, a vector data set.

    What you need is for there to be a WFS (or WCS) these are 'download' services that let you get at the actual data.