[Geoserver-users] CoverageStore GeoTIFF - image link now included

Hello,

I posted a few days ago about a problem I am having with some GeoTIFF images - specifically when I try to add the image as a CoverageStore using the web interface I get an error.

I have put a small image which causes this problem online so that anyone who's interested can grab it for further investigation:

http://81.29.69.240/images/geoserver/LC_SMALL.tif

The strange thing is that these images seem to work fine with UMN MapServer. Can anyone help?

Many thanks,
Robert Jones

Ciao Roberto,
sorry for the delay of the answer but I am on a strict deadline (well,
actually multiple deadlines :-).

I tried you geotiff with the latest code, and it works fine, here is a
dump of the read-write test:

.9-giu-2006 22.04.45 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: C:\work\geotools\trunk\gt\plugin\geotiff\target\org\geotools\gce\geotiff\test-data\LC_SMALL.tif
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: before
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PROJCS["unnamed",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic latitude", NORTH],
    AXIS["Geodetic longitude", EAST],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 0.6853383779525757],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: [-1.143.396,5 m 5.165.920 m , -574.521,5 m 5.736.545 m]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PlanarImage[minX=0 minY=0 width=500 height=500 tileGridXOffset=0
tileGridYOffset=0 tileWidth=500 tileHeight=500
sampleModel=java.awt.image.PixelInterleavedSampleModel@anonymised.com
colorModel=ColorModel: #pixelBits = 24 numComponents = 3 color space =
java.awt.color.ICC_ColorSpace@anonymised.com transparency = 1 has alpha =
false isAlphaPre = false]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO:
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: after
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PROJCS["unnamed",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic latitude", NORTH],
    AXIS["Geodetic longitude", EAST],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 0.6853383779525757],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: [-1.142.827,625 m 5.165.349,375 m , -573.952,625 m 5.735.974,375 m]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO:

Time: 3,062

OK (1 test)

.9-giu-2006 22.04.45 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: C:\work\geotools\trunk\gt\plugin\geotiff\target\org\geotools\gce\geotiff\test-data\LC_SMALL.tif
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: before
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PROJCS["unnamed",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic latitude", NORTH],
    AXIS["Geodetic longitude", EAST],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 0.6853383779525757],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: [-1.143.396,5 m 5.165.920 m , -574.521,5 m 5.736.545 m]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PlanarImage[minX=0 minY=0 width=500 height=500 tileGridXOffset=0
tileGridYOffset=0 tileWidth=500 tileHeight=500
sampleModel=java.awt.image.PixelInterleavedSampleModel@anonymised.com
colorModel=ColorModel: #pixelBits = 24 numComponents = 3 color space =
java.awt.color.ICC_ColorSpace@anonymised.com transparency = 1 has alpha =
false isAlphaPre = false]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO:
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: after
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: PROJCS["unnamed",
  GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AXIS["Geodetic latitude", NORTH],
    AXIS["Geodetic longitude", EAST],
    AUTHORITY["EPSG","4326"]],
  PROJECTION["Mercator_1SP"],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["scale_factor", 0.6853383779525757],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", EAST],
  AXIS["Northing", NORTH]]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO: [-1.142.827,625 m 5.165.349,375 m , -573.952,625 m 5.735.974,375 m]
9-giu-2006 22.04.46 org.geotools.gce.geotiff.GeoTiffWriterTest testWriter
INFO:

Time: 3,062

OK (1 test)

The information are correct, I double checked with other tools I have
including gdal.

I suppose you are using the release 0.2 of WCS-branch, which is
getting old (sorry abou t that).

I recommend you to be patient a bit and use the new upcoming release.

If you are interested you can even do a fresh checkout from svn branch
and build the GeoServer, but to do that I would wait at least a week
since we in the process of refactoring some part of the code tree.

Simone.

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Simone Giannecchini
Software Engineer
Freelance Consultant

http://simboss.wordpress.com/

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

On 6/9/06, Robert William Jones <xbobwjones@anonymised.com> wrote:

Hello,

I posted a few days ago about a problem I am having with some GeoTIFF images
- specifically when I try to add the image as a CoverageStore using the web
interface I get an error.

I have put a small image which causes this problem online so that anyone
who's interested can grab it for further investigation:

http://81.29.69.240/images/geoserver/LC_SMALL.tif

The strange thing is that these images seem to work fine with UMN MapServer.
Can anyone help?

Many thanks,
Robert Jones

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--