Opened 20 years ago

Last modified 19 years ago

#517 closed enhancement (fixed)

Support for goode homolosine projection

Reported by: gdal@… Owned by: warmerdam
Priority: high Milestone:
Component: OGR_SRS Version: unspecified
Severity: minor Keywords:
Cc: neteler@…, gdal@…

Description

Attached is a small patch to add OGR support for the goode homolosine 
projection.  
 
Unfortunately, proj.4 does only support the uninterrupted form of the goode 
projection,  so a reprojection won't work on global datasets in interrupted 
form. 
However, in a local context, you can adjust false easting and central 
meridian values for the different zones. For a listing of false easting and 
central meridian values used in the interrupted form, refer to Table 1 of 
http://edcdaac.usgs.gov/1KM/goodesarticle.asp. 
 
To reproject e.g. a MODIS dataset of North America 
(ftp://ftp.glcf.umiacs.umd.edu/modis/500m/North_America/Goodes.NA.2003321/), 
you could use the command-line: 
 
gdalwarp <input> -s_srs '+proj=goode +ellps=sphere +lon_0=100w  
+x_0=-11119487.43'  <output options> 
 
cheers, 
 
        Manuel

Attachments (1)

goode_projection.diff (6.8 KB ) - added by gdal@… 20 years ago.
Patch to add uninterrupted goode projection support

Download all attachments as: .zip

Change History (2)

by gdal@…, 20 years ago

Attachment: goode_projection.diff added

Patch to add uninterrupted goode projection support

comment:1 by warmerdam, 19 years ago

Goodes support has now been added to OGRSpatialReference. 

A few notes:
 o The method name is SetGM() instead of SetGoode(). 
 o The projection name is Goode_Homolosine instead of Goode. 


Note: See TracTickets for help on using tickets.