Chris Petrich wrote: > Hi, > > I get a Topology Exception with GEOS 3.1: > > import mpl_toolkits.basemap as bm > print "GEOS version: ", bm._geoslib.__geos_version__ > print "basemap version: ", bm.__version__ > > m = bm.Basemap(width=12000000,height=8000000, \ > resolution='l',projection='laea',\ > lat_0=55,lon_0=175.) > > output: > > GEOS version: 3.1.0-CAPI-1.5.0 > basemap version: 0.99.3 > GEOS_ERROR: TopologyException: found non-noded intersection between > 3.03025e+06 1.45852e+07, 3.02518e+06 1.45831e+07 and 3.02379e+06 > 1.45823e+07, 3.02937e+06 1.45857e+07 3.02519e+06 1.45831e+07 > Segmentation fault > > > Any solutions? > cheers > > Chris > >
Chris: This usually happens when you build mix different versions of geos, i.e. build with the 3.1 lib but the 2.2.3 headers, or link with the 3.1 shared lib and then have it pick up the 2.2.3 shared lib at run time. Do you have two versions of geos on your system? If so, make sure basemap is only finding one of them, both at build time and run time. -Jeff ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel