Is gdal_contour supposed to do this?

I have a DEM projected from a latlong area to a conic with -dstalpha, so there are triangles of nodata around the edges.  When I run gdal_contour with intervals, I get a ring of contours around the edge of the nodata area starting from the first interval above 0 to the minimum elevation of the DEM, plus more segments along the edge for higher levels that extend to the edge:


Shouldn't gdal_contour just create contours that *stop* at nodata edges?  Like if I had created contours from the original latlong rectangle:


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan





_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to