I was wondering if anything had been done about this patch?  This 
affects 1.7.x, not just 1.6.x and trunk.

Thanks,
Wayne

Wayne Fang (JIRA) wrote:
> LEGEND_OPTIONS:  forceLabels doesn't work
> -----------------------------------------
>
>                  Key: GEOS-2097
>                  URL: http://jira.codehaus.org/browse/GEOS-2097
>              Project: GeoServer
>           Issue Type: Bug
>           Components: Google Earth KML Output, WMS
>     Affects Versions: 1.6.x
>             Reporter: Wayne Fang
>             Assignee: Andrea Aime
>             Priority: Minor
>              Fix For: 1.6.x
>          Attachments: legendOptions_Aug05_2008.patch
>
> [legend text forced 
> ON|http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&bbox=-180,-90,180,90&format_options=LEGEND:true;KMSCORE:0;KMATTR:true;&legend_options=forceLabels:on]
> [legend text forced 
> OFF|http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&bbox=-180,-90,180,90&format_options=LEGEND:true;KMSCORE:0;KMATTR:true;&legend_options=forceLabels:off]
>
> Doing a wms request with a legend and specifying the forceLabels legend 
> option doesn't work.  The parameter gets dropped when the getLegendGraphicUrl 
> is encoded to KML.
>
> The included patch takes the raw legend_options kvp string and passes it 
> along as an optional kvpArray (instead of always passing 'null').
>
> This also affects (and fixes) trunk.
>
>   


-- 
Refractions Research
Suite 300 - 1207 Douglas St
Victoria, BC, V8W 2E7, Canada
ph: (250) 383-3022
fax:(250) 383-2140


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to