Re: [gdal-dev] Will gdalinfo generate the pam .aux.xml files?

2010-05-06 Thread Chaitanya kumar CH
Jared, For gdalinfo to create .aux.xml files, you just need to force it to compute some metadata not stored in the file. On Fri, May 7, 2010 at 2:39 AM, Rubin, Jared wrote: > I am using gdal-1.6.2 (version not important) and would like for gdalinfo > to generate .aux.xml files for NITF files

[gdal-dev] Will gdalinfo generate the pam .aux.xml files?

2010-05-06 Thread Rubin, Jared
I am using gdal-1.6.2 (version not important) and would like for gdalinfo to generate .aux.xml files for NITF files that I have on disk, is this possible? If this is possible, will gdalinfo just load an image.nitf.aux.xml file instead of image.nitf? Thanks Jared __

Re: [gdal-dev] Installing additional packages for python in OSGeo4W

2010-05-06 Thread Matt Wilkie
Hi Aleksey, With regard to ipython, if you register the o4w python with windows[1] you should be able to run the standard ipy windows installer, which will put ipy in %pythonhome%\Lib\site-packages. This may work for the other extra programs too. [1] optional package to register python in Wi

Re: [gdal-dev] CPLMalloc() and CPLFree() issues....

2010-05-06 Thread Frank Warmerdam
Zermeno, Robert J CIV NAVAIR, 472100D wrote: I have been using the standard malloc, but trying to use CPLMalloc() with CPLFree(). I have a function that will provide a user with different image blocks given specified location. So, a function will get repeatedly called to grab the new image data

[gdal-dev] CPLMalloc() and CPLFree() issues....

2010-05-06 Thread Zermeno, Robert J CIV NAVAIR, 472100D
I have been using the standard malloc, but trying to use CPLMalloc() with CPLFree(). I have a function that will provide a user with different image blocks given specified location. So, a function will get repeatedly called to grab the new image data content. On the first round, I can success

[gdal-dev] Installing additional packages for python in OSGeo4W

2010-05-06 Thread Aleksey Naumov
Dear GDAL experts, What is the best/recommended way to install additional python packages for the Python bundled with OSGeo4W (currently 2.5.2)? Specifically, I am looking for the following packages (which do not seem to be available via the OSGeo4W installer; neither should they be, necessarily):

Re: [gdal-dev] Python (2.6.5) GDAL module will not install with easy_install

2010-05-06 Thread Allen Rongone
Brice, On May 6, 2010, at 12:47 PM, Brice Lambi wrote: Hi Allen, Are you compiling from source? - No, I'm using easy_install which came with setuptools. We are building about 30 packages that we need to push out to 50 workstations for our developers. I was hoping to avoid building ev

Re: [gdal-dev] Python (2.6.5) GDAL module will not install with easy_install

2010-05-06 Thread Christopher Barker
Allen Rongone wrote: I can not find the setup.py to edit and change the location of gdal-config. easy_install must clean everything up if it fails. yes, it's a bit annoying that way. Does anyone know how to get this to work or will we have to do without GDAL in python? I"d do withou

Re: [gdal-dev] Python (2.6.5) GDAL module will not install with easy_install

2010-05-06 Thread Ari Jolma
Allen Rongone wrote: I have installed the setuptools 0.6c11 and am using easy_install My gdal-config is in /usr/bin, however, when I run easy_install GDAL it complains that it "Could not run gdal-config!!!" and then contiues on complaining about a bunch of stuff not being declared. T

[gdal-dev] Python (2.6.5) GDAL module will not install with easy_install

2010-05-06 Thread Allen Rongone
Hello All, New here so don't beat me up to bad. I'm trying to get the GDAL module to install on a Red Hat Enterprise Linux 5.4 64-bit workstation running Python 2.6.5. I have installed the setuptools 0.6c11 and am using easy_install My gdal-config is in /usr/bin, however,

Re: [gdal-dev] Driver registering in Python required?

2010-05-06 Thread Frank Warmerdam
K.-Michael Aye wrote: Dear all, is registering of drivers still (or at all) required in Python? In the API tutorial i see: import gdal from gdalconst import * dataset = gdal.Open( filename, GA_ReadOnly ) if dataset is None: ... I am just puzzled because the first sentence of the tutori

[gdal-dev] Driver registering in Python required?

2010-05-06 Thread K . -Michael Aye
Dear all, is registering of drivers still (or at all) required in Python? In the API tutorial i see: import gdal from gdalconst import * dataset = gdal.Open( filename, GA_ReadOnly ) if dataset is None: ... I am just puzzled because the first sentence of the tutorial states it's require

[gdal-dev] Re: KyngChaos Frameworks: GDAL's numpy vs Enthought's numpy

2010-05-06 Thread K . -Michael Aye
I didn't want to leave this uncommented. For some reason it works for me now, see below my protocol of trying out, I guess it's some deeper story within numpy. Here is my protocol, showing that EPD's python/matplotlib.pylab has no problem with numpy's 1.4.1 of GDAL 1.7 but for sure a problem w