> But I get the error:
> 
> org.geotools.coverage.processing.CannotReprojectException: Can't reproject
> grid coverage "heathcote_200_depth".

This is usually caused by missing or incomplete coordinate reference system 
(i.e. CRS for short) information. Or in rare cases using a system that we have 
not implemented for GeoTools yet. 
> ...........
> ...........
> Caused by: org.opengis.referencing.operation.OperationNotFoundException:
> Bursa wolf parameters required.

Ah - that would be the incomplete part.

What you can do is:
a) look up the official CRS that "matches" the one you have, the official CRS 
has additional parameters including these Bursa wolf parameters
b) you can sometime ask it to proceed by allowing an in-exact transform 

For more information see this page:
- http://docs.geotools.org/latest/userguide/library/referencing/crs.html

See "Matting a Coordinate Reference System" and "Finding a Math Transform".

I think this is also covered in the FAQ: 
http://docs.geotools.org/latest/userguide/library/referencing/faq.html
> Also, how do I write out the reprojected grid coverage out to file again?

This page 
(http://docs.geotools.org/latest/userguide/library/coverage/geotiff.html) links 
to a test case showing how to write.
> 
> Thanx
> Gaby
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Examples-of-doing-reprojections-of-georeferenced-PNG-images-tp5068068.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com 
> (http://Nabble.com).
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to