[Geomoose-users] WMS Legend size

Dan Little danlittle at yahoo.com
Wed Jul 11 03:38:43 PDT 2012


I don't really play against either GeoServer or ArcGIS stuff very often.  I only really use GeoServer for WFS.  If someone files a ticket, however, I am willing to setup a GeoServer instance for testing.




>________________________________
> From: Brian Fischer <bfischer at houstoneng.com>
>To: "Reynolds, Michael J. (DOT)" <mike.reynolds at state.mn.us>; "Geomoose-users at lists.osgeo.org" <Geomoose-users at lists.osgeo.org> 
>Sent: Friday, July 6, 2012 9:44 AM
>Subject: Re: [Geomoose-users] WMS Legend size
> 
>
> 
>I noticed in the demo as well that a very large legend is rendered for an ESRI ARCGIS REST service as well.  I think there might be a possibility to enhance the legend support to specify the size of the legend graphic you want to render in the table of contents.  That would likely take some additional work to implement.
> 
>Brian Fischer, CFM
>Principal | GIS Project Manager 
>Houston Engineering, Inc.
>O763.493.4522 | D 763.493.6664 | M 763.229.2734
> 
>From:geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Reynolds, Michael J. (DOT)
>Sent: Thursday, July 05, 2012 12:45 PM
>To: Geomoose-users at lists.osgeo.org
>Subject: Re: [Geomoose-users] WMS Legend size
> 
>Good information.  Thanks.  I think I will see if there is a way to set layer getLegendGraphic parameter defaults on Geoserver.  However, I’m not sure how defaults in any case can override user supplied parameters.
> 
>The second question – can geomoose be configured to identify against a wms?
> 
>From:geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Jim Klassen
>Sent: Thursday, July 05, 2012 10:26 AM
>To: Reynolds, Michael J. (DOT)
>Cc: Geomoose-users at lists.osgeo.org
>Subject: Re: [Geomoose-users] WMS Legend size
> 
>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
>_______________________________________________
>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/20120711/19a4970d/attachment.html>


More information about the Geomoose-users mailing list