Re: [gdal-dev] gdal_translate -scale with PNG

2011-07-27 Thread Marius Jigmond
On 07/27/2011 04:16 PM, Stephen Mather wrote: Hi All, I'm using gdal_translate (version 1.6.3 on Ubuntu) with a scale factor to stretch float values to 16-bit integer values. It works fine with tif output, but with PNG it stretches the values to 8-bit: gdal_translate -of PNG -scale 0 15

[gdal-dev] gdal_translate -scale with PNG

2011-07-27 Thread Stephen Mather
Hi All, I'm using gdal_translate (version 1.6.3 on Ubuntu) with a scale factor to stretch float values to 16-bit integer values. It works fine with tif output, but with PNG it stretches the values to 8-bit: gdal_translate -of PNG -scale 0 1550 0 65535 N2140615.txt N2140615.png Is this a kno

[gdal-dev] OGR: OCI driver patch review

2011-07-27 Thread Nicolas Simon
Hello, Is it possible to get a developper with commit acces to review this thicket and patch provided ? http://trac.osgeo.org/gdal/ticket/4161 Thanks Nicolas ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

Re: [gdal-dev] create classified PNG from ASCIIGrid

2011-07-27 Thread Doug_Newcomb
Stephen, You can script the import, classification, and display with python in GRASS in a couple of ways. I generally just run python from the GRASS command window to echo the GRASS commands and variables I need, but there are other ways of doing it. Doug Doug Newcomb USFWS Raleigh,

Re: [gdal-dev] gdalbuilvrt segmentation fault

2011-07-27 Thread Even Rouault
Selon Marco nicoletti : Ok, I've tried with GDAL 1.8.0 and GDAL trunk and it doesn't crash. I haven't tried with 1.7.0, but it is likely that the bug has been fixed during 1.8 development. > Dear Even, > > > I sent you two sample dataset whom you can reproduce the error with. > > The command line