[Gdal-dev] Sinusoidal projection for MODIS images with OGR

Ben Discoe ben at vterrain.org
Mon Oct 13 00:44:00 EDT 2003


This evening i tried to load some images from the MODIS Gallery
(http://rapidfire.sci.gsfc.nasa.gov/)  They are .jpg, with .jpw world files.
The projection is described in a separate .txt file, like this:

 projection: Sinusoidal
 image center lon: +128
 image center lat: +38
 ellipsoid: Sphere
 Earth radius (km): 6371.007181

When i looked at OGR for a way to describe this projection, i found:

  OGRSpatialReference::SetSinusoidal(dfCenterLong, dfFalseEasting,
dfFalseNorthing);

This doesn't seem to take a "center lat" parameter, so i'm left wondering
how to tell it about the MODIS image?

Thanks,
Ben




More information about the Gdal-dev mailing list