I am correcting myself here! Anyway I think Martin should have the last word.

On 2/24/06, Simone Giannecchini <[EMAIL PROTECTED]> wrote:
> Hi Martin,
> as I told you in a previous mail I am trying to find a way to
> implement raster classification for supporting the raster symbolizer
> from SLD spec.
>
> I have the following problem which I am trying to solve.
> During classification I might have the need to map a range (which by
> the way could be open on one of the two side) onto a single value
> (which usually is an index in a color table for palette-type
> images),as an instance
>
> [230.23, 259,98]  -->  1
>
>
> I wanted to take advantage of the categories for doing this task but I
> see a few problems which I think we could solve:
>
> 1>Such transformation is not allowed in actual implementation of
> categories but I think it really should.
>
> I tried to force the implementation to return a Constant1D transform
> in such case, but things do not work properly.
>
> 2>There is no way to define a range such as (a,b] or similar, where
> one of the extrema is not comprised.

Deadly wrong, I was just using the worng constructor in NumberRange class.

>
> 3>We should find a way to allow users to define ranges like (-inf, a].
>

Here, I still am quite confident that I cannot create such a
transformation but I am waiting for martin's thoughts.

> I tried to fix some of these issues myself but I would like to hear
> your opinion first.
>
> Simone.
> --
> °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
> Simone Giannecchini
> Software Engineer
> Freelance Consultant
>
> http://simboss.wordpress.com/
>
> °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
>


--
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Simone Giannecchini
Software Engineer
Freelance Consultant

http://simboss.wordpress.com/

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to