[Gdal-dev] Issue with mollweide and tiff

Ben Tuttle Ben.Tuttle at noaa.gov
Thu Dec 14 13:19:33 EST 2006


Hi all-
I am still trying to wrap my head around epsg and defining projections 
using -a_srs. I am trying to convert a mollwiede ENVI file to a 
mollwiede GTiff. I have tried the following:
gdal_translate -of GTiff 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw.tif

and

gdal_translate -of GTiff -a_srs '+proj=moll +lon_0=0 +x_0=0 +y_0=0 
+datum=WGS84 +units=km' 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw.tif

In the first example I get an unnamed/unknown coordinate system and in 
the second example I seem to get no coordinate system at all. The 
following page 
(http://www.remotesensing.org/geotiff/proj_list/mollweide.html) leads me 
to believe it is possible to have a mollwiede geotiff, but I have 
clearly been unsuccessful in creating one. Is this a limitation of the 
geotiff format or am I incorrectly passing the paramaeters to a_srs?

gdalinfo 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw.tif                          
Driver: GTiff/GeoTIFF
Size is 43201, 16801
Coordinate System is:
GEOGCS["unnamed",
    DATUM["unknown",
        SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433]]
Origin = (-180.000000,75.000000)
Pixel Size = (0.00833333,-0.00833333)
Metadata:
  AREA_OR_POINT=Area
Corner Coordinates:
Upper Left  (-180.0000000,  75.0000000) (180d 0'0.00"W, 75d 0'0.00"N)
Lower Left  (-180.0000000, -65.0082773) (180d 0'0.00"W, 65d 0'29.80"S)
Upper Right ( 180.0081893,  75.0000000) (180d 0'29.48"E, 75d 0'0.00"N)
Lower Right ( 180.0081893, -65.0082773) (180d 0'29.48"E, 65d 0'29.80"S)
Center      (   0.0040947,   4.9958613) (  0d 0'14.74"E,  4d59'45.10"N)
Band 1 Block=43201x1 Type=UInt16, ColorInterp=Gray

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

gdalinfo 
F16200412.cloud2.light1.no_marginal.line_screened.shift.cf_cvg.molw.tif
Driver: GTiff/GeoTIFF
Size is 43201, 16801
Coordinate System is `'
Origin = (-180.000000,75.000000)
Pixel Size = (0.00833333,-0.00833333)
Metadata:
  AREA_OR_POINT=Area
Corner Coordinates:
Upper Left  (-180.0000000,  75.0000000)
Lower Left  (-180.0000000, -65.0082773)
Upper Right ( 180.0081893,  75.0000000)
Lower Right ( 180.0081893, -65.0082773)
Center      (   0.0040947,   4.9958613)
Band 1 Block=43201x1 Type=UInt16, ColorInterp=Gray






More information about the Gdal-dev mailing list