[gdal-dev] Re: Gdal_translate, question from an amateur.

2011-10-22 Thread joolek
Hi Yes - I need to convert all the pixels into white. Is this possible? Thank you J On 23 Oct 2011, at 02:57, "Jay L. [via OSGeo.org]" wrote: > I'm not sure I fully understand the question. Are you attempting to convert > all pixels with RGB value 72, 255, 25 to white? Or are you trying to s

Re: [gdal-dev] Gdal_translate, question from an amateur.

2011-10-22 Thread Jay L.
I'm not sure I fully understand the question. Are you attempting to convert all pixels with RGB value 72, 255, 25 to white? Or are you trying to scale the image to 8-bit? Sounds like the former. In this case -scale is not the way to go. I'm honestly not sure what is, short of reading each band

[gdal-dev] Wiki page about CMake for GDAL

2011-10-22 Thread Mateusz Łoskot
Folks I have started brainstorming the CMake for GDAL idea on Wiki: http://trac.osgeo.org/gdal/wiki/CMake Feel free to add your ideas, wishes, proposals, questions, etc. Try to keep it clear and structured if possible. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member o

Re: [gdal-dev] New mloskot-github-gdal-20111018.7z

2011-10-22 Thread Mateusz Łoskot
2011/10/22 Mateusz Łoskot : > 2011/10/21 Mateusz Łoskot : >> On 21 October 2011 07:54, Antonio Valentino >> wrote: >>> It seems that the svn2git [1] tool (based on git-svn) is able to import >>> svn repositories with branches in a proper way. >>> I never used it an I don't know if it allows to pus

[gdal-dev] Gdal_translate, question from an amateur.

2011-10-22 Thread joolek
Hi all, I need your expertise... I've got number of TIFF's and ECW's with RGB (72,255,25) that I would like to convert to 255,255,255. How should the command looks like?.. gdal_translate -scale (not sure about this) Thank you guys!!, appreciate any help. J -- View this message in context: htt

Re: [gdal-dev] subdatasets not read in a HDF file

2011-10-22 Thread Etienne Tourigny
1) Not sure, but give it a try! If not, put it somewhere accessible on the web. You should definitively create a ticket for this. 2) netcdf supports HDF4 if it was configured for hdf4 support. In that case, to force the netcdf driver you would have to use "NETCDF:filename:subdataset", or else th

Re: [gdal-dev] Creating JPEGs with gdal2tiles using 4-band GeoTIFFs (RGB+NIR)

2011-10-22 Thread Josh Doe
On Sat, Oct 22, 2011 at 3:09 AM, Even Rouault wrote: > Le samedi 22 octobre 2011 06:22:04, Josh Doe a écrit : >> Hello, >> I've gotten 4-band imagery from USGS for Virginia, and it's stored in >> GeoTIFF format. The bands are R, G, B, and NIR. I tried running >> gdal2tiles directly on one of these

[gdal-dev] Re: ogr2ogr different behaviour on different OS platforms (Windows 7 vs XP)

2011-10-22 Thread hda...@gmail.com
Hi, Thanks, yes the warning was my fault, missing -nln option. The creation table error happens intermittently, could potentially caused by wrapping ogr2org execution from a C# thread. Any pointers/advices on how to make this call more reliable are much appreciated. Thanks - H On Fri, Oct 21,

Re: [gdal-dev] New mloskot-github-gdal-20111018.7z

2011-10-22 Thread Mateusz Łoskot
2011/10/21 Mateusz Łoskot : > On 21 October 2011 07:54, Antonio Valentino > wrote: >> It seems that the svn2git [1] tool (based on git-svn) is able to import >> svn repositories with branches in a proper way. >> I never used it an I don't know if it allows to push changes back to >> svn. >> Anyway

[gdal-dev] subdatasets not read in a HDF file

2011-10-22 Thread Joaquim Luis
Hi, I'm having troubles reading a SeaWifs L2 hdf file due to a bug in the hdf driver. The problem here is that not all Subdatasets are read. Below is the list givem by gdalinfo, which lacks 2 subdatasets: the cntl_pt_cols & cntl_pt_rows To prove I attach a

Re: [gdal-dev] Creating JPEGs with gdal2tiles using 4-band GeoTIFFs (RGB+NIR)

2011-10-22 Thread Even Rouault
Le samedi 22 octobre 2011 06:22:04, Josh Doe a écrit : > Hello, > I've gotten 4-band imagery from USGS for Virginia, and it's stored in > GeoTIFF format. The bands are R, G, B, and NIR. I tried running > gdal2tiles directly on one of these files, and got a bad result, since > it interpreted the NIR