Re: [gdal-dev] gdal_contour stuck in processing?

2011-10-23 Thread Graeme Merrall
You can download it from http://dl.dropbox.com/u/5657619/dtm.tif Only 9.6Mb Cheers, Graeme On Mon, Oct 24, 2011 at 3:02 PM, Chaitanya kumar CH wrote: > Graeme, > > Can you provide a small sample image for testing? > > > On Mon, Oct 24, 2011 at 9:20 AM, Graeme Merrall wrote: > >> Correction, th

Re: [gdal-dev] gdal_contour stuck in processing?

2011-10-23 Thread Chaitanya kumar CH
Graeme, Can you provide a small sample image for testing? On Mon, Oct 24, 2011 at 9:20 AM, Graeme Merrall wrote: > Correction, the cmdline was "gdal_contour -a ELEL -i 10.0 dtm.tif > dtm-10m.shp" > > > > On Mon, Oct 24, 2011 at 1:58 PM, Graeme Merrall wrote: > >> Apologies for the delay in reply

Re: [gdal-dev] gdal_contour stuck in processing?

2011-10-23 Thread Graeme Merrall
Correction, the cmdline was "gdal_contour -a ELEL -i 10.0 dtm.tif dtm-10m.shp" On Mon, Oct 24, 2011 at 1:58 PM, Graeme Merrall wrote: > Apologies for the delay in replying. > > I ran the same command with 10m spacing "gdal_contour -a ELEL -i 1.0 > dtm.tif dtm-10m.shp" and the same issue occurred

Re: [gdal-dev] gdal_contour stuck in processing?

2011-10-23 Thread Graeme Merrall
Apologies for the delay in replying. I ran the same command with 10m spacing "gdal_contour -a ELEL -i 1.0 dtm.tif dtm-10m.shp" and the same issue occurred. I also ran the DTM through gdal_translate to add projection info just in case. Note this is gdal_1.8.1 running on Ubuntu Lucid not from deb'

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

2011-10-23 Thread Brian Case
Joolek, gdal_translate cannot look at 3 bands at a time, -scale 0 255 1 254 will scale each band separately, therefore 0 255 0 would become 1 254 1. At one point I thought perhaps you were trying to get rid of a border, but now I don't think thats the issue. Brian On Sun, 2011-10-23 at 11:53

Re: [gdal-dev] Wiki page about CMake for GDAL

2011-10-23 Thread Mateusz Łoskot
On 23 October 2011 04:21, Ivan Lucena wrote: > Hi Mateusz, > > Just a thought, > > Since GDAL is used in some large software projects, it could be helpful to > explain how cmake could help, > and not hurt, the integration of GDAL building process into their existing > building process. > Folks n

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

2011-10-23 Thread Joaquim Luis
Etienne, 1) Manage to attach the file (zipped) to the just opened ticket. 2) Unfortunately it doesn't work. It says the usual C:\SVN\mironeWC>gdalinfo "NETCDF:S1998031140424.L2_MLAC_OC.x.hdf:longitude" ERROR 4: `NETCDF:S1998031140424.L2_MLAC_OC.x.hdf

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

2011-10-23 Thread joolek
Hmm... So what the following does : gdal_translate -scale 0 254 0 255 Thank you J 23 Oct 2011, at 19:20, "Jay L. [via OSGeo.org]" wrote: > I do not believe that a GDAL command line tool to perform that function > exists. The task is achievable using GDAL and Numpy masked arrays in python

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

2011-10-23 Thread Jay L.
I do not believe that a GDAL command line tool to perform that function exists. The task is achievable using GDAL and Numpy masked arrays in python. Perhaps someone else knows of a GDAL tool to perform this functionality though. J On Sun, Oct 23, 2011 at 12:59 PM, joolek wrote: > Hi > I need

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

2011-10-23 Thread joolek
Hi I need to convert all the 255 255 255 into 254 254 254. Is this possible? PS. Do appologize for lack of my language. Thanks J On 23 Oct 2011, at 15:26, "Jay L. [via OSGeo.org]" wrote: > Or are you trying to convert only some of the pixels to white? > > On Sun, Oct 23, 2011 at 10:02 AM, Br

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

2011-10-23 Thread Jay L.
Or are you trying to convert only some of the pixels to white? On Sun, Oct 23, 2011 at 10:02 AM, Brian Case wrote: > joolek, > > I noticed you used the word "strip". Are you trying to remove portions > of the image that are all black or white? > > > On Sun, 2011-10-23 at 03:01 -0700, joolek wrot

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

2011-10-23 Thread Brian Case
joolek, I noticed you used the word "strip". Are you trying to remove portions of the image that are all black or white? On Sun, 2011-10-23 at 03:01 -0700, joolek wrote: > Basically - I have an imagery with RGB 0-255, but I would like to strip it to > 1-254. > So i want to get rid off two extrem

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

2011-10-23 Thread Antonio Valentino
Hi Mateusz, hi Julien, hi Etienne, Il 23/10/2011 02:41, Mateusz Łoskot ha scritto: > 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 reposito

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

2011-10-23 Thread joolek
Basically - I have an imagery with RGB 0-255, but I would like to strip it to 1-254. So i want to get rid off two extremes (0 and 255) - is this possible? Thank you J -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-question-from-an-amateur-tp6921127p6921730.

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

2011-10-23 Thread joolek
Hi me again..., Would it be actually possible to convert all the 255 255 255 into 254 254 254? Is this is the command to do so: gdal_translate -scale 0 254 0 255 Thank you in advance for your time, J -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Gdal-translate-quest