Re: [Matplotlib-users] How to properly define lat/lon WGS84 in basemap module?

2008-12-16 Thread Jeff Whitaker
Roger André wrote: Hi All, I have some square images which were generated via WMS requests. I have imported them into Matplotlib via pil_to_array, and then display them in a Basemap instance where I have defined the projection as: m = Basemap(projection='cyl', lon_0=lon_0,

Re: [Matplotlib-users] How to properly define lat/lon WGS84 in basemap module?

2008-12-16 Thread Roger André
Hi Jeff, I checked, and no the images are not geographically square. I wonder if I could approach this problem in a different way. Would it be possible for me to add tick marks and annotation to the image without using the Basemap module alone? My thinking is that I could bring the image into

Re: [Matplotlib-users] How to properly define lat/lon WGS84 in basemap module?

2008-12-16 Thread Jeff Whitaker
Roger André wrote: Hi Jeff, I checked, and no the images are not geographically square. I wonder if I could approach this problem in a different way. Would it be possible for me to add tick marks and annotation to the image without using the Basemap module alone? My thinking is that I

Re: [Matplotlib-users] How to properly define lat/lon WGS84 in basemap module?

2008-12-16 Thread Roger André
Ahh, because I have labels and other text already drawn on the image. Squishing it alters the shape of the letters. And I have potentially many of these coming out of WMS requests where I know the image size and corner coords, but I can't alter the basic nature of the image. What I'd like to do

[Matplotlib-users] How to properly define lat/lon WGS84 in basemap module?

2008-12-15 Thread Roger André
Hi All, I have some square images which were generated via WMS requests. I have imported them into Matplotlib via pil_to_array, and then display them in a Basemap instance where I have defined the projection as: m = Basemap(projection='cyl', lon_0=lon_0, llcrnrlon=ll_lon, llcrnrlat=ll_lat,