[Gdal-dev] no data column after gdal_translate

Shoaib Burq (VPAC) sab at vpac.org
Thu Apr 22 00:17:37 EDT 2004


Hi,

I'm trying to convert some lidar data tiles in ArcGrid Bin frmt to 
geotiff. Each tile is georefereneced and is around 2mb in size. 

After converting using:

"gdal_translate -ot float32 -of GTiff g1m3086000lh/hdr.adf 
g1m3086000lh.tiff'

I view the image in ENVI and notice a column of pixels at the left edge of 
the image with the data value of '***************'

The source data has fairly typical values along the edge. Plus this is 
happening for all the data tiles so it's probably not an issue with the 
source data. 

Has anyone come across this or know what could be causing it?

I run gdalinfo on both src and dest images: (I can't notice any anomalies)
SOURCE:
$ gdalinfo ./g1m3086000lh/hdr.adf 
Driver: AIG/Arc/Info Binary Grid
Size is 2080, 2080
Coordinate System is:
PROJCS["UTM Zone 55, Southern Hemisphere",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            TOWGS84[0,0,0,0,0,0,0],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9108"]],
        AXIS["Lat",NORTH],
        AXIS["Long",EAST],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",147],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",10000000],
    UNIT["METERS",1]]
Origin = (307959.510000,6002039.510000)
Pixel Size = (1.00000000,-1.00000000)
Corner Coordinates:
Upper Left  (  307959.510, 6002039.510) 
Lower Left  (  307959.510, 5999959.510) 
Upper Right (  310039.510, 6002039.510) 
Lower Right (  310039.510, 5999959.510) 
Center      (  308999.510, 6000999.510) 
Band 1 Block=260x4 Type=Float32, ColorInterp=Undefined
  Min=91.271 Max=99.230 
  NoData Value=-3.40282e+038

DESTINATION:
$ gdalinfo ./lidar_geotiff/g1m3086000lh.tiff 
Driver: GTiff/GeoTIFF
Size is 2080, 2080
Coordinate System is:
PROJCS["unnamed",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.2572235630016,
                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",147],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",10000000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","32755"]]
Origin = (307959.510000,6002039.510000)
Pixel Size = (1.00000000,-1.00000000)
Corner Coordinates:
Upper Left  (  307959.510, 6002039.510) 
Lower Left  (  307959.510, 5999959.510) 
Upper Right (  310039.510, 6002039.510) 
Lower Right (  310039.510, 5999959.510) 
Center      (  308999.510, 6000999.510) 
Band 1 Block=2080x1 Type=Float32, ColorInterp=Gray
  NoData Value=-3.40282e+038

thanks for any help rendered.
-- 
Shoaib Burq




More information about the Gdal-dev mailing list