[Gdal-dev] Warping an ecw
SteveC
steve at asklater.com
Sat Nov 12 09:53:23 EST 2005
Hi
I'm trying to transform an ecw but always get errors. Any help/pointers
appreciated.
I get
$ gdalwarp -tr 0.001 0.001 -t_srs "epsg:4326" -of GTiff foo.ecw foo.tiff
Creating output file that is 784P x 648L.
:0.ERROR 1: NCScbmReadViewLineBIL failed.
$ gdalwarp -t_srs "epsg:4326" -te 0 50 10 60 -ts 30 30 -of GTiff foo.ecw foo.tiff
Creating output file that is 30P x 30L.
:0..10..20...33..40...50...61..ERROR 1: NCScbmReadViewLineBIL failed.
$ gdal-config --version
1.3.1
$ uname -a
Linux fang 2.6.13 #2 Mon Oct 24 23:36:45 BST 2005 i686 GNU/Linux
$ proj --version
Rel. 4.4.9, 29 Oct 2004
$ gdalinfo foo.ecw
Driver: ECW/ERMapper Compressed Wavelets
Size is 262000, 340500
Coordinate System is:
PROJCS["TMOSGB",
GEOGCS["ORDNANCE SURVEY 1936",
DATUM["OSGB36",
SPHEROID["AIRY",6377563.396,299.3249646]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",49],
PARAMETER["central_meridian",-1.999999999999966],
PARAMETER["scale_factor",0.999601272],
PARAMETER["false_easting",-100000],
PARAMETER["false_northing",400000],
UNIT["Meter",1]]
Origin = (132000.000000,691001.000000)
Pixel Size = (2.00000000,-2.00000000)
Corner Coordinates:
Upper Left ( 132000.000, 691001.000) ( 1d20'53.45"E, 51d34'10.52"N)
Lower Left ( 132000.000, 10001.000) ( 0d58'2.29"E, 45d27'6.44"N)
Upper Right ( 656000.000, 691001.000) ( 8d48'56.20"E, 51d 6'54.75"N)
Lower Right ( 656000.000, 10001.000) ( 7d36'26.35"E, 45d 5'3.75"N)
Center ( 394000.000, 350501.000) ( 4d40'17.19"E, 48d21'39.14"N)
Band 1 Block=262000x1 Type=Byte, ColorInterp=Red
Overviews: arbitrary
Band 2 Block=262000x1 Type=Byte, ColorInterp=Green
Overviews: arbitrary
Band 3 Block=262000x1 Type=Byte, ColorInterp=Blue
Overviews: arbitrary
More information about the Gdal-dev
mailing list