python gdal error

2017-09-08 Thread falcone . giuseppe
Hi to all, I'm new to python program and I have a problem with the following code. I'm unable to read field_data variable in retrieve_model_params function. In debug, execution ends immediately without a message. Anyone have some idea about that? If the for cycle in retrieve_model_params is moved

Re: PYTHON GDAL

2017-07-14 Thread Fabien
On 07/14/2017 03:57 PM, jorge.conr...@cptec.inpe.br wrote: Hi, I installed the GDAL 2.2.1 using conda. Then I did: import gdal and I had: Traceback (most recent call last): File "", line 1, in File "/home/conrado/miniconda2/lib/python2.7/site-packages/gdal.py", line 2, in fr

PYTHON GDAL

2017-07-14 Thread jorge . conrado
Hi, I installed the GDAL 2.2.1 using conda. Then I did: import gdal and I had: Traceback (most recent call last): File "", line 1, in File "/home/conrado/miniconda2/lib/python2.7/site-packages/gdal.py", line 2, in from osgeo.gdal import deprecation_warn File "/home/conrado/mi

Re: PYTHON GDAL

2017-05-23 Thread dieter
jorge.conr...@cptec.inpe.br writes: > ... > and I had: > > import gdal > Traceback (most recent call last): > ... > line 17, in swig_import_helper > _mod = imp.load_module('_gdal', fp, pathname, description) > ImportError: libicui18n.so.56: cannot open shared object file: No such > file or dire

PYTHON GDAL

2017-05-23 Thread jorge . conrado
Hi, I'm trying to run a script to read and plot an geotiff data. And I use: import gdal and I had: import gdal Traceback (most recent call last): File "", line 1, in File "/home/conrado/miniconda2/lib/python2.7/site-packages/gdal.py", line 2, in from osgeo.gdal import deprecation

How To Use Python/GDAL to create a KML file from an Image?

2012-01-29 Thread Roger Zimmerman
Hi All, I'd have a contour image file, in either svg, gif or png format. I know the GPS coordinates for the four corners of the image. I'd like to create a KML file from that image. I will view the KML file in Google Earth or ARCGIS. I understand that GDAL can do this, and I saw a tutorial for GD