[Geomoose-users] WMS Legend size
Jim Klassen
klassen.js at gmail.com
Thu Jul 5 08:25:52 PDT 2012
Sounds like MapServer and GeoServer are different w.r.t. the WMS spec.
MapServer uses the height and width and bbox to compute the scale and location of what would be displayed for a map view defined by the bbox, width and height and provides a legend of the size specified in its configuration file.
My read of what you are saying GeoServer is doing is giving a legend of the size specified by the width and height parameters (and possibly doesn't support dynamic legends?)
If this is true, I'm not sure how to rectify the two behaviors.
Jim
On Jul 5, 2012, at 9:33, "Reynolds, Michael J. (DOT)" <mike.reynolds at state.mn.us> wrote:
> I have set up a clean geomoose 2.6 and I am trying to add a WMS from a geoserver running on the same machine.
>
> So far the WMS appears fine when I turn it on.
>
> The legend comes in really large… 938x492 (see attached). Where is that configured from? The legend html result is below.
> Also, it doesn’t appear that the legend has any label. It just shows the symbol.
> What are my next steps for getting an identify result from a WMS?
>
> <img src="http://localhost:8080/geoserver/wms?FORMAT=image%2Fpng&SRS=EPSG%3A3857&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=school_districts&BBOX=-10364637.47957,5556873.6037397,-10346712.99644,5566275.3582175&WIDTH=938&HEIGHT=492&SCALE=54168.00204368367&LAYER=school_districts" class="catalog-legend-image">
> <geoserver-GetLegendGraphic.png>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120705/e8b1ca64/attachment.html>
More information about the Geomoose-users
mailing list