Hello,
I just installed a standalone Geoserver 2.0.1 (not bundled with GN) and tried uploading my Geotiff file. I got the same error, so it’s obviously not because of the version.
“Could not list layers for this store, an error occurred retrieving them: Unable to acquire a reader for this coverage with format: GeoTIFF”
I include the gdalinfo of the working and not-working files below. Can someone take a look at them and tell me what’s wrong? Do I miss something when converting my image file to Geotiff? Thanks.
-freska-
From: theresia freska frezzz_54@anonymised.com
To: geoserver-users@lists.sourceforge.net
Sent: Mon, January 25, 2010 11:06:35 PM
Subject: Error: Could not obtain a reader for the CoverageDataSet
Hello,
I’m using Tomcat 6 and Geoserver 1.7.3 which is included in Geonetwork 2.4.2. I tried to upload a Geotiff file to Geoserver. I can create the coverage store, but not the coverages service. I got this error:
The following exception was thrown:
- class org.vfny.geoserver.global.ConfigurationException: Could not obtain a reader for the CoverageDataSet. Please check the CoverageDataSet configuration!
Details:
org.vfny.geoserver.global.ConfigurationException: Could not obtain a reader for the CoverageDataSet. Please check the CoverageDataSet configuration!
at org.vfny.geoserver.action.data.DataCoveragesNewAction.newCoverageConfig(DataCoveragesNewAction.java:102)
at org.vfny.geoserver.action.data.DataCoveragesNewAction.execute(DataCoveragesNewAction.java:81)
at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
.....
at java.lang.Thread.run(Unknown Source)
This image is a raw satellite image that is converted to Geotiff using Ilwis. Here is the info of the image:
gdalinfo lsteuro201001191315.tif
Driver: GTiff/GeoTIFF
Files: lsteuro201001191315.tif
Size is 1701, 651
Coordinate System is:
PROJCS["unnamed",
GEOGCS["WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT[,0.0174532925199433]],
UNIT["unknown",1]]
Origin = (-919623.570323017660000,5420228.319049041700000)
Pixel Size = (3002.168108856065400,-3005.019170687836800)
Metadata:
TIFFTAG_SOFTWARE=Ilwis 3
TIFFTAG_XRESOLUTION=300
TIFFTAG_YRESOLUTION=300
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
AREA_OR_POINT=Point
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( -919623.570, 5420228.319)
Lower Left ( -919623.570, 3463960.839)
Upper Right ( 4187064.383, 5420228.319)
Lower Right ( 4187064.383, 3463960.839)
Center ( 1633720.406, 4442094.579)
Band 1 Block=1701x1 Type=UInt32, ColorInterp=Gray
I
once successfully uploaded a geotiff file which I downloaded from the internet. Here is the info:
gdalinfo europe.tif
Driver: GTiff/GeoTIFF
Files: europe.tif
Size is 2582, 2242
Coordinate System is:
PROJCS["LAEA D000",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]],
PROJECTION["Lambert_Azimuthal_Equal_Area"],
PARAMETER["latitude_of_center",48],
PARAMETER["longitude_of_center",48],
PARAMETER["false_easting",48],
PARAMETER["false_northing",48],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-1668800.000000000000000,2724700.000000000000000)
Pixel Size = (2000.000000000000000,-2000.000000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left (-1668800.000, 2724700.000) ( 5d46'4.89"E, 67d56'12.88"N)
Lower Left (-1668800.000,-1759300.000) ( 30d39'47.49"E,
30d30'31.93"N)
Upper Right ( 3495200.000, 2724700.000) (115d41'4.79"E, 56d21'28.68"N)
Lower Right ( 3495200.000,-1759300.000) ( 83d12'53.93"E, 25d16'46.23"N)
Center ( 913200.000, 482700.000) ( 61d15'33.88"E, 51d37'22.81"N)
Band 1 Block=2582x3 Type=Byte, ColorInterp=Red
Band 2 Block=2582x3 Type=Byte, ColorInterp=Green
Band 3 Block=2582x3 Type=Byte, ColorInterp=Blue
I read some threads on the same topics. And I assume that it requires a patch, or an upgrade to newer version? Any hints?
Thanks!