Justin Deoliveira ha scritto:
> Sounds like a reasonable approach to me. What will the option look like 
> to the user? Will it be a vendor parameter in an SLD? Or what did you 
> have in mind?

No, not in the SLD, as I would have to amend the schema even more.
At the moment we just added three elements inside a text symbolizer,
Priority, Graphics and VendorOption, I would like to avoid adding
more unless they buy us something that cannot be expressed
in any other way.

What I was thinking was more in the lines of adding a GeoServer
wide parameter like we did for the new labeller. That is,
you pass a system variable like -DOPTIMIZE_LINE_WIDTH=false,
or set a param in the web.xml, to disable the line width
optimization.

I have a patch already, the above param is used in GeoServer,
the renderer(s) take a new rendering hint:

rendererParams.put(StreamingRenderer.LINE_WIDTH_OPTIMIZATION_KEY, false);

to disable the optimization. In 2.6.x I'll just flip the defaults,
provided that does not get uDig users too crazy :)

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to