[gdal-dev] Re: preserving alpha channel data with gdal_polygonize.py

2011-07-25 Thread jt2000
Thanks Jay, Ideally I would like the data to be in a column of the shapefile output so I can load it in the database and use it to query. With gdal_polygonize.py this doesn't seem possible so I was wondering what other options are out there. -- View this message in context: http://osgeo-org.180

[gdal-dev] preserving alpha channel data with gdal_transform.py

2011-07-25 Thread jt2000
I have a very large raster file with data in the alpha band. I need to vectorize it and associate band 4 data with resulting polygons. Is there anyway to preserve alpha channel data or get that data associated with vectorized file after using gdal_polygonize.py? -- View this message in context:

[gdal-dev] Re: gdal_translate -unscale option

2011-07-25 Thread jt2000
Frank, Does the unscale option work as advertised? I have a raster with offset and scale set. Driver: GTiff/GeoTIFF Files: raster.tif raster.tif.aux.xml Size is 10295, 7735 Coordinate System is: PROJCS["unnamed", GEOGCS["unnamed", DATUM["North_American_Datum_1983",

[gdal-dev] RE: GDAL unable to recognize large GRC file

2011-07-20 Thread jt2000
.nabble.com] Sent: Wednesday, July 20, 2011 11:11 PM To: jt2000 Subject: Re: GDAL unable to recognize large GRC file John, Can you provide me the failing file? You can send a link to me alone. On Thu, Jul 21, 2011 at 4:24 AM, jt2000 <[hidden email]> wrote: Yes, I'm able to open the

[gdal-dev] Re: GDAL unable to recognize large GRC file

2011-07-20 Thread jt2000
Yes, I'm able to open the raster file in mapinfo. Turning on the CPL_DEBUG env variable produces the following. It dosn't seem to help much. Are there any other methods I can debug this? The file is about 580MB. Is there a limitation on # of pixels? ERROR 4: `filename.grc' not recognised as a

[gdal-dev] pct2rgb.py errors out on large rasters with rgba option

2011-07-16 Thread jt2000
/usr/local/bin/pct2rgb.py -rgba raster.grc convert.tif *Traceback (most recent call last): File "/usr/local/bin/pct2rgb.py", line 167, in dst_data = Numeric.take(band_lookup,src_data) File "/usr/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 103, in take return take

[gdal-dev] GDAL unable to recognize large GRC file

2011-07-16 Thread jt2000
I have a large (>500MB) GRC file that is not being read by GDAL correctly. *[me@server data]$ gdalinfo filename.grc ERROR 4: `filename.grc' not recognised as a supported file format. gdalinfo failed - unable to open 'filename.grc'.* Is this due to the size? I have other 200MB files that work fi