I am trying to make a webpage which can post the possible requests and services from a spatial server, like geoserver can.

However I can only find owslib that can provide me the details. An example is:

[operation.name for operation in wfs11.operations]

that prints out

['GetCapabilities', 'DescribeFeatureType', 'GetFeature', 'GetGmlObject']

from docs

another example I can think of is from the xml of a geoserver-instance:


where the request=getcapabilities are telling what services is supported. This can be compared to this example:

<ows:Operation name="GetCapabilities">

That states the available services in another way.

From the two latest examples I conclude that it would be a very large task to simply scrape the information from the xml, the task that owslib can do. I am restrained from using owslib in a web application because of webhotel restrictions, so I'm looking for another way of acquiring spatial server metadata.

  • This isn't really a GIS question, and I think you'd be better of asking at stackoverflow.com. As it is now, your question is really to broad to give a single answer, so maybe you could add some extra information about the techniques you are trying to use (JavaScript? Server side script? Something else?). Are the services you want to query on the same domain as the webpage? – Berend Oct 9 '19 at 7:50
  • 1
    You can use GeoNetwork to hold metadata about web services. – nmtoken Oct 9 '19 at 9:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.