|
From: Cyril G. <cg...@nt...> - 2010-08-31 16:58:09
|
Here is the output of gdalinfo on the image (but to be honnest, i have
tons of them and they all are georeferenced) :
Driver: GTiff/GeoTIFF
Files: /media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF
Size is 8861, 6986
Coordinate System is:
PROJCS["WGS 84 / UTM zone 22N",
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["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-51],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","32622"]]
Origin = (458503.000000000000000,533437.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Metadata:
TIFFTAG_IMAGEDESCRIPTION=PAN
TIFFTAG_DATETIME=2009:08:29 14:35:02
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 458503.000, 533437.000) ( 51d22'27.26"W, 4d49'33.44"N)
Lower Left ( 458503.000, 463577.000) ( 51d22'26.09"W, 4d11'38.26"N)
Upper Right ( 547113.000, 533437.000) ( 50d34'30.41"W, 4d49'33.33"N)
Lower Right ( 547113.000, 463577.000) ( 50d34'31.74"W, 4d11'38.17"N)
Center ( 502808.000, 498507.000) ( 50d58'28.87"W, 4d30'36.20"N)
Band 1 Block=8861x128 Type=Byte, ColorInterp=Gray
Is this enough for the store to work ?
On 08/31/2010 12:33 PM, Andrea Aime wrote:
> Cyril Gallay ha scritto:
>> As you asked, i tried the following :
>>
>> curl -v -u admin:geoserver -XPUT --data-ascii
>> @/media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF
>> http://192.168.241.24:54900/geoserver/rest/workspaces/storm-workspace/coveragestores/test/external.geotiff
>>
>> It takes some time for the curl process to end but at the end, still
>> no store created.
>>
>> I also tried
>> curl -v -u admin:geoserver -XPUT --data-ascii
>> @/media/data/images/SPOT5/S090829143259765/SCENE01/IMAGERY.TIF
>> http://192.168.241.24:54900/geoserver/rest/workspaces/storm-workspace/coveragestores/test/url.geotiff
>>
>> but same thing happened ...
>
> Not sure if it's relevant here, but does that image have
> proper georeferencing?
> If not I don't think the actu configuration of the store will work
>
> Cheers
> Andrea
>
|