Hi Jesse, Martin and all,
As we have agreed I'm sending my weekly status updates. I've started
to implement the GridBuilder as we discussed with Martin (I sent the
copy to [EMAIL PROTECTED] as well) and I don't see any problems there.
Before I'll produce this builder I've tried to prepare test/demo class that
will resample image according the specified transformation that will be
computed by this builder. After experimenting for some hours I get this
demo/test somehow working, but I've realized also few problems there.
I've explored the ResampleTest that do more or less same things that
I would like to do in my tests. My approach is to prepare DefaultDerivedCRS
where
I'll specify the transformation and then to do resampling.
When using Affine and SimilarTransformBuiders everything works well.
When using MathTransform returned by CRS.findMathTransform for example:
trans = CRS.findMathTransform( coverage.getCoordinateReferenceSystem(),
CRS.decode("EPSG:2027"),true)
- and then when trying to make new DefaultOperationMethod(trans) I'm getting
strange exception:
org.opengis.parameter.InvalidParameterValueException: Argument "info" should
not be null.
at
org.geotools.referencing.AbstractIdentifiedObject.ensureNonNull(AbstractIdentifiedObject.java:1026)
Isn't that bug?
Finally I've also tried to generate LocalizationGrid and then to use
LocalizationGrid.getMathTransform for building DerivedCRS, this seems to be
working.
In next days I hope that I'll finish first LocalizationGridBuilder.
Bests,
Jan.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel