Hi, there is a user on the ml asking about how he could get the extents of the features rendered by a GetMap with a filter. The answer is that this is not trivial, because the filter would have to be matched with the eventual filter embedded in the SLD, with the scale related rules, and so on. Long story short, only the WMS knows what was actually rendered.
I was wondering about a WMS output format that instead of depicting a map, describes it. An xml document containing the layer names, the feature count and bounds for each layer, maybe a link to the SLD that was used for a specific layer, the extra filter applied, the current scale. Could be useful for this common use case (which will stay common until WFS can really be used in anger to draw many features in a browser), and also could be useful for debugging (as the client and the server don't usually compute the same scale, or to realize you are not using the style you thought you were using, or to see a filter is not doing what you intended it to do). Opinions? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
