Re: [Geoserver-users] Adding Style through Rest

2016-03-19 Thread David Haynes II
Andrea, Thanks for pointing me to that library. Seems like most of the pieces are there. On another topic are you or anyone from Geoserver presenting at FOSS4g in Bonn? I know there have been a couple of tutorials and I'd definitely send a colleague of mine to attend the workshop if one was going

Re: [Geoserver-users] Adding Style through Rest

2016-03-19 Thread Andrea Aime
Hi David, you might want to look at what gsconfig does (or just use it): https://github.com/boundlessgeo/gsconfig Cheers Andrea On Thu, Mar 17, 2016 at 4:53 PM, David Haynes II wrote: > Hello, > > I am running into an issue with adding a style to an existing layer via > API in Python. > The e

[Geoserver-users] Adding Style through Rest

2016-03-19 Thread David Haynes II
Hello, I am running into an issue with adding a style to an existing layer via API in Python. The existing layer has 1 style and I want to add a send. {"styles":{"style":[{"name":"tp_raster_ramp","href":"https:\/\/myserver.com\/geoserver\/rest\/layers\/bambarahar\/styles\/tp_raster_ramp.json"}]}}