I am trying to export (Excel, XML or PDF formats) WMS feature information using the following tools:
1.- GeoServer.-Provides a SQL statement which generates a WMS layer, based on polygon data.
2.- PostGIS.-Provides the functions to GeoServer SQL.
3.- Leaflet.-To show the results on a map viewer application.
I have seen how to do something like that with OpenLayers but I am developing with Leaflet and I don't know if it is possible.
To realize, the final objective is to export the information from a layer but the limit is another layer which is a polygon.