I often use styles when choosing between named styles. Still this appears
not to be working - Did you want to report an issue?
The "ned" style does exist:
http://demo.opengeo.org/geoserver/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=ned
But it appears to be some kind of raster style, is that what you expected?
Jody Garnett
On Tue, Feb 4, 2014 at 8:51 AM, Rahkonen Jukka (Tike) <
[email protected]> wrote:
> Hi,
>
> This brings an image
>
> http://demo.opengeo.org/geoserver/wms?SERVICE=WMS&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1057&HEIGHT=651&LAYERS=usgs%3Aned&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-78.52151213505567,38.42717463475659,-76.21556048045355,39.84739651474333&SRS=EPSG:4326&STYLES=
>
> This doesn't
>
> http://demo.opengeo.org/geoserver/wms?SERVICE=WMS&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1057&HEIGHT=651&LAYERS=usgs%3Aned&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-78.52151213505567,38.42717463475659,-76.21556048045355,39.84739651474333&SRS=EPSG:4326&STYLES=ned
>
> However, GetCapabilities show for
> <Layer queryable="1">
> <Name>usgs:ned</Name>
> ...
> <Style>
> <Name>ned</Name>
> <Title>A boring default style</Title>
> <Abstract>A sample style for rasters</Abstract>
> <LegendURL width="20" height="20">
> <Format>image/png</Format>
> <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple" xlink:href="
> http://demo.opengeo.org/geoserver/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=ned
> "/>
> </LegendURL>
> </Style>
>
> So what goes wrong? I have never really seen any client to use anything
> else than empty &STYLES= but now with this service Kosmo GIS is
> automatically adding arverticed styles into GetMaps which meand that it
> does not get maps from the service. Similar response from
>
> http://demo.opengeo.org/geoserver/wms?SERVICE=WMS&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1057&HEIGHT=651&LAYERS=ne%3Ane_10m_admin_1_states_provinces_lines_shp&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-78.52151213505567,38.42717463475659,-76.21556048045355,39.84739651474333&SRS=EPSG:4326&STYLES=states_provinces_lines
>
> -Jukka Rahkonen-
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel