[gdal-dev] gdal_contour and nodata values

William Kyngesburye woklist at kyngchaos.com
Fri Dec 30 10:29:11 EST 2011


No takers?  Maybe a bug or feature request I need to add to the tracker?  Or fixed/changed in 1.9 already?

On Dec 21, 2011, at 6:43 PM, William Kyngesburye wrote:

> 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/

"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."

"Don't you even hate 'em?"

"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."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war

-------------- next part --------------
Skipped content of type multipart/related


More information about the gdal-dev mailing list