Hey all,
I've been investigating the REST API as I have to load hundreds of SHP
files into GeoServer and so far I can upload the data and publish it no
problems.
I am having problems assigning a workspace specific style to it.
Here is my command:
curl -v -u a:p -XPUT -H "Content-type: text/xml" -d
"<layer><defaultStyle><name>myStyle</name></defaultStyle></layer>"
https:...../rest/layers/RDS:MyLayer
Now, when I specify any styles not associated with a workspace (such as the
default polygon style) this command works but my styles are stored in
/workspaces/RDS/styles
So how do I assign a style not in the default location to my layer? I'm
really stuck on this
Cheers,
Ben
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users