Hi GeoServer community, Is there a lightweight way of getting the bounding box of a specific layer through GeoServer? I am trying to get the bounds of a layer so I can zoom in on it automatically on Leaflet.
Through some googling, I know you can get the bounds of a layer via the *GetCapabilities* request from WMS, but the file generated by the call can be large (if there are a lot of layers and styles in GeoServer, as is in my use case) and you would have to parse it (slow if lots of layers). Is there no simple way of making a query specifically for the bounding box of a layer in GeoServer? It doesn't even have to use WMS. Thanks, JJ Barea
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users