Hi all,
I’ve a big image ( SanFco.tif 421,4 MB, 16124x9133), and a file SanFco.tfw which constains the follow text:
1.20000000000000
0.00000000000000
0.00000000000000
-1.20000000000000
195534.89999999999000
1173670.82999999980000
I need to create a pyramid with 4 levels, and enforce them with the EPSG:4326 SRS. So, I run this command in the console:
sudo gdal_retile.py -v -r bilinear -s_srs EPSG:4326 -levels 4 -ps 2048 2048 -co “TILED=YES” -co “COMPRESS=JPEG” -targetDir layers SanFco.tif
Then, I got the following output:
Created level dir: layers/1/
Created level dir: layers/2/
Created level dir: layers/3/
Created level dir: layers/4/
Warning 1: TIFFFetchNormalTag:ASCII value for tag “ImageDescription” does not end in null byte
Building internal Index for 1 tile(s) … finished
Warning 1: TIFFFetchNormalTag:ASCII value for tag “ImageDescription” does not end in null byte
Filename: SanFco.tif
File Size: 16124x9133x3
Pixel Size: 1.200000 x -1.200000
UL:(195534.300000,1173671.430000) LR:(214883.100000,1162711.830000)
tileWidth 2048
tileHeight 2048
countTilesX: 8
countTilesY: 5
lastTileWidth: 1788
lastTileHeight: 941
layers/SanFco_1_1.tif : 0|0–>2048-2048
layers/SanFco_1_2.tif : 2048|0–>2048-2048
layers/SanFco_1_3.tif : 4096|0–>2048-2048
layers/SanFco_1_4.tif : 6144|0–>2048-2048
layers/SanFco_1_5.tif : 8192|0–>2048-2048
layers/SanFco_1_6.tif : 10240|0–>2048-2048
layers/SanFco_1_7.tif : 12288|0–>2048-2048
layers/SanFco_1_8.tif : 14336|0–>1788-2048
layers/SanFco_2_1.tif : 0|2048–>2048-2048
layers/SanFco_2_2.tif : 2048|2048–>2048-2048
layers/SanFco_2_3.tif : 4096|2048–>2048-2048
layers/SanFco_2_4.tif : 6144|2048–>2048-2048
layers/SanFco_2_5.tif : 8192|2048–>2048-2048
layers/SanFco_2_6.tif : 10240|2048–>2048-2048
layers/SanFco_2_7.tif : 12288|2048–>2048-2048
layers/SanFco_2_8.tif : 14336|2048–>1788-2048
layers/SanFco_3_1.tif : 0|4096–>2048-2048
layers/SanFco_3_2.tif : 2048|4096–>2048-2048
layers/SanFco_3_3.tif : 4096|4096–>2048-2048
layers/SanFco_3_4.tif : 6144|4096–>2048-2048
layers/SanFco_3_5.tif : 8192|4096–>2048-2048
layers/SanFco_3_6.tif : 10240|4096–>2048-2048
layers/SanFco_3_7.tif : 12288|4096–>2048-2048
layers/SanFco_3_8.tif : 14336|4096–>1788-2048
layers/SanFco_4_1.tif : 0|6144–>2048-2048
layers/SanFco_4_2.tif : 2048|6144–>2048-2048
layers/SanFco_4_3.tif : 4096|6144–>2048-2048
layers/SanFco_4_4.tif : 6144|6144–>2048-2048
layers/SanFco_4_5.tif : 8192|6144–>2048-2048
layers/SanFco_4_6.tif : 10240|6144–>2048-2048
layers/SanFco_4_7.tif : 12288|6144–>2048-2048
layers/SanFco_4_8.tif : 14336|6144–>1788-2048
layers/SanFco_5_1.tif : 0|8192–>2048-941
layers/SanFco_5_2.tif : 2048|8192–>2048-941
layers/SanFco_5_3.tif : 4096|8192–>2048-941
layers/SanFco_5_4.tif : 6144|8192–>2048-941
layers/SanFco_5_5.tif : 8192|8192–>2048-941
layers/SanFco_5_6.tif : 10240|8192–>2048-941
layers/SanFco_5_7.tif : 12288|8192–>2048-941
layers/SanFco_5_8.tif : 14336|8192–>1788-941
layers/1/SanFco_1_1.tif : 0|0–>2048-2048
layers/1/SanFco_1_2.tif : 2048|0–>2048-2048
layers/1/SanFco_1_3.tif : 4096|0–>2048-2048
layers/1/SanFco_1_4.tif : 6144|0–>1918-2048
layers/1/SanFco_2_1.tif : 0|2048–>2048-2048
layers/1/SanFco_2_2.tif : 2048|2048–>2048-2048
layers/1/SanFco_2_3.tif : 4096|2048–>2048-2048
layers/1/SanFco_2_4.tif : 6144|2048–>1918-2048
layers/1/SanFco_3_1.tif : 0|4096–>2048-470
layers/1/SanFco_3_2.tif : 2048|4096–>2048-470
layers/1/SanFco_3_3.tif : 4096|4096–>2048-470
layers/1/SanFco_3_4.tif : 6144|4096–>1918-470
layers/2/SanFco_1_1.tif : 0|0–>2048-2048
layers/2/SanFco_1_2.tif : 2048|0–>1983-2048
layers/2/SanFco_2_1.tif : 0|2048–>2048-235
layers/2/SanFco_2_2.tif : 2048|2048–>1983-235
layers/3/SanFco_1_1.tif : 0|0–>2015-1141
layers/4/SanFco_1_1.tif : 0|0–>1007-570
FINISHED
When I try to add the pyramid to my GeoServer Instance, the following error appear:
Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file
I try with all the tutorials that I found on the web and no one works… Please if someone could help me I’ll appreciate it.
I’m using Geoserver 2.0.2, uDig 1.2 RC3 and python GDAL.
TSU. Amador Cuenca