Re: [gdal-dev] Converting from 16 bit to 8 bit images (best practices?)

2011-06-09 Thread Brian Case
Nikos 143, and 721 Brian On Thu, 2011-06-09 at 16:49 -0700, Nikolaos Hatzopoulos wrote: > for modis truecolor images? > > --Nikos > > On Thu, Jun 9, 2011 at 4:44 PM, Brian Case wrote: > Jonathan > > I don't know about worldview, but with modis I wound up using >

Re: [gdal-dev] Converting from 16 bit to 8 bit images (best practices?)

2011-06-09 Thread Nikolaos Hatzopoulos
for modis truecolor images? --Nikos On Thu, Jun 9, 2011 at 4:44 PM, Brian Case wrote: > Jonathan > > I don't know about worldview, but with modis I wound up using multiple > ranges > > 0:0,750:110,1500:160,3000:210,4750:240,6375:255 > > see in the vrt tutorial > > Brian > > > > > > > On Thu,

Re: [gdal-dev] Converting from 16 bit to 8 bit images (best practices?)

2011-06-09 Thread Brian Case
Jonathan I don't know about worldview, but with modis I wound up using multiple ranges 0:0,750:110,1500:160,3000:210,4750:240,6375:255 see in the vrt tutorial Brian On Thu, 2011-06-09 at 12:39 -0700, Jonathan Greenberg wrote: > Brian: > > > Thanks! Great solution, definitely saved me

Re: [gdal-dev] Converting from 16 bit to 8 bit images (best practices?)

2011-06-09 Thread Jonathan Greenberg
Brian: Thanks! Great solution, definitely saved me some time. The main issue (in terms of doing this entirely within GDAL) is getting the right scaling to make the image look good. I was able to figure out the correct scale range within ENVI, and then apply the scales as you suggested below. N

[gdal-dev] Ask for performance tips

2011-06-09 Thread Alexandre Gacon
Hi, I am using GDAL/OGR to find the links under a set of towns, on the whole France territory. My links and my towns are stored on a Postgis database. For the moment I use the most precise request I can: - I make a union of all the polygons of the towns I am interested in - I send a request wit

Re: [gdal-dev] Encoding (FGDB)

2011-06-09 Thread Paul Ramsey
Awesome, exactly what I hoped! Thanks Frank. P On Thu, Jun 9, 2011 at 11:26 AM, Frank Warmerdam wrote: > On 11-06-09 10:33 AM, Paul Ramsey wrote: >> >> So, the FGDB API works with (mostly) UTF16-encoded wide characters >> (wstring). >> >> What is the GDAL internal standard for string encoding? Lo

Re: [gdal-dev] Encoding (FGDB)

2011-06-09 Thread Frank Warmerdam
On 11-06-09 10:33 AM, Paul Ramsey wrote: So, the FGDB API works with (mostly) UTF16-encoded wide characters (wstring). What is the GDAL internal standard for string encoding? Looks like (from the OLCStringsAsUTF8 capability) there is at least a loose standard that is looking for UTF8 narrow char

Re: [gdal-dev] installing ogrsf_frmts include files

2011-06-09 Thread Stephen Woodbridge
On 6/9/2011 9:53 AM, Frank Warmerdam wrote: On 11-06-08 05:19 PM, Stephen Woodbridge wrote: Hi Frank et al, Is there a way to install the ogrsf_frmts include files short of just manually copy the files. OpenGraphRouter is using some of these in C++ to create geometries. Specifically: ogrsf_frm

Re: [gdal-dev] Encoding (FGDB)

2011-06-09 Thread Mateusz Loskot
On 09/06/11 15:33, Paul Ramsey wrote: UTF16-encoded wide characters (wstring). Type of element of std::wstring is wchar_t. Size of wchar_t is implementation defined, usually 2 or 4 bytes. Thus, wstring does not guarantee UTF-16. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charte

[gdal-dev] Encoding (FGDB)

2011-06-09 Thread Paul Ramsey
So, the FGDB API works with (mostly) UTF16-encoded wide characters (wstring). What is the GDAL internal standard for string encoding? Looks like (from the OLCStringsAsUTF8 capability) there is at least a loose standard that is looking for UTF8 narrow characters. Are there any existing utilities fo

Re: [gdal-dev] installing ogrsf_frmts include files

2011-06-09 Thread Frank Warmerdam
On 11-06-08 05:19 PM, Stephen Woodbridge wrote: Hi Frank et al, Is there a way to install the ogrsf_frmts include files short of just manually copy the files. OpenGraphRouter is using some of these in C++ to create geometries. Specifically: ogrsf_frmts/shape/shapefil.h ogrsf_frmts/kml/ogr_kml.h

Re: [gdal-dev] Combine tiles

2011-06-09 Thread Jorge Arévalo
2011/6/9 Chaitanya kumar CH : > Jorge, > > You will need a script that merges individual tiles that are on the common > border of the original TIFFs. Executing gdal2tiles on the whole 'puzzle' > will save you the time to write the script. > Yes, but I wanted to know if that scripts exists, to avoi

Re: [gdal-dev] Combine tiles

2011-06-09 Thread Chaitanya kumar CH
Jorge, You will need a script that merges individual tiles that are on the common border of the original TIFFs. Executing gdal2tiles on the whole 'puzzle' will save you the time to write the script. 2011/6/9 Jorge Arévalo > Hello, > > I've executed gdal2tiles against 2 raster coverages: > > - O

[gdal-dev] Combine tiles

2011-06-09 Thread Jorge Arévalo
Hello, I've executed gdal2tiles against 2 raster coverages: - One big raster coverage, composed by several TIFF files. Example of tile: http://dl.dropbox.com/u/6599273/319.png - One single TIFF file, geographically placed inside the coverage above, but that wasn't procesed in the previous step. E

Re: [gdal-dev] HDF5 COSMO-SKYMED metadata problems

2011-06-09 Thread Antonio Valentino
Hi Alex, sorry for not responding before but I was a little busy yesterday. Also a big thank you to Frank for updating the HDF5 driver. Il giorno Wed, 8 Jun 2011 18:23:59 -0300 Alex Mantaut ha scritto: > Sorry, I accidentalñy pressed the "send" button > > Another issue. Does anybody has the CO