[gdal-dev] gdal_contour stuck in processing?

Graeme Merrall graeme at inetix.com.au
Wed Oct 12 21:02:11 EDT 2011


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 gives the following info  about the image
Driver: GTiff/GeoTIFF
Files: dtm_11072101.tif
      dtm_11072101.tfw
Size is 1000, 2500
Coordinate System is `'
Origin = (488000.000000000000000,7198000.000000000000000)
Pixel Size = (2.000000000000000,-2.000000000000000)
Metadata:
 TIFFTAG_XRESOLUTION=200
 TIFFTAG_YRESOLUTION=200
 TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)
Image Structure Metadata:
 INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  488000.000, 7198000.000)
Lower Left  (  488000.000, 7193000.000)
Upper Right (  490000.000, 7198000.000)
Lower Right (  490000.000, 7193000.000)
Center      (  489000.000, 7195500.000)
Band 1 Block=1000x2 Type=UInt32, ColorInterp=Gray

I admit I'm at a loss as to how to proceed/troubleshoot so any
pointers gratefully received. I tried popping it through
gdal_translate to add a projection but it seems to have the same issue

Cheers,
 Graeme


More information about the gdal-dev mailing list