Sorry for late response and sorry for improper list in previous mail, 

>
>Could you try the following add see what we get please?
>
>System.out.println(CRS.findMathTransform(coverage.getCoordinateReferenceSystem(),
>derivedCRS)?
>

CRS.findMathTransform returns expected transformation for example like this:

PARAM_MT["Affine", 
  PARAMETER["num_row", 3], 
  PARAMETER["num_col", 3], 
  PARAMETER["elt_0_0", 2.999999999999943], 
  PARAMETER["elt_0_1", 1.8000000000000114], 
  PARAMETER["elt_0_2", 0.00000059999999999991], 
  PARAMETER["elt_1_0", 0.00000000001455191523], 
  PARAMETER["elt_1_1", 1200.0000000000073], 
  PARAMETER["elt_1_2", -0.0006000000000000449]]

I'm underspending RubberSheeting and Similar, Affine, Projective methods more 
like conversion in this case. My opinion is to use this methods like next step 
after applying Bursa Wolf transformation. For example a lot of CRSs in Europe 
are having accuracy for BursaWolf transformation about 1 m so there is need to 
do some kind of precise 'after'transformation. Other thing is unknown CRS but I 
guess that such transformation/conversion isn't covered by OGC. 

I think that making provider and think up a wkt definition for RubberSheeting 
would by easiest. Maybe (in most general case) the wkt should simply contains 
just coordinates of MappedPositions that defines RubberSheeting conversion and 
also some hint that will express that RubberSheeting method should be used. 
Then it can be used to other noresidual methods that (maybe) are going to come 
in the future. If you agree I can do this Provider.

The other issue is that I'm not able to resample coverage even by Affine 
transform in this time. 

Jan

>DerivedCRS from a RubberSheetTransform should work. Conceptually, I'm not
sure
>that we are allowed to do that since RubberSheetTransform sound like a
>"Transformation" rather an "Conversion" in ISO 19111 terms:
>
>http://geoapi.sourceforge.net/pending/site/apidocs/org/opengis/referencing/operation/package-summary.html#package_description
>
>and DerivedCRS are allowed only for Conversions, not Transformations. We
may
>need to extend the referencing module with a plugable mechanim for
>transformations like RubberSheetTransform.
>
>       Martin
>


-------------------------------------------------------------------------
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