<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">No takers? Maybe a bug or feature request I need to add to the tracker? Or fixed/changed in 1.9 already?<div><br>On Dec 21, 2011, at 6:43 PM, William Kyngesburye wrote:<br><br><blockquote type="cite">Is gdal_contour supposed to do this?<br><br>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:<br><br></blockquote><blockquote type="cite"><img id="a3bc0a7a-811a-4d59-a7be-4480f2948031" height="52" width="150" apple-width="yes" apple-height="yes" src="cid:867F7334-FAD9-4C3B-B33A-C7A8E0829D60"></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Shouldn't gdal_contour just create contours that *stop* at nodata edges? Like if I had created contours from the original latlong rectangle:<br><br></blockquote><blockquote type="cite"><img id="5d069419-ccf4-443b-9188-c51bb2de7775" height="52" width="150" apple-width="yes" apple-height="yes" src="cid:1102D1A5-1FB4-4861-8D40-9E611BA25C27"></blockquote><div><br><div>-----<br>William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br><a href="http://www.kyngchaos.com/">http://www.kyngchaos.com/</a><br><br>"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."<br><br>"Don't you even hate 'em?"<br><br>"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."<br><br><Ha, ha> "And it might give 'em all stomach ulcers."<br><br>- Tarzan, on war<br></div><br></div></div></body></html>