Re: [gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

2012-07-13 Thread Saâd HESSANE
Hi, To build GDAL it's easy. Visual Studio have to be installed in the system. You download the source code. The easiest way to do that is to download it from http://trac.osgeo.org/gdal/wiki/DownloadSource. (Or if you have SVN you can just do a checkout from https://svn.osgeo.org/gdal/trunk/gdal.

Re: [gdal-dev] Build overviews and tile index

2012-07-12 Thread Saâd HESSANE
Thank's Even. 2012/7/12 Even Rouault > Selon Saād HESSANE : > > > Hi list, > > > > I'm workig on a Mapserver/GDAL application, and I have to setup the > > datasource (create tileindex and overviews) to boost the performance. > > > > I have two question : > > > >1. Can I store overviews in a

[gdal-dev] Build overviews and tile index

2012-07-12 Thread Saâd HESSANE
Hi list, I'm workig on a Mapserver/GDAL application, and I have to setup the datasource (create tileindex and overviews) to boost the performance. I have two question : 1. Can I store overviews in a different path than the original raster path? The original path can be in a read only folde

Re: [gdal-dev] VRTComplexSource with a LUT, proposal

2012-05-20 Thread Saâd HESSANE
dal 2.0 release? Cheers. 2012/5/20 Even Rouault > Le dimanche 20 mai 2012 16:07:07, Saâd HESSANE a écrit : > > Hi Even, > > > > The main goal of this proposal is to built using "gdalbuildvrt" VRT files > > containing LUT or filters. > > > >

Re: [gdal-dev] VRTComplexSource with a LUT, proposal

2012-05-20 Thread Saâd HESSANE
As I said, I also propose to have the -filter parameter that write vrt with the VRTKernelFilteredSource class. Best regards. 2012/5/20 Saâd HESSANE > Hi Even, > > The main goal of this proposal is to built using "gdalbuildvrt" VRT files > containing LUT or filters. >

Re: [gdal-dev] VRTComplexSource with a LUT, proposal

2012-05-20 Thread Saâd HESSANE
t test.tif We can discuss the fact that define two parameters (-lutin and -lutout) or just one parameter (-lut "0,4 1,5 2,6"). This is not a problem. 2012/5/19 Even Rouault > Le samedi 19 mai 2012 18:58:05, Saâd HESSANE a écrit : > > Hi Even and thank you for the quick r

Re: [gdal-dev] VRTComplexSource with a LUT, proposal

2012-05-19 Thread Saâd HESSANE
. But the API offers a setKernel that do exactly the same think that I hope the setLUT method do in the VRTComplexSource. Best regards 2012/5/19 Even Rouault > Le samedi 19 mai 2012 16:58:07, Saâd HESSANE a écrit : > > Hi, > > > > In wanting to add programmatically a LUT t

[gdal-dev] VRTComplexSource with a LUT, proposal

2012-05-19 Thread Saâd HESSANE
Hi, In wanting to add programmatically a LUT to a VRTComplexSource, I read the VRT driver source code. VRTComplexSource have three public attributes : *double *padfLUTInputs*, *double *padfLUTOutputs* and *int nLUTItemCount.* * * To set the LUT we have to affect directly two pointers and set the n

Re: [gdal-dev] How create a simplified raster from an uge raster dataset

2012-04-30 Thread Saâd HESSANE
Hi, Try build a tileindex : http://www.gdal.org/gdaltindex.html It's really useful with big tiled dataset. Best regards. 2012/4/30 Andrea Peri > Hi, > I have a huge set of tiffs rasters. > Any single tiff is a geotiff tiled (256x256) and as an internal overview. > > To can use this raster dat

[gdal-dev] Building minimalist gdal on Windows x64

2012-04-29 Thread Saâd HESSANE
Hi list, I would like to compile gdal 1.9 with minimalist driver list (I need just VRT and GeoTIFF with LZW compression support). I think the only dependance in this case is the proj4 library (linked dynamicly). There is a simple way to do it like Linux autoconf : --without-gif --without-png ... ?

Re: [gdal-dev] Apply filter on VRT

2012-04-15 Thread Saâd HESSANE
616 > > > On Fri, Apr 13, 2012 at 5:39 PM, Saâd HESSANE wrote: > >> Hy list, >> >> Has anyone reproduce the bug? >> >> Thank you. >> >> >> >> >> 2012/4/12 Saâd HESSANE >> >>> Yes of course : >>> >&

Re: [gdal-dev] Apply filter on VRT

2012-04-13 Thread Saâd HESSANE
Hy list, Has anyone reproduce the bug? Thank you. 2012/4/12 Saâd HESSANE > Yes of course : > >> >> ... >> ... >> >> 0 >> Gray >> >> 1.tif >> 1 >> > DataType="

Re: [gdal-dev] Apply filter on VRT

2012-04-12 Thread Saâd HESSANE
m has encountered an error and have to be close (the error is in frensh sorry for my bad english...). I'm using gdal 1.9 x64 onto Win 7 x64. 2012/4/12 Chaitanya kumar CH > Saâd, > > Can you provide the vrt file causing the crash? Also, please show me the > error messages

Re: [gdal-dev] Apply filter on VRT

2012-04-12 Thread Saâd HESSANE
should be a Kernel element in a KernelFilteredSource. > FYI, all the pixels whose kernel has a nodata pixel will be reported as a > nodata pixel. > > On Wed, Apr 11, 2012 at 3:20 PM, Saâd HESSANE wrote: > >> Hy all, >> >> I have a VRT file generated with buildvrt u

[gdal-dev] Apply filter on VRT

2012-04-11 Thread Saâd HESSANE
Hy all, I have a VRT file generated with buildvrt utility : > ... > ... > > 0 > Gray > > 1.tif > 1 >DataType="UInt16" BlockXSize="8449" BlockYSize="1" /> > > > 0 > > > 2.tif > 1 >DataType="UInt16" BlockXSiz

Re: [gdal-dev] requesting tiles according to my dteds data c++

2012-04-10 Thread Saâd HESSANE
DTED files are really simple to undertand. A DTED CD-ROM is organized like this : - *dted (folder)* - *D### (folder)* - H##.dt# (file) - H##.dt# (file) - ...* * - *D### (folder)* - *... * - *gazette (folder) * - *text (folder)

Fwd: [gdal-dev] Most optimal way of using tiles ?

2012-04-02 Thread Saâd HESSANE
-- Forwarded message -- From: Saâd HESSANE Date: Mon, 2 Apr 2012 15:56:27 +0200 Subject: Re: [gdal-dev] Most optimal way of using tiles ? To: Oyvind Idland Hy, you can use "gdaladdo --config COMPRESS_OVERVIEW [DEFLATE | JPEG]" to create compressed overview. And then y

Re: [gdal-dev] Precision about scale/offset element in VRT file

2012-03-24 Thread Saâd HESSANE
Thank you all ! 2012/3/23 Frank Warmerdam > On Fri, Mar 23, 2012 at 10:29 AM, Chaitanya kumar CH > wrote: > > Output pixel value = (raw pixel value * scale) + offset > > Exactly. > > The reason for scale and offset to exist is that "real world" measures > like elevation, temperature, pressure a

Re: [gdal-dev] Precision about scale/offset element in VRT file

2012-03-23 Thread Saâd HESSANE
o perform the same task but it is done only > on that particular ComplexSource. > > On Fri, Mar 23, 2012 at 3:43 PM, Saâd HESSANE wrote: > >> Hy all, >> >> The vrt format allow defining the scale and offset element. But the >> documentation is not clear about that

[gdal-dev] Precision about scale/offset element in VRT file

2012-03-23 Thread Saâd HESSANE
Hy all, The vrt format allow defining the scale and offset element. But the documentation is not clear about that : - *Offset*: This optional element contains the offset that should be applied when computing "real" pixel values from scaled pixel values on a raster band. The default is 0.

Re: [gdal-dev] Contrast, Brightness and Gamma

2012-03-22 Thread Saâd HESSANE
e as LUT, use some other graphics application that can handle > 16bit rasters. > > > On Wed, Mar 21, 2012 at 6:00 AM, Saâd HESSANE wrote: > >> Thank's all for your answers. >> I will use the LUT method, cause is the most right for me. >> >> Chaitanya said : &qu

Re: [gdal-dev] Contrast, Brightness and Gamma

2012-03-22 Thread Saâd HESSANE
e greatest value the data type of the > raster band can hold. That would be 255, 65535 and 4294967295 for 8bit, > 16bit and 32bit raster bands. > > The VRT driver calculates the intermediate values. The result here would > be similar to using the scale ratio and offset parameters. >

Re: [gdal-dev] Contrast, Brightness and Gamma

2012-03-20 Thread Saâd HESSANE
gt; output8bit.tif > > Best Regards, > Brent Fraser > > > On 3/20/2012 9:55 AM, Saâd HESSANE wrote: > > Hi list, > > I use gdal_translate to convert 16bits images to 8bits images. The > gdal_translate have the -scale argument to specify the convertion range > (sour

[gdal-dev] Contrast, Brightness and Gamma

2012-03-20 Thread Saâd HESSANE
Hi list, I use gdal_translate to convert 16bits images to 8bits images. The gdal_translate have the -scale argument to specify the convertion range (source->destination). If I change the destination range (dst_min and dst_max), I can do manually a brightness correction (also a contrast correction)

Re: [gdal-dev] image quality with pyramids (with gdal_retile)

2011-03-15 Thread Mohamed Saâd HESSANE
I never use gdal_retile, but i use gdaladdo. It's perfect and there's no qualtity degradation. gdaladdo create one tiff (or other format if you want) overview, containing different level. Syntax : gdaladdo -ro filename 2 4 8 16 32 http://www.gdal.org/gdaladdo.html 2011/3/15 Devrim Baris Acar >

Re: [gdal-dev] [OGR]Add a vertex to a feature

2011-03-11 Thread Mohamed Saâd HESSANE
Thank's for your suggestion. I test the OGRLayer::SetFeature() method, but it don't write the file after that. I think the reason is what say Chaitanya (thank you) about the driver which don't write until the handle is closed. I think the best way is to write a CSV/VRT file. I'm trying now. 2011/

[gdal-dev] [OGR]Add a vertex to a feature

2011-03-11 Thread Mohamed Saâd HESSANE
Hy list, I' m trying to add on the fly points comming from GPS to a shapefile. But the only way i find is to delete the feature from the shapefille, and create a new feature with the added point. There's another way? Thank you ___ gdal-dev mailing list gd