Hello,
I am trying to install basemap from debian packages, but I am not able
to have it run properly.
Here are my tests:
import matplotlib as mpl
import mpl_toolkits.basemap as bm
import numpy as np
print "GEOS version: ", bm._geoslib.__geos_version__
print "basemap version: ", bm.__version__
print "numpy version: ", np.__version__
print "matplotlib version: ", mpl.__version__
map = bm.Basemap(projection='ortho', lat_0 = 50, lon_0 = -100,
resolution = 'l', area_thresh = 1000.)
map.drawcountries()
map.fillcontinents(color = 'coral')
map.drawmapboundary()
map.drawmeridians(np.arange(0, 360, 30))
map.drawparallels(np.arange(-90, 90, 30))
plt.show()
gives:
/usr/lib/pymodules/python2.7/mpl_toolkits/__init__.py:2: UserWarning:
Module dap was already imported from None, but
/usr/lib/python2.7/dist-packages is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
GEOS version: 3.3.1-CAPI-1.7.1
basemap version: 1.0.2
numpy version: 1.5.1
matplotlib version: 1.1.0
GEOS_ERROR: TopologyException: found non-noded intersection between
LINESTRING (170.007 -0.00578472, 170.021 -0.0173561) and LINESTRING
(349.986 -0.0115701, -10 0) at 170.007 -0.00578549
Erreur de segmentation
Thanks for your help,
Lazlo
<<<
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users