John, from a quick look at gdal_contour.cpp, I see it uses a float value for the contour interval, so unless there's some cast to integer at lower level in the contour generation code, it looks more like a limitation by GdalTools, and not in GDAL.
Indeed another quick look at https://trac.faunalia.it/GdalTools-plugin/browser/trunk/tools/ui_widgetContour.py shows the use of a QSpinBox. The QT doc specifies http://doc.trolltech.com/4.3/qspinbox.html : "QSpinBox is designed to handle integers and discrete sets of values (e.g., month names); use QDoubleSpinBox for floating point values" A text entry might be more appropriate. Anyway, you might want to address your request to the GdalTools author instead ;-) Best regards, Even Le Monday 01 February 2010 21:26:30 John C. Tull, vous avez écrit : > Hi all, > > I noticed that the contour tool in GdalTools only accepts integers for the > contour interval. Having this field accept float would be great for those > of us trying to manipulate contour outputs between various units. > > Cheers, > John_______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
