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

2011-10-24 Thread Chaitanya kumar CH
Graeme, gdalinfo -stats dtm.tif shows Min=1093360681.000 Max=3351465984.000 for the pixel values. That would mean you are asking for 225810530 levels; lots of tightly placed contours. I don't think Shapefile format can accommodate a vector datasource of that size. Based on the histogram, it's

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's

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 gra...@inetix.com.auwrote: 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

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 gra...@inetix.com.auwrote: 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 gra...@inetix.com.auwrote:

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 chaitanya...@gmail.comwrote: Graeme, Can you provide a small sample image for testing? On Mon, Oct 24, 2011 at 9:20 AM, Graeme Merrall

[gdal-dev] gdal_contour stuck in processing?

2011-10-12 Thread Graeme Merrall
I'm trying out gdal_contour just to see what falls out of it as an experiment. I've noticed it seems to get to 0.. e.g. 7% or so, and then seems to hang. I'm trying it on a relatively small DTM The cmdline is pretty simple gdal_contour -a ELEL -i 1.0 dtm_11072101.tif dtm-1m.shp and gdalinfo

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

2011-10-12 Thread Chaitanya kumar CH
Graeme, Can you try again with a much larger interval? On Thu, Oct 13, 2011 at 6:32 AM, Graeme Merrall gra...@inetix.com.auwrote: I'm trying out gdal_contour just to see what falls out of it as an experiment. I've noticed it seems to get to 0.. e.g. 7% or so, and then seems to hang. I'm