Andrea,

The CustomGlyphRenderer hooked in through the
LiteRenderer,
when that still existed.  Additional GlyphRenderer implementations have
yet to be developed.  With LiteRenderer deleted, it may well be unusable
and thus dead-ware.  The resurrection process is still sorting through the
switch from org.geotools.filter.Expression to
org.opengis.filter.expression.Expression, so I hadn't yet looked to see what
the renderer is and isn't capable of.  Locking out any and all
GlyphRenderers obviously presents a problem with that approach.

The one
aspect of the glyph approach we were working on is that any attribute of the
glyph, such as the size of the head of an arrow, could be controlled by an
expression using XML like
           
<Parameter name="headSize">15</Parameter>
The SLD field
<Name> is used to find a renderer that can render glyphs of that name
using the canRender(String format) method in the GlyphRenderer interface, and
it is assumed that a renderer that returns true for canRender(format) can
handle all the parameters associated with that format.

Is there anything in the proposal that can support the assignment of
expressions to arbitrary attributes of a custom mark, not just the standard
Fill, Size, etc.?  I realize this deviates further from the SLD specification.

I think there could be interest at GeoVISTA, but as a mere grad student, and
one who is graduating soon and leaving for another university in the fall, it
isn't my place to commit GeoVISTA to anything.

Jamison

On Tue, May 13,
2008 06:49 AM, Andrea Aime <[EMAIL PROTECTED]>
wrote:
>
>
>
Andrea Aime ha scritto:
>> JAMISON CONLEY ha scritto:
>> Hi all,
>>
>> If the dead-ware CustomGlyphRenderer is a mystery, it was initially 
>> written to support some functionality in GeoVISTA Studio that was 
>> designed to allow editing of arbitrary glyphs, but did not go so far as 
>> SVG.  It so happens that I am in the process of resurrecting Studio, or 
>> at least that part of Studio, to work with the most recent stable 
>> version of GeoTools (2.4.2).  
>
>I'm also wondering how can you use the glyph renderers at all... there
>is classpath lookup mechanism, the field that holds the list or custom
>renderers is private so you cannot modify it... it seems you're totally
>locked out and cannot add your custom glyph renderers anyways?
>That's why I labelled it dead-ware, it's unused and there is no way
>to plug into that stuff...
>
>Cheers
>Andrea
>
>
>
>

Jamison Conley
Dept. of Geography
Pennsylvania State
University



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to