[gdal-dev] gdal2tiles - incorrect corner coordinates

2014-10-14 Thread Jan Tosovsky
Dear All, when producing GeoTiff tiles from large GeoTiff that contains Corner Coordinates: Upper Left ( 1558426.488, 6800200.793) ( 13d59'58.50"E, 52d 0' 1.50"N) Lower Left ( 1558426.488, 6446209.776) ( 13d59'58.50"E, 49d59'58.63"N) Upper Right ( 2003776.864, 6800200.793) ( 18d 0' 0.84"E, 52d 0

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

2014-09-29 Thread Jan Tosovsky
On 2014-09-23 David Strip wrote: > On 9/22/2014 2:18 PM, Jan Tosovsky wrote: > > On 2014-09-21 David Strip wrote: > > > > > > If this still doesn't fix it, the first thing to do is run gdalinfo > > > against one of the tiles and let us know the result. >

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 &

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

2014-09-20 Thread Jan Tosovsky
On 2014-09-20 David Strip wrote: > > On 9/20/2014 6:20 AM, Jan Tosovsky wrote: > > > > I am trying to produce GeoTiff tiles from my SRTM based GeoTiff: > > gdal2tiles.py -z 6-7 warped.tif D:\tiles-gdal > > > > The problem is that the final data is somehow c

[gdal-dev] gdal2tiles for 16bit data

2014-09-20 Thread Jan Tosovsky
Dear All, I am trying to produce GeoTiff tiles from my SRTM based GeoTiff: gdal2tiles.py -z 6-7 warped.tif D:\tiles-gdal The problem is that the final data is somehow converted from 16bit into 8bit so useless for intended further processing. In the script there are following lines responsible f