Re: [gdal-dev] gdalwarp: ERROR 2: Out of memory allocating {number} byte destination buffer.

2011-06-08 Thread Benjamin Welton
Hey Matt, If i remember correctly osgeo4w is 32bit (its been a while since iv looked at the osgeo4w binaries however so i may be incorrect). If they are 32bit and you are setting -wm to 2048 (2GB) you might be having memory limitation issues (which i believe 2GB virtual memory for x86 exe

Re: [gdal-dev] Reading MXD files

2010-09-05 Thread Benjamin Welton
ailable ArcGIS components. >>> import win32com.client >>> arcobj = win32com.client.Dipath("< What should goes here ? >") It is only a wild guess, I am not even running Windows now to do a quick test, but I hope it would help you. Ivan Benjamin Welton wrote: Can you d

Re: [gdal-dev] Reading MXD files

2010-09-04 Thread Benjamin Welton
Can you do that with ArcGIS 9.3? i was under the impression from the doc's/forums that it's only available in the arcpy package in 10. Ben On 9/4/2010 5:44 PM, Paolo Corti wrote: Im wondering if there is any way to read MXD files in ether gdal or some other python based extension. I'm n

[gdal-dev] Reading MXD files

2010-09-04 Thread Benjamin Welton
Hey All, Im wondering if there is any way to read MXD files in ether gdal or some other python based extension. I'm not looking for the raster data for the files only the filename/SDE name of the layer and the name of the layer in the MXD file. Is there any easy way to pull this informat

Re: [gdal-dev] Setting ENVI .hdr band names

2010-04-02 Thread Benjamin Welton
my code to see if it works in the next day or so. Thanks for the response, Ben Frank Warmerdam wrote: Benjamin Welton wrote: Hey all, Im wondering if its possible to set the band names that appear in the ENVI header file instead of having the default band 1, band 2, (which looks ki

[gdal-dev] Setting ENVI .hdr band names

2010-03-31 Thread Benjamin Welton
Hey all, Im wondering if its possible to set the band names that appear in the ENVI header file instead of having the default band 1, band 2, (which looks kinda messy) Thanks Ben ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

[gdal-dev] Reading a single pixel from multiple bands at the same time in python

2010-02-23 Thread Benjamin Welton
Hey, Iv got a question on whether or not its possible to read a single pixel value from multiple bands using one GDAL call in python? The file working with is an ENVI BIP file that has a large number of bands (around 1000) and im looking for a way to reduce the python overhead by only maki

Re: [gdal-dev] Fwd: configuring gdal to support hdf

2009-06-21 Thread Benjamin Welton
When doing ./configure are you adding the proper flag for the hdf version you plan to use (--with-hdf4 and --with-hdf5)? Also have you tried setting the locations of the library's by doing --with-hdf4=? Ben Mateusz Loskot wrote: Olivier Pilotte wrote: I'm unable to configure gdal to supp

[gdal-dev] Need help converting a geotiff file to jpg/tiff/bmp

2008-11-26 Thread Benjamin Welton
Hello everyone, Im quite new to using GDAL and what i would like to do is convert a geotiff file to a standard jpeg/tiff/bmp image file so that it can be viewed by any standard image reading software (ideally i would like to be able to display said image using wxPython) . Every time i try to