How can I get list of items from WMS or WFS services? I want to fill dropdown list, so I do not need geometries. I need only JSON list of items.
1 Answer
A GetCapabilities
request to the relevant service will return an XML document containing details of all the layers/feature types.
http://demo.geo-solutions.it/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&typenames=topp:states&properyname=STATE_NAME
? Save the response on disk and open with text editor, it is not a program. There is some issue with the MIME type.propertyname