[osgeo4w-dev] [osgeo4w] #155: Add matplotlib mpl_toolkits.natgrid package

OSGeo4W trac_osgeo4w at osgeo.org
Mon Mar 1 15:11:24 EST 2010

#155: Add matplotlib mpl_toolkits.natgrid package
Reporter:  ccrook       |       Owner:  osgeo4w-dev at lists.osgeo.org
    Type:  enhancement  |      Status:  new                        
Priority:  minor        |   Component:  Package                    
 Version:               |    Keywords:  matplotlib toolkit         
 The mpl_toolkits.natgrid module adds more robust triangluation to
 matplotlib.  From the matplot lib documentation for the griddata function
 (used in at least one Quantum GIS plugin!) ...

 "The triangulation algorithm in this package is known to fail on some
 nearly pathological cases. For this reason, a separate toolkit
 (mpl_tookits.natgrid) has been created that provides a more robust
 algorithm fof triangulation and interpolation. This toolkit is based on
 the NCAR natgrid library, which contains code that is not redistributable
 under a BSD-compatible license. When installed, this function will use the
 mpl_toolkits.natgrid algorithm, otherwise it will use the built-in
 matplotlib.delaunay package"

 In this case it seems not difficult to find "nearly pathalogical".

 I'm not sure what the implication of the license would be for OsGeo4W?
 Does this prohibit its inclusion?

 The natgrid matplotlib toolkit can be downloaded from

Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/155>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.

More information about the osgeo4w-dev mailing list