wrote:
> > > > On Windows, when I tried to install gdal using pip, it needed to
> > > > compile
> > > > part of it. I'm not set up with the Microsoft compiler and header
> > > > files, so that failed. If you are on Windows, you will need to lo
On Wednesday, October 12, 2022 at 9:51:22 AM UTC+2, Abdul Haseeb Azizi wrote:
> On Tuesday, October 11, 2022 at 10:29:34 PM UTC+2, MRAB wrote:
> > On 2022-10-11 20:38, Thomas Passin wrote:
> > > On Windows, when I tried to install gdal using pip, it needed to compile
> &g
On Tuesday, October 11, 2022 at 10:29:34 PM UTC+2, MRAB wrote:
> On 2022-10-11 20:38, Thomas Passin wrote:
> > On Windows, when I tried to install gdal using pip, it needed to compile
> > part of it. I'm not set up with the Microsoft compiler and header
> > files, so
On 2022-10-11 20:38, Thomas Passin wrote:
On Windows, when I tried to install gdal using pip, it needed to compile
part of it. I'm not set up with the Microsoft compiler and header
files, so that failed. If you are on Windows, you will need to look for
a binary wheel to install, or instal
On Windows, when I tried to install gdal using pip, it needed to compile
part of it. I'm not set up with the Microsoft compiler and header
files, so that failed. If you are on Windows, you will need to look for
a binary wheel to install, or install and configure the compiler and
header
Hi everyone,
I am new to python and I am trying to utilize this code "from osgeo import
gdal". I installed python 3.10 and also I installed anaconda3 to solve this
matter but I could not succeed. When I run that code I get the follo
Hi Conrado,
"\"Jorge Conrado Conforte\"" writes:
> Hi,
>
>
>
>
> I installed GDAL using the pip command and conda. But, I did:
>
> import gdal and I had:
Depending on your GDAL version, you might find you have to do
from osgeo import gdal
See
If you are working on ubuntu, you can use this command.
conda create --name pygdal
conda activate pygdal
conda install -c conda-forge gdal
If installation completes import it from:
from osgeo import gdal
Le ven. 7 oct. 2022 à 12:01, "Jorge Conrado Conforte" <
jorge.confo...@inp
Hi,
I installed GDAL using the pip command and conda. But, I did:
import gdal and I had:
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'gdal'
I need gdal to remap some data.
Please, help me
On Tuesday, March 8, 2022 at 12:52:29 PM UTC-6, Shaozhong SHI wrote:
> The following warning kept coming up when running ogr2ogr.
>
> Warning 1: Missing global # gdal: DRIVER_NAME declaration in
> C:\Users\AppData\Local\Programs\Python\Python36\Lib\site-packages\osgeo\g
The following warning kept coming up when running ogr2ogr.
Warning 1: Missing global # gdal: DRIVER_NAME declaration in
C:\Users\AppData\Local\Programs\Python\Python36\Lib\site-packages\osgeo\gdal_array.py
What steps to be take to resolve this issue?
Regards,
David
--
https://mail.python.org
I downloaded .whl files for fiona and gdal to go with Python3.6.5.
However, I am having trouble with red error messages.
Though Gdal is now working, there is a warning message - Missing global ~
gdal: DRIVER_NAME declaration gdal_array,py
Can anyone advise on how to resolve the issues
J Conrado writes:
> Hi,
>
>
> I'm trying to install GDAL. I used conda and PIP and I didn't have sucess.
>
>
> I used for pip to insatal GDAL3.0.4:
>
>
> pip install GDAL
>
>
> Collecting GDAL
> Using cached GDAL-3.0.4.tar.gz (577 kB
Hi,
in my question how to install GDAl, I forgot to write that I want to
install GDAL on Linux. Thanks, Conrado
--
https://mail.python.org/mailman/listinfo/python-list
This might work.
https://stackoverflow.com/questions/43587960/gdal-installation-error-using-pip/43600989
Souvik flutter dev
On Wed, Apr 22, 2020, 9:52 PM J Conrado wrote:
>
>
> Hi,
>
>
> I'm trying to install GDAL. I used conda and PIP and I didn't have sucess.
>
Hi,
I'm trying to install GDAL. I used conda and PIP and I didn't have sucess.
I used for pip to insatal GDAL3.0.4:
pip install GDAL
Collecting GDAL
Using cached GDAL-3.0.4.tar.gz (577 kB)
Building wheels for collected packages: GDAL
Building wheel for GDAL (setup.py)
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
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.p
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
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
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
On 1/11/2017 12:31 PM, Falter, Donald [USA] wrote:
I am new to Python and I am trying to utilize GDAL. I installed Python 3.6.
The version I get when I activate IDLE is: MSC v.1900 32 bit (Intel)] on win32.
In downloading the GDAL bindings the latest version I can find is
release-1800-gdal
On 1/11/2017 5:06 PM, Fabien wrote:
On 01/11/2017 10:59 PM, Fabien wrote:
I would strongly recommend to use conda
(http://conda.pydata.org/miniconda.html) for managing your packages and
environments, and then use the conda-forge channel
(https://conda-forge.github.io/) to install gdal:
conda
On 01/11/2017 10:59 PM, Fabien wrote:
I would strongly recommend to use conda
(http://conda.pydata.org/miniconda.html) for managing your packages and
environments, and then use the conda-forge channel
(https://conda-forge.github.io/) to install gdal:
conda install -c conda-forge gdal
I
On 01/11/2017 06:31 PM, Falter, Donald [USA] wrote:
I am new to Python and I am trying to utilize GDAL
GDAL is notoriously difficult to install :-(
I would strongly recommend to use conda
(http://conda.pydata.org/miniconda.html) for managing your packages and
environments, and then use the
On 11-1-2017 18:31, Falter, Donald [USA] wrote:
> I am new to Python and I am trying to utilize GDAL. I installed Python 3.6.
> I installed the following: gdal-201-1800-core.msi and
> GDAL-2.1.2.win32-py3.4.msi.
Those don't match. You'll have to use a MSI built for py3.6,
I am new to Python and I am trying to utilize GDAL. I installed Python 3.6.
The version I get when I activate IDLE is: MSC v.1900 32 bit (Intel)] on win32.
In downloading the GDAL bindings the latest version I can find is
release-1800-gdal-2-1-2-mapserver-7-0-2 so I installed the following
I tried to package a timeseries for vrt file to NetCDF. The problem is, it
converts layer by layer and save it to NetCDF which it took much time (also
with memory allocation).
I wanted to do is to save it chunk by chunk which I do not have any idea how to
do it !
Does someone have any solution
On 19.03.2015 09:00, Sumesh K.C. wrote:
I've been trying to georeference image with GDAL.
(...)
I'm trying to do everything for the beginning.
Can anyone guide me, how i should start?
Hi,
first I would try to do some tutorials about GDAL and read some
documentation and exampl
Hello Everyone,
I've been trying to georeference image with GDAL.
I've a number of GCPs (Ground Control Points) that can be easily identified on
the image. And what I'm trying is to create a program to georeference image by
entering the GCP value on the corresponding point o
On 2/26/2015 2:47 AM, Leo Kris Palao wrote:
Would like to request how to install GDAL in my Enthought Python
Distribution (64-bit).
The best place to ask about the Enthought Python Distribution is a list
devoted to the E. P. D.
--
Terry Jan Reedy
--
https://mail.python.org/mailman
On 26/02/2015 07:47, Leo Kris Palao wrote:
Hi Python Users,
Would like to request how to install GDAL in my Enthought Python
Distribution (64-bit). I am having some problems making GDAL work. Or
can you point me into a blog that describes how to set up GDAL in
Enthought Python Distribution
Hi Python Users,
Would like to request how to install GDAL in my Enthought Python
Distribution (64-bit). I am having some problems making GDAL work. Or can
you point me into a blog that describes how to set up GDAL in Enthought
Python Distribution.
Thanks for any help.
-Leo
--
https
Hi ALL,
Just wanted to ask if somebody could guide me in installing GDAL in my
Python installed using Canopy. Could you give me some steps how to
successfully install this package? I got it running using my previous
Python Installation, but I removed it and used Canopy Python now.
btw: my python
Hi Asim, thanks for your help. It is working properly now.
Thanks,
-Leo
On Wed, Feb 11, 2015 at 4:48 PM, Asim Jalis wrote:
> Hi Leo,
>
> This might be a PATH issue.
>
> See this discussion for details.
>
>
> https://pythongisandstuff.wordpress.com/2011/07/07/installing
Hi Leo,
This might be a PATH issue.
See this discussion for details.
https://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/
Asim
On Tue, Feb 10, 2015 at 9:11 PM, Leo Kris Palao wrote:
> Hi Python Users,
>
> I currently installed the Pyt
Hi Python Users,
I currently installed the Python 2.7.9 and installed the GDAL package.
First, I tried to install GDAL using PIP but it throws an error - I cannot
remember the exact error message. So, I install it using easy_install
command. But when I import the package I am getting this message
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 tu
On Jun 25, 9:51 am, Max Erickson wrote:
> kBob wrote:
> > On Jun 25, 1:26 am, Mark Lawrence
> > wrote:
> >> On 24/06/2010 21:48, Christian Heimes wrote:
>
> >> >> I am attempting to install the GDAL bindings (GDAL-1.7.1)
> >> >>
kBob wrote:
> On Jun 25, 1:26 am, Mark Lawrence
> wrote:
>> On 24/06/2010 21:48, Christian Heimes wrote:
>>
>> >> I am attempting to install the GDAL bindings (GDAL-1.7.1)
>> >> on a Windows XP Desktop with Python 2.6 and GDAL. During
>> >&g
> I'll try my luck with Cygwin's ggc before I look into another C/C++
> compiler.
Better grab a recent build of MinGW32. Python's build system has native
support for mingw32. IIRC Cygwin's GCC is only supported for Cygwin
builds of Python.
Christian
--
http://mail.python.org/mailman/listinfo/p
On Jun 25, 1:26 am, Mark Lawrence wrote:
> On 24/06/2010 21:48, Christian Heimes wrote:
>
> >> I am attempting to install the GDAL bindings (GDAL-1.7.1) on a
> >> Windows XP Desktop with Python 2.6 and GDAL. During install, the
> >> script finishes with &qu
On 24/06/2010 21:48, Christian Heimes wrote:
I am attempting to install the GDAL bindings (GDAL-1.7.1) on a
Windows XP Desktop with Python 2.6 and GDAL. During install, the
script finishes with "error: Unable to find vcvarsall.bat".
What dependencies am I missing?
Visual S
> I am attempting to install the GDAL bindings (GDAL-1.7.1) on a
> Windows XP Desktop with Python 2.6 and GDAL. During install, the
> script finishes with "error: Unable to find vcvarsall.bat".
>
> What dependencies am I missing?
Visual Studio 2008
Christian
--
http:
I am attempting to install the GDAL bindings (GDAL-1.7.1) on a
Windows XP Desktop with Python 2.6 and GDAL. During install, the
script finishes with "error: Unable to find vcvarsall.bat".
What dependencies am I missing?
C:\PyPI\GDAL-1.7.1>c:\python26\python setup.py install
ru
rror
2. the interaction with the gdal_merge.py error handling
No suggestions on the first two, other than to perhaps install
easy_install and GDAL and friends using the python.org 2.5 and/or to ask
in a more specialized forum.
Otherwise, everything's peachy.
Good luck!
--
Ned Deily,
t; 2. the interaction with the gdal_merge.py error handling
No suggestions on the first two, other than to perhaps install
easy_install and GDAL and friends using the python.org 2.5 and/or to ask
in a more specialized forum.
> Otherwise, everything's peachy.
Good luck!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
Hi.
You are correct about finding the module, Ned. Thanks for that
although I don't understand why it works. However, there are
complications.
1. Using '/usr/bin/python' and 'from osgeo import gdal' works but
throws an error the first time it's invoked
la CA 92093
+01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) /
URL (http://www.sdsc.edu/~hellyj)
On Feb 19, 2009, at 11:16 AM, Ned Deily wrote:
In article ,
Ned Deily wrote:
It looks like you have installed GDAL to the site-packages directory
of
the Apple-supplied pytho
In article ,
Ned Deily wrote:
> It looks like you have installed GDAL to the site-packages directory of
> the Apple-supplied python 2.5 (which, for 10.5, is 2.5.1, not 2.4).
> That site-packages directory is /Library/Python/2.5. The Apple-supplied
> python comes with a sym link f
; I'm a newbie to python and am running:
> > OS X 10.5.6
> > Python 2.5.4
>[...]
> > and have run easy_install for gdal like this:
> >
> > /Library/Python/2.5/site-packages>sudo easy_install GDAL
> > Password:
> > Searching for GDAL
> > Bes
s the
Python to which you installed GDAL. There shouldn't be anything else
you have to do once easy-install is complete.
As Miles pointed out, you should probably try this:
from osgeo import gdal
instead of this:
import gdal
Although I gather the latter should work based on the documentat
ie to python and am running:
OS X 10.5.6
Python 2.5.4
Hi John,
Are you using the system Python or have you installed another version?
Cheers
Philip
and have run easy_install for gdal like this:
/Library/Python/2.5/site-packages>sudo easy_install GDAL
Password:
Searching for GDAL
Be
) /
stonesteps7 (iChat)
http://www.sdsc.edu/~hellyj
On Feb 17, 2009, at 2:43 PM, Miles wrote:
On Mon, Feb 16, 2009 at 8:35 PM, Helly John J. wrote:
However, when I run python and try to import gdal, this is what
happens:
Python 2.5.4 (r254:67917, Dec 23 2008, 14:57:27)
[GCC 4.0.1 (Apple Computer, Inc
On Mon, Feb 16, 2009 at 8:35 PM, Helly John J. wrote:
> However, when I run python and try to import gdal, this is what happens:
> Python 2.5.4 (r254:67917, Dec 23 2008, 14:57:27)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
> Type "help", "copyright",
On Feb 16, 2009, at 8:35 PM, Helly John J. wrote:
Hi.
I'm a newbie to python and am running:
OS X 10.5.6
Python 2.5.4
Hi John,
Are you using the system Python or have you installed another version?
Cheers
Philip
and have run easy_install for gdal like this:
/Library/Pytho
Hi.
I'm a newbie to python and am running:
OS X 10.5.6
Python 2.5.4
and have run easy_install for gdal like this:
/Library/Python/2.5/site-packages>sudo easy_install GDAL
Password:
Searching for GDAL
Best match: GDAL 1.6.0
Processing GDAL-1.6.0-py2.5-macosx-10.5-i386.egg
GDAL 1.6.0 is
On 10 mar, 09:49, luis <[EMAIL PROTECTED]> wrote:
> On 9 mar, 16:37, luis <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi
>
> > On Windows xp sp2 and python 2.4
>
> > Yesterday I running old versions of gdal, and I try to upgrade
>
> > I downlo
On 9 mar, 16:37, luis <[EMAIL PROTECTED]> wrote:
> Hi
>
> On Windows xp sp2 and python 2.4
>
> Yesterday I running old versions of gdal, and I try to upgrade
>
> I download gdalwin32exe150.zip and gdal-python-13.win32-py2.4.exe
> I unzip gdalwin32exe150.zip in
Hi
On Windows xp sp2 and python 2.4
Yesterday I running old versions of gdal, and I try to upgrade
I download gdalwin32exe150.zip and gdal-python-13.win32-py2.4.exe
I unzip gdalwin32exe150.zip in C:\gdalwin32-1.5
I follow install's instructions from
http://trac.osgeo.org/gdal
a bit complicated to reduce all my 2D
> arrays to 1D arrays because I am working with the gdal library, which
> works only with 'numeric' arrays.
You can try to convert numeric array into array.array.
Serge.
--
http://mail.python.org/mailman/listinfo/python-list
ed to access the array values in
the openness function.
As regards array.array, it seems a bit complicated to reduce all my 2D
arrays to 1D arrays because I am working with the gdal library, which
works only with 'numeric' arrays.
Julien
--
http://mail.python.org/mailman/listinfo/python-list
Julien Fiore wrote:
> Thanks for the psyco information, Serge.
>
> > 2) Rewrite the code to be vectorized (don't use psyco) Right now your
> > code *doesn't* get any speed benefit from numpy
>
> I do not understand this point. How to rewrite the code ?
vectorized code means one operation work on m
Julien Fiore wrote:
> Thanks Caleb for the advice,
>
> I profiled my code with the following lines:
>
> import profile, pstats
>
> profile.runctx('openness(infile,outfile,R)',globals(),locals(),'profile.log')
> p = pstats.Stats('profile.log')
> p.sort_stats('time')
> p.print_stat
Thanks Caleb for the advice,
I profiled my code with the following lines:
import profile, pstats
profile.runctx('openness(infile,outfile,R)',globals(),locals(),'profile.log')
p = pstats.Stats('profile.log')
p.sort_stats('time')
p.print_stats(10)
The outputs tells me that the ope
Thanks for the psyco information, Serge.
> 2) Rewrite the code to be vectorized (don't use psyco) Right now your
> code *doesn't* get any speed benefit from numpy
I do not understand this point. How to rewrite the code ? Do you mean
in C ?
Julien
--
http://mail.python.org/mailman/listinfo/pyth
Julien Fiore wrote:
> Hi,
> I wrote a function to compute openness (a digital elevation model
> attribute). The function opens the gdal-compatible input raster and
> reads the values in a square window around each cell. The results are
> stored in a "1 line buffer". At
Hi
The documentation for the python profiler in the python library
reference is extremely readable (well done James Roskin!?).
Profile your code, and when you find where the speed problem occurs,
try pitching just that section of code in comp.lang.python. You will
likely get much feedback. Ever
Hi,
I wrote a function to compute openness (a digital elevation model
attribute). The function opens the gdal-compatible input raster and
reads the values in a square window around each cell. The results are
stored in a "1 line buffer". At the end of the line, the buffer is
written to
69 matches
Mail list logo