Re: [gdal-dev] Burn 3d-lines from python

2015-08-12 Thread Simon Lyngby Kokkendorff
Hi Even, Thanks a lot for the explanation - will modify as needed! Yes, the behviour was a little surprising, as it is not present with e.g. 'ATTRIBUTE=' . Cheers, Simon On Wed, Aug 12, 2015 at 11:25 AM, Even Rouault wrote: > Le mardi 11 août 2015 11:36:32, Simon Lyngby Kokkendorff a écrit

Re: [gdal-dev] Burn 3d-lines from python

2015-08-12 Thread Even Rouault
Le mardi 11 août 2015 11:36:32, Simon Lyngby Kokkendorff a écrit : > Hello list, > > I'm trying to rasterize some 3d-lines programtically from python. Using > gdal 1.11.2 from the osgeo4w64 environment. Seems to work fine, except that > I get a z-offset of 255 (one byte) in my output raster. Wor

[gdal-dev] Burn 3d-lines from python

2015-08-11 Thread Simon Lyngby Kokkendorff
Hello list, I'm trying to rasterize some 3d-lines programtically from python. Using gdal 1.11.2 from the osgeo4w64 environment. Seems to work fine, except that I get a z-offset of 255 (one byte) in my output raster. Works fine if I use gdal_rasterize with the -3d option. The following python c