[Gdal-dev] problem with converting GeoTiff to BMP

Ayman Kamal kamal_jo at yahoo.com
Sun Mar 23 10:26:40 EST 2003


I have a GeoTiff file with the following data
generated from "gdalinfo". I converted this file using
"gdal_translate" to a bmp file, it appeared as all
white, but when I chose to call

"poVRTBand->AddSimpleSource"

instead of

"poVRTBand->AddComplexSource"

it worked,

Can you tell me why?

--------------------------------------------------
Driver: GTiff/GeoTIFF
Size is 375, 473
Coordinate System is:
PROJCS["unnamed",
    GEOGCS["NAD27",
        DATUM["North_American_Datum_1927",
            SPHEROID["Clarke
1866",6378206.4,294.9786982139006,
                AUTHORITY["EPSG","7008"]],
            AUTHORITY["EPSG","6267"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4267"]],
    AUTHORITY["EPSG","26715"],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-93],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["unknown",1]]
Origin = (716880.000000,4305960.000000)
Pixel Size = (30.000000,-30.000000)
Corner Coordinates:
Upper Left  (  716880.000, 4305960.000) (
90d29'59.67"W, 38d52'39.45"N)
Lower Left  (  716880.000, 4291770.000) (
90d30'15.74"W, 38d44'59.53"N)
Upper Right (  728130.000, 4305960.000) (
90d22'13.25"W, 38d52'29.20"N)
Lower Right (  728130.000, 4291770.000) (
90d22'30.16"W, 38d44'49.33"N)
Center      (  722505.000, 4298865.000) (
90d26'14.71"W, 38d48'44.44"N)
Band 1 Block=375x1 Type=Float32, ColorInterp=Gray
-----------------------------------------------------

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the Gdal-dev mailing list