I've tried:

curl -u admin:password -XPUT -H 'Content-type: text/xml' -d
'<layer><defaultStyle><name>raster</name></defaultStyle></layer>'
http://localhost:8080/geoserver/rest/layers/workspace_name:layer_name

and still no good.

Is there any way?
Or do i have to configure and those hundreds of layers throught the web
interface?

Thanks,
David Pinheiro
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/defaultStyle-changed-to-Choose-One-tp6316519p6316774.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to