[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Problem with custom SLD style | 
Jody,
thanks for answering. But I still get the same problem - I'd prefer to  
debug it in details before making noise in Jira, so please point me  
which Java file has try/catch block you have added so I may debug into  
it.
regards
Lukasz
Cytowanie Jody Garnett <jody.garnett@xxxxxxxxx>:
I closed that one before 1.2.0; and updated the the docs with the  
example sld. Please keep email on the public list :-)
- http://udig.refractions.net/confluence/display/EN/Style+Layer+Descriptor
I will be away the next couple weeks preparing for and then  
attending foss4g. Maurcio (who may be able to help you with respect  
to Oracle) is currently on holiday as well.
So an especially good time to take part in the public email list.
Jody
On 23/08/2010, at 10:48 PM, Lukasz Stawicki wrote:
Jody,
I've spotted in Jira the following:
Jody Garnett added a comment - 08/Aug/10 7:19 AM
Used a filter visitor to grab the first color from a function expression;
also added a try/cat to the glyph code so we would not get errors  
in the event thready.
-r 31930
Is this in the newest uDig release? If not, please drop me Java  
file You have fixed, I'll re-fix it on my local site.
thanks in advance
Lukasz
Cytowanie Jody Garnett <jody.garnett@xxxxxxxxx>:
The GeoTools website was hacked last month; I think the DNS is  
being updated now to point to a new server.
As for your example; you are doing a lot of work to map colours?   
There is a couple of color lookup functions available now
which should make it easier.
I have reported your issue here:
- https://jira.codehaus.org/browse/GEOT-3234
On 05/08/2010, at 4:14 PM, Lukasz Stawicki wrote:
java.lang.IllegalArgumentException: Filter Function problem for  
function if_then_else argument #0 - expected type boolean
	at  
org.geotools.filter.function.FilterFunction_if_then_else.evaluate(FilterFunction_if_then_else.java:45)
	at  
org.geotools.filter.expression.ExpressionAbstract.evaluate(ExpressionAbstract.java:63)
	at org.geotools.styling.SLD.color(SLD.java:1312)
	at org.geotools.styling.SLD.color(SLD.java:96)
	at org.geotools.styling.SLD.lineColor(SLD.java:84)
	at org.geotools.styling.SLD.color(SLD.java:188)
	at net.refractions.udig.ui.Drawing.paint(Drawing.java:308)
	at net.refractions.udig.ui.Drawing.drawFeature(Drawing.java:246)
	at net.refractions.udig.ui.Drawing.drawFeature(Drawing.java:223)
	at net.refractions.udig.ui.Drawing.drawDirect(Drawing.java:150)
	at net.refractions.udig.ui.graphics.Glyph$6.getImageData(Glyph.java:363)