I cant get the script to work
if i run it on a srtm3 (.hgt) file i get an index out of range error
self.open_input()
File “C:\OSM\Cesium\gdal2srtmtiles-join\gdal2srtmtiles.py”, line 937, in open_
input
self.out_ds.SetMetadataItem(‘NODATA_VALUES’,‘%i %i %i’ % (self.in_nodata[0],
self.in_nodata[1],self.in_nodata[2]))
IndexError: list index out of range
if i run it on a tif file i get an file exists error
gdal2srtmtiles.py --cesium -p geodetic N61W008.tif c:\myterrain -z 12
C:\OSM\Cesium\gdal2srtmtiles-join>gdal2srtmtiles.py --cesium -p geodetic N61W008
.tif c:\mterrain -z 12
Generating Base Tiles:
Traceback (most recent call last):
File “C:\OSM\Cesium\gdal2srtmtiles-join\gdal2srtmtiles.py”, line 2593, in <mod
gdal2tiles.process()
File “C:\OSM\Cesium\gdal2srtmtiles-join\gdal2srtmtiles.py”, line 494, in proce
ss
self.generate_base_tiles()
File “C:\OSM\Cesium\gdal2srtmtiles-join\gdal2srtmtiles.py”, line 1552, in gene
rate_base_tiles
os.rename(tilefilename + ‘.new’, tilefilename)
WindowsError: [Error 183] En fil, som allerede findes, kan ikke oprettes