|
From: Jeff W. <js...@fa...> - 2008-12-08 12:53:57
|
Mauro Cavalcanti wrote: > Dear Jeff, > > 2008/12/7 Jeff Whitaker <js...@fa...>: > >> Mauro: Just set the llrncrlat,urcrnrlon appropriately. For instance, >> llcrnrlon=0, urcrnrlon=360 will produce a map centered on the dateline while >> llcrnrlon=-180, urcrnrlon=180 will produce a map centered on Greenwich. >> > > Thanks! I had not figured out that the decimal coordinates used by > Basemap range from 0 to 360 (and not just from -180 to 180). Mauro: I just updated SVN basemap so you can specify just lon_0 for all cylindrical projections (cyl,gall,merc,mill) to get a global map centered on lon_0 (implying llcrnrlat=-90,urcrnrlat=90,llcrnrlon=lon_0-180,urcrnrlon=lon_0+180). > Using > this tip, I could also create a map centered on the Indian Ocean. BTW, > by varying the llcrnrlat and urcrnrlat, can one also create maps > centered on the North and South poles using a Equirectangular > projection? > No. Cylindrical projections can't cross the poles. -Jeff > With best regards, > > -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 |