Hi,

I created a GeoTIFF (with QGIS) which has the CRS EPSG:3857


When reading the raster with :


             File tifFile = new File(filename);

                 // AbstractGridFormat format =
GridFormatFinder.findFormat( tifFile );

                 AbstractGridFormat format = new GeoTiffFormat();



                 GridCoverage2DReader reader = format.getReader( tifFile );



I get the following warning, followed by an exception.


What is wrong?

How can I read the file ?




WARN  [2014-12-05 19:40:40,783] org.geotools.gce.geotiff: GEOTIFF Module
Error Report

No code "EPSG:3857" from authority "EPSG" found for object of type
"EngineeringCRS".

ModelPixelScaleTag: [20.0,20.0,0.0]

ModelTiePointTag: (1 tie points)

TP #0: [0.0,0.0,0.0] -> [1057040.0,4782540.0,0.0]

ModelTransformationTag: NOT AVAILABLE

GeoKey #1: Key = 2049, Value = WGS 84

GeoKey #2: Key = 2054, Value = 9102

GeoKey #3: Key = 3072, Value = 3857

GeoKey #4: Key = 1024, Value = 1

GeoKey #5: Key = 1025, Value = 1

GeoKey #6: Key = 1026, Value = WGS 84 / Pseudo-Mercator

GeoKey #7: Key = 3076, Value = 9001

org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:3857"
from authority "EPSG" found for object of type "EngineeringCRS".


Best Regards,

Andreas
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to