Luca Morandini ha scritto:
> On 26/04/10 19:09, Andrea Aime wrote:
>> Just curious if you looked into the question at all. A WKT based mark
>> factory is fine by me ;-)
> 
> That I did, including some tests (patches at the end of this message); of 
> course, 
> some user doc will have to be written too. By the way, the source code 
> includes 
> some more well-known shapes that I've found useful.

Ah, thanks for the patch. Can you attach it to a jira in Geotools?
Here on the ml I'll probably forget about it before I have time to
merge it with GeoTools.

Btw, I did not think about using a WKT literal, but yeah, it's a simple 
solution (I was thinking more or a property file, but in that case you
also have to make the property file location pluggable and so on, which
might be annoying).

> As per SVG, I've found out some "orphan" code that may be of interest 
> (http://www.mail-archive.com/[email protected]/msg04729.html).
> 
> If you deem it worthy, I may try to adapt it to GeoTools.

Sounds interesting, but also seems to duplicate part of Batik work.
This suggestion:
http://www.mail-archive.com/[email protected]/msg04718.html

seems to have more potential. Batik already has to turn the elements
into shapes to paint them on Java2D, so a fake Graphics2D could be
used to extract the generated shape if no other way is available
(see the discussion about the ShapeNode class)

Cheers
Andrea


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

------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to