>
> My idea is to preprocess the CSS files and to generate one big SLD. Do we
> have any way to isolate the css plugin and run it in batch mode?
>
Yes. I've only been using it in development, and so batch mode doesn't have
a convenient package like the geoserver module. However, you can grab the
sources from github (https://github.com/dwins/geoscript.scala/) and run a
build as described in the readme. Then the command:
sbt "project geocss" "run /path/to/file.css"
will convert the specified css file and write the output to
/path/to/file.sld.
I believe if you have the geoserver extension installed, you can also run in
batch mode by putting the geoserver/WEB-INF/lib/ directory on your classpath
and invoking the class org.geoscript.geocss.Converter$, but I haven't tried
it. The command would look something like:
java -cp 'geoserver/WEB-INF/lib/*' org.geoscript.geocss.Converter$
/path/to/file.css
Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users