Another alternative is GINA's
(http://www.gina.alaska.edu/projects/gina-tools/) gdal_contrast_stretch:
Usage: gdal_contrast_stretch.exe
{ { -linear-stretch } |
{ -percentile-range } |
{ -histeq } }
[ -ndv ]
Input must be either 8-bit or 16-bit. Output is 8-bit.
I think the
weixj,
You can use the -projwin option of gdal_translate utility.
http://www.gdal.org/gdal_translate.html
2012/4/24 weixj
> I have a tiff file and four points' coordination(and they are in the range
> of the min and max value of the coordination of the tiff file,I want to
> generate a new tiff
I have a tiff file and four points' coordination(and they are in the range of
the min and max value of the coordination of the tiff file,I want to generate a
new tiff file,and the edge of it is constructed by the four points.
Thank you in advance.___
Selon jr.morre...@enoreth.net:
> On Tue, 24 Apr 2012 09:38:44 +0200, Even Rouault wrote:
> >>
> >> thanks for the reply, I did try with NBITS=8 and 12 with osgeo4w's
> >> gdal
> >> and tamas' nightly build but the output results are incorrect
> >>
> >> Here is a sample file (93Mo) :
> >> http://dl
On Tue, 24 Apr 2012 09:38:44 +0200, Even Rouault wrote:
thanks for the reply, I did try with NBITS=8 and 12 with osgeo4w's
gdal
and tamas' nightly build but the output results are incorrect
Here is a sample file (93Mo) :
http://dl.free.fr/iFT4hH3Yj
I'll try to rebuild gdal on my linux box wi
>
> thanks for the reply, I did try with NBITS=8 and 12 with osgeo4w's gdal
> and tamas' nightly build but the output results are incorrect
>
> Here is a sample file (93Mo) :
> http://dl.free.fr/iFT4hH3Yj
>
> I'll try to rebuild gdal on my linux box with the internal libs
I haven't looked at your
Selon William Kyngesburye :
> As I worked on a test case and fiddled around with a few other ideas, I think
> I found the error of my ways.
>
> The computer I was doing the conversion from vrt to PostGIS has GDAL 1.8. In
> my test case, GDAL 1.9 correctly preserves the FIDs. Was -preserve_fid
>