Hi all,

I need some help from you guys regarding uploading a style using REST.

Detailed problem:-
using rest to attach(using already uploaded styles) styles the curl 
command is as follows

curl -u admin:geoserver -XPUT -H 'Content-type: text/xml' -d 
'<layer><defaultStyle><name>burg</name></defaultStyle></layer>' 
http://localhost:8080/geoserver/rest/layers/sf:archsites
where sf is workspace
and archsites is layername
problem occur when i  try to attach style the layer got disabled and 
gives error in style(but style is chamging)

Thanking you in anticipation

Regards
Jasmeet Grover



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to