On Tue, Mar 22, 2011 at 12:29 AM, Prabhu Ramachandran
<[email protected]> wrote:
> Hi Sam,
>
> On Tuesday 22 March 2011 04:17 AM, Sam McClatchie wrote:
>> We are beginning to do some work with MayaVi2 on oceanographic datasets.
>> Virtually all of these data are spatially located according to latitude,
>> longitude and depth which constitute an unstructured grid. For the
>> visualization to be useful to use we need to display the data using a
>> projection scheme so that the map is not distorted.
>>
>> I have not yet found any examples using mapping projections and am
>> wondering if MayaVi2 can handle this? I assume so, but don't know if
>> perhaps there is a specific module?

Use PyProj for doing map projections:

  http://code.google.com/p/pyproj/

For 2D maps, you may want to consider using matplotlib's basemap package:

  http://www.scipy.org/Cookbook/Matplotlib/Maps

It uses the same underlying map projection library as PyProj. Even if
you are using Mayavi, there may be some utility code there that you
will want to steal.

-- 
Robert Kern
Enthought

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to