Hi There,

I was wondering if there exists a way of combining several functions into one. I mean, that I can use the result of one function as input parameter into the next function etc., kind of chaining functions. Concrete: I have a feature which has among others a String attribute which looks like "PC_L1", PC_L2" etc. i.e a numbered identifier. I want to color code the features, by using a modulo function on the number (even with a certain color, odd with a certain color). I therefore need to extract the number with "strSubstringStart" convert it to an integer with  "parseInt" and then use "modulo".  Is it possible to do this somehow? If yes, how?

Thanks in advance

Peter Friess

PS: if this is not possible, I need to introduce another attribute for just the number.



_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to