Still having problems reading Geotiffs - Using gt-2.5.0m jar downloaded 
from Sourceforge no luck

my code

CoordinateReferenceSystem crs = null;

File tiffFile = new File("geotiff_format.tif");

AbstractGridCoverage2DReader rdr = null;

rdr = new GeoTiffReader(tiffFile);

crs = rdr.getCrs();
ReferencedEnvelope dataEnvelope = new 
ReferencedEnvelope(rdr.getOriginalEnvelope(),crs);


Cannot find ReferencedEnvelope anywhere to import ?

Could you please give me a simple example ?

Martin Desruisseaux wrote:
> Robert Stones a écrit :
> 
>> Caused by: java.lang.NoSuchMethodError: 
>> org.geotools.resources.ResourceBundle: method <init>()V not found
>>         at org.geotools.resources.i18n.Logging.<init>(Logging.java:39)
> 
> 
> 
> NoSuchMethodError are usually the result of some compilation problem. 
> Are you using the JAR downloaded from SourceForge, or built on your 
> side? In the later case, I would suggest to try "mvn clean" first before 
> to make a new "mvn install" attempt.
> 
>     Martin
> 







CSL Bioinformatics Internet Pages at http://bioinformatics.csl.gov.uk
----------------------------------------------------------------------
Robert Stones    MRes, BSc              Phone:  +44 (0)1904 462675
Higher Bioinformatics Specialist        GTN:    5129 2675
Central Science Laboratory              Fax:    +44 (0)1904 462111
Sand Hutton                             Email:  [EMAIL PROTECTED]
York YO41 1LZ                           Web:    http://www.csl.gov.uk
----------------------------------------------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to