Thanks a lot, that works nicely and is very convenient for my purposes!
Cheers,
Matthias
Am 15.01.2013 15:42, schrieb David Winslow:
Yes, but it has been developed mostly for testing use and so isn't
packaged individually. If you have a working GeoServer installation,
you should be able to run it after first including the GeoServer
WEB-INF/lib directory on your CLASSPATH:
$ java -cp 'webapps/geoserver/WEB-INF/lib/*'
org.geoscript.geocss.Converter foo.css
For each file argument, the converter will attempt to parse the file
as CSS and write the resultant SLD to a file with the same name, but
with the file extension replaced with SLD. So it is possible to
convert many CSS files in one go and save yourself some JVM startup time.
There is also a Java API which is adapted for use in most (all?)
variants of GeoScript (http://geoscript.org/).
--
David Winslow
OpenGeo - http://opengeo.org/
On Tue, Jan 15, 2013 at 7:38 AM, Matthias Uden
<matthias.u...@gmail.com <mailto:matthias.u...@gmail.com>> wrote:
Hi all,
I'm still experimenting with the great CSS Module and already
managed to
reproduce major parts of my former SLD styling information with much
less code. Many thanks to David Winslow for developing this (also thx
for updating the docs on the GeoServer website!)
In order to establish CSS styling in the automated workflow of the
company I'm working for, I'm looking for a way to programmatically
execute the CSS -> SLD conversion. So far I only managed to do
this via
the "CSS Demo" web interface by clicking on "Submit".
Is there any other way to access this conversion logic going on behind
the scenes?
Thanks in advance and best regards,
Matthias
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with
LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and
experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users