John [H2O] wrote: > Hello, > > I'm creating a web application that will take user input from a javascript > map to give me bounding coordinates (i.e. urcrnrlat, urcrnrlon, llcrnrlat, > llcrnrlon) and possibly a switch for polar projection. Other than that I > have no further information. Which projection is the most suitable to handle > anything from a 'global' plot to a zoom say over a state? I don't see the > zoom being too tight, but global projections are likely. I personally prefer > Equal Area, hence right now I'm working with 'aeqd', but I seem to have > problems if the plot is global with that projection. > > Just looking for advice, opinions, and ideally examples if anyone has > created a similar function / module to use in a web environment. > > Thanks! > -john > John: Sounds like you need one of the global cylindrical projections, such as cylindrical equidistant ('cyl'), miller ('mill') or mercator ('merc'). In the svn version, you also have Gall Stereographic ('gall'). See http://matplotlib.sourceforge.net/basemap/doc/html/users/mapsetup.html for examples. Unfortunately, none of them are equal-area. Mollweide ('moll') is a global equal-area projection, but it's only global (you can't specify a domain that isn't global). For the polar option, I suggest polar lambert azimuthal equal-area (http://matplotlib.sourceforge.net/basemap/doc/html/users/plaea.html). The user can specify whether he/she wants the south or north polar aspect, and the latitude of the outer edge.
-Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users