Masking using shapefiles

jorge.conrado at cptec.inpe.br jorge.conrado at cptec.inpe.br
Wed May 2 10:08:40 EDT 2018



  Hi,

  I'm trying to make a mask using a shapefile of Brazil using the 
examplE:

  http://basemaptutorial.readthedocs.io/en/latest/clip.html


  I run my script and I had the messages:

  Traceback (most recent call last):
   File "mascarapy2.py", line 7, in <module>
     from osgeo import gdal
   File 
"/home/conrado/anaconda3/lib/python2.7/site-packages/osgeo/__init__.py", 
line 21, in <module>
     _gdal = swig_import_helper()
   File 
"/home/conrado/anaconda3/lib/python2.7/site-packages/osgeo/__init__.py", 
line 17, in swig_import_helper
     _mod = imp.load_module('_gdal', fp, pathname, description)
ImportError: 
/home/conrado/anaconda3/lib/python2.7/site-packages/osgeo/../../.././libkea.so.1.4.7: 
undefined symbol: 
_ZN2H56H5FileC1ERKSsjRKNS_17FileCreatPropListERKNS_15FileAccPropListE


    Please, what can I do to solve this.

    Thanks,

    Conrado



More information about the Python-list mailing list