I would like to know if it is possible to get the bounding box from a geometry returned by a WFS service. An example of WFS feature request:
I am trying to create a simple web app that helps users without a GIS build valid WMS GetMap requests to generate maps of protected sites from my country.
The services are INSPIRE-compliant, the view service is a WMS Service (published from ArcGIS), and the data service is a WFS Service (published from GOPublisher).
Ideally I would like my users to select the criteria for generating a static map of the data, pass this filter to the WFS service, compute the bounding box of the data in question, and pass this bounding box as a parameter in the WMS GetMap requests.
I have read that JQuery has some XML parsing support, but maybe someone here can recommend a library/method that is more GIS?