[Geoserver-users] raster+SLD specified style not working in GetMap request (II)

hi,
  sometime ago I posted a message
(http://www.nabble.com/raster%2BSLD-specified-style-not-working-in-GetMap-request-td18010553.html)
that seemed to show a bug. I forgot it for some time, and I cannot solve it
at all.
  Can someone confirm it's a bug? if it is a bug, maybe it's solved in new
versions ? (I'm currently using Geoserver 1.5.3; I have installed Geoserver
1.6 but I'm experiencing some problems non related to Geoserver and cannot
test). Someone experiencing similar problems?

  To summarize the main problem: seems strange but raster+SLD doesn't work.
  You can check the URLs below:

  WORKS:
http://edit3.csic.es/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:province_europe,topp:test_csvimportgispoints2&STYLES=&format=image/jpeg&bbox=-9.65,35.6,4.85,43.85&WIDTH=760&HEIGHT=380&SLD=http://edit.csic.es/fitxers/sld/pou.sld

  using RASTER+SLD doesn't work:

http://edit3.csic.es/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:distcoast_iberia_150sec,topp:test_csvimportgispoints2&STYLES=&format=image/jpeg&bbox=-9.65,35.6,4.85,43.85&WIDTH=760&HEIGHT=380&SLD=http://edit.csic.es/fitxers/sld/pou.sld
  
  thanks in advance, Pere
--
View this message in context: http://www.nabble.com/raster%2BSLD-specified-style-not-working-in-GetMap-request-(II)-tp20444105p20444105.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

pere roca ha scritto:

hi, sometime ago I posted a message
(http://www.nabble.com/raster%2BSLD-specified-style-not-working-in-GetMap-request-td18010553.html)
that seemed to show a bug. I forgot it for some time, and I cannot solve it
at all.
  Can someone confirm it's a bug? if it is a bug, maybe it's solved in new
versions ? (I'm currently using Geoserver 1.5.3; I have installed Geoserver
1.6 but I'm experiencing some problems non related to Geoserver and cannot
test). Someone experiencing similar problems?

  To summarize the main problem: seems strange but raster+SLD doesn't work.
  You can check the URLs below:

  WORKS:
http://edit3.csic.es/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:province_europe,topp:test_csvimportgispoints2&STYLES=&format=image/jpeg&bbox=-9.65,35.6,4.85,43.85&WIDTH=760&HEIGHT=380&SLD=http://edit.csic.es/fitxers/sld/pou.sld

  using RASTER+SLD doesn't work:

http://edit3.csic.es/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:distcoast_iberia_150sec,topp:test_csvimportgispoints2&STYLES=&format=image/jpeg&bbox=-9.65,35.6,4.85,43.85&WIDTH=760&HEIGHT=380&SLD=http://edit.csic.es/fitxers/sld/pou.sld
    thanks in advance, Pere

Tried, but cannot reproduce. Here is a working sample:
http://docs.opengeo.org/geoserver/wms?bbox=590010.0,4914020.0,609000.0,4928000.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:dem,sf:archsites&width=800&height=552&srs=EPSG:26713&sld=http://sigma.openplans.org/~aaime/burg2.sld

The data is the usual sf:dem, sf:archsites demo data. If you hit:
http://docs.opengeo.org/geoserver/wms?bbox=590010.0,4914020.0,609000.0,4928000.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:dem,sf:archsites&width=800&height=552&srs=EPSG:26713
you'll get the points as simple squares, but when you add
&sld=http://sigma.openplans.org/~aaime/burg2.sld
the vector layer gets depicted with an SVG icon (flag) instead, no errors, the raster layer still shows.

This is with GeoServer 1.7.0, 1.6.x and 1.5.x are no more developed.
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.