From: Andrea A. <aa...@op...> - 2008-03-03 16:23:45
|
Roger Andre ha scritto: > I see, that's interesting. So there is no way to apply a generic SLD > to multiple layers, and since applying an external SLD imposes a > performance hit (according to one of the docs on Codehaus), the best > option then remains to create a separate. internal style for each > layer. Yeah, you get an hit in that the SLD has to be retrieved and parsed. Depending on how complex the SLD is, that may be negligible or visible. And yes, the SLD standard afaik does not allow for a generic style to be passed around, you always have to assign it to a layer. &sld is useful is you have the need to dynamically generate styles, like in the case where an external app does some attribute analisys and builds a style on the fly. Cheers Andrea |