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

SLD to CSS conversion #24

Open
dwins opened this issue Jul 3, 2012 · 2 comments
Open

SLD to CSS conversion #24

dwins opened this issue Jul 3, 2012 · 2 comments
Labels

Comments

@dwins
Copy link
Owner

dwins commented Jul 3, 2012

Allow users to "import" existing SLD styles as CSS.

@aaime
Copy link
Contributor

aaime commented Jul 22, 2013

That would be nice. The conversion might be "stupid" for starters, and just do a plain translation from sld to css, without any attempt at compacting the result leveraging cascading (that might be complicated, as there might be more than one way to do it)

@dwins
Copy link
Owner Author

dwins commented Jul 22, 2013

There is an implementation of what you're talking about in https://github.com/dwins/sld2css . It's ok for simple styles, but gets more wrong the bigger your style is. I haven't used it in anger though so I'm not sure how much trouble it is to correct the broken output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants