[udig-devel] Re: [Geotools-devel] update to geotools trunk docs and
stylevisitor code
Andrea Aime
aaime at openplans.org
Tue Apr 29 00:44:24 PDT 2008
Jody Garnett ha scritto:
> I had a chance to go over the trunk set up instructions
> (http://udig.refractions.net/confluence/display/ADMIN/Home) with a
> customer today ..
>
> And I got to learn first hand:
> - how useful those next/previous links are
> - that tracking geotools trunk *is* unstable :-D (stylevistior has some
> new methods; so our code did not compile out of the box)
Heh, one thing is having a trunk that's not always broken, another is
having a trunk that always work. Thought I'm just annoyed as you by
this code changes without any warning.
> Andrea you wanted an 1.2 SDK to try out; I may try my hand and
> generating one tomorrow morning.
You sure you're not confusing me with Andrea Antonello? I don't remember
asking for a uDig SDK... I haven't touched uDig code in many many months
(probably one year...)
> As it stands uDig trunk compiles now,
> but does not renderer - we are getting errors out of the geotools
> rendering code....
>> Caused by: java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at
>> org.geotools.styling.SLDTransformer$SLDTranslator.encode(SLDTransformer.java:893)
>> ... 20 more
>> Caused by: java.lang.ClassCastException:
>> org.geotools.filter.LiteralExpressionImpl cannot be cast to
>> org.geotools.filter.AttributeExpressionImpl
>> at
>> org.geotools.styling.SLDTransformer$SLDTranslator.visit(SLDTransformer.java:300)
>> at
>> org.geotools.styling.RasterSymbolizerImpl.accept(RasterSymbolizerImpl.java:396)
>> at
>> org.geotools.styling.SLDTransformer$SLDTranslator.visit(SLDTransformer.java:475)
>> at org.geotools.styling.RuleImpl.accept(RuleImpl.java:209)
>> at
>> org.geotools.styling.SLDTransformer$SLDTranslator.visit(SLDTransformer.java:786)
>> at
>> org.geotools.styling.SLDTransformer$SLDTranslator.visit(SLDTransformer.java:751)
>> at org.geotools.styling.StyleImpl.accept(StyleImpl.java:116)
>> ... 25 more
Hum, raster symbolizer treatment broken huh?
Cheers
Andrea
More information about the udig-devel
mailing list