It's also possible to avoid this sort of repetition using the CSS
extension. The SLDs you generate will still be repetitive but the CSS code
that you actually edit can be much terser.
See http://docs.geoserver.org/stable/en/user/community/css/index.html for
more information about it.
--
David Winslow
OpenGeo - http://opengeo.org/
2011/8/8 Andrea Aime <andrea.a...@geo-solutions.it>
> 2011/8/8 Anders Söderman <anders.soder...@gisassistans.se>:
> > I would like to give the names (NameOfTheSVGfile.svg) of the up to 10
> > different SVG files and the Stroke color in the beginning of the SLD
> which
> > will take a couple of minutes instead of sometimes hours if I have to
> edit
> > the whole SLD file.
>
> As a SLD expert you should know it's not possible to do what you ask
> with just standard SLD.
>
> GeoServer does not allow to do what you ask either, your best option is
> to embed the name of the svg in your data as an attribute and then use
> the "dynamic symbolizer" extension that is specific to GeoServer, see here:
>
> http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
>
> Or else, you can go through the proposal process in GeoTools and
> add the functionality you want directly in the code, that's how all
> extensions to SLD we support are born.
>
> Cheers
> Andrea
>
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users