Hi Martin, > Yes, I know about gdal, but I wanted a fully automated solution within > geotools.
Simone is the guru for this but I'm not sure that there a GeoTools only solution exists at the moment. What would be nice is if the GeoTiffReader accepted a parameter for the envelope to read (either a GridEnvelope2D for grid coords or an Envelope for world coords). At present you can provide a GridGeometry2D parameter to the read method (contrary to what the javadocs say about parameters being ignored) but unfortunately this only seems to be used to set the resolution of the returned coverage rather than its extent. Michael ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
