>Maybe something like:
>
>PARAM_MT["RubberSheet",
>  PARAMETER["src_1", 10.0, 5.0],
>  PARAMETER["tgt_1", 10.3, 5.2],
>  PARAMETER["src_2",  8.0, 4.0],
>  PARAMETER["tgt_2",  8.2, 4.3],
>  etc...]
>
>Alternative:
>
>PARAM_MT["RubberSheet",
>  PARAMETER["point_mapping", 10.0, 5.0, 10.3, 5.2],
>  PARAMETER["point_mapping",  8.0, 4.0,  8.2, 4.3],
>  etc...]
>
>(we are allowed to repeat the same parameter name).
>
>In both case we need to extend the WKT syntax in order to allow an
arbitrary
>number of numbers in a PARAMETER[...] element.
>

The cons is that the transformation will have to be calculated  from scratch 
each time - and it can take a long time when we have hundreds of points, but 
maybe we can solve this later. I think that noresidual conversions would be 
applied mostly only once, not 'on the fly'.

>
>Try the following:
>
>System.out.println(coverage.getGridGeometry().getGridToCRS());
>

System.out.println(coverage.getGridGeometry().getGridToCRS()) gives me 
expecting results – proper Affine transform -  but when I tried to view 
the resampled result in uDig I still gets an unchanged image.


>If you really want to force an image ressampling anyway, it is possible
too. I
>would need to check the API for that in order to refresh my memory.
>

Yes. That is what I would like.

I'm going to leave for other few days and then I'll try the wkt and look more 
into this. Thanks for your support. Finally, if you think that there is some 
related topic that is suitable for Google Summer of Code then I'm very 
interested!

Cheers
Jan.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to