On Fri, Aug 26, 2011 at 12:56 PM, jgleal <[email protected]> wrote:
> Hi!
>
> I have a problem when I request 2 or mor layers and set a external SLD with
> only one layer style.
>
> e.g
>
> http://localhost:8082/geoserver/wms?SERVICE=WMS&SLD=http://localhost:8088/sld/distrito_style.xml&&LAYERS=LOCAL:region,LOCAL:distrito&WIDTH=2101&HEIGHT=997&SRS=EPSG:23030&BBOX=-183931.62706767,3878632,906623.62706767,4396276&REQUEST=getmap&FORMAT=image/jpeg&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&VERSION=1.1.1
>
> distrito_style.xml only contains the SLD style for layer LOCAL:distrito, and
> I receive the following error in geoserver log:

Hmm.. might be anything, having a look at the SLD might help.
Mind, you're specifying "layers" in your request, so you're in
library mode, which means the SLD needs to have the
same layer declared and have a user style marked as default
inside (<isDefault>1</isDefault> if memory serves me right)

Cheers
Andrea
-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to