Re: [gdal-dev] gdal2tiles for 16bit data

2014-09-22 Thread David Strip
On 9/22/2014 2:18 PM, Jan Tosovsky wrote: > On 2014-09-21 David Strip wrote: >> Looking back at the code, the actual output file is created with >> this line: >> self.out_drv.CreateCopy(tilefilename, dstile, strict=0) > Hmm, I have no idea how to pass this info into CreateCopy: > http://www.gdal.o

Re: [gdal-dev] gdal2tiles for 16bit data

2014-09-22 Thread Jan Tosovsky
On 2014-09-21 David Strip wrote: > On 9/20/2014 9:02 AM, Jan Tosovsky wrote: > > > Adding an extra parameter seems to be fixing this: > > dstile = self.mem_drv.Create('', self.tilesize, self.tilesize, > > tilebands, gdal.GDT_UInt16) > > (applied to all 'mem_drv.Create' occurrences) > > > > But the

[gdal-dev] turn off Orthoimage layer for USGS topos

2014-09-22 Thread Liu, Jian
Hello list, I am just wondering if anybody has any experience with this- I want to convert USGS Topos to Geotiff using GDAL. My command below seems to work well in general: gdalwarp C:\JIANTestFolder\geo.pdf C:\JIANTestFolder\geo.tif -crop_to_cutline -cutline C:\JIANTestFolder\cutline.csv -ove