Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create style #2

Open
krishnaglodha opened this issue May 30, 2022 · 4 comments
Open

Create style #2

krishnaglodha opened this issue May 30, 2022 · 4 comments
Assignees

Comments

@krishnaglodha
Copy link
Collaborator

https://docs.geoserver.org/latest/en/api/#1.0.0/styles.yaml as per the document, we can use json and xml to create just empty style and then use PUT to put data in it, I tried with application/vnd.ogc.sld+xml and application/zip where we pass sld text (xml) or .sld file respectively and it just creates styles.

I would recommend application/zip method since this will allow users to create sld where ever they want and just push it to GS.

Thoughts?

@krishnaglodha
Copy link
Collaborator Author

Screenshot 2022-05-30 at 9 05 50 PM

Screenshot 2022-05-30 at 9 05 33 PM

@francbartoli
Copy link
Member

@krishnaglodha agree with application/zip

@krishnaglodha
Copy link
Collaborator Author

I'll now work on it

@ricardogsilva
Copy link
Collaborator

related to #73

@ricardogsilva ricardogsilva moved this from Backlog to Todo in geoserverx Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants