On Mon, Apr 18, 2011 at 11:51 AM, Lahtinen Ismo <ismo.lahti...@ymparisto.fi> wrote: > Hi all, > > I try to request a map from GeoServer with a remote SLD. > > http://www.server.net/geoserver/wms?LAYERS=prj:hydro_snowcoverdays&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SLD=http://www.server.net/prj/styles/hydro_snowcoverdays_template.sld&FORMAT=image/jpeg&SRS=EPSG:2393&BBOX=2325000.0732421,6275000.0732422,4274999.9267578,8224999.9267578&WIDTH=450&HEIGHT=450&TILED=false
You are specifying LAYERS, STYLES and SLD in the same request, this is known as "library mode". The code will search in the SLD for a style associated to the prj:hydro_snowcoverdays NamedLayer which is also marked as the default one, if it's not found it will fall back on the server default style for that layer 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 ------------------------------------------------------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users