Closed GoogleCodeExporter closed 9 years ago
I encountered the same issue while processing SRTM DEM Tiles.
During that, I learned that this occurs only for some particular files. Most
files work fine.
The files can be downloaded here:
http://srtm.csi.cgiar.org/SELECTION/inputCoord.asp
Download srtm_01_02.zip to reproduce the error.
http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_01_02.zip
Or Download srtm_48_02.zip for a working example.
http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_48_02.zip
What version of the product are you using?
tiler-tools 3.0
What was the operating system?
Sabayon Linux amd64 14.01
GDAL 1.10
Python 2.7
PIL - latest.
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/home/jolloux/lab/color_encode_dem/tools/tiler-tools/gdal_tiler.py", line 180, in <module>
main(sys.argv)
File "/home/jolloux/lab/color_encode_dem/tools/tiler-tools/gdal_tiler.py", line 173, in main
parallel_map(process_src, flatten(res))
File "/home/jolloux/lab/color_encode_dem/tools/tiler-tools/tiler_functions.py", line 101, in parallel_map
res = mp_pool.map(func, iterable)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
raise self._value
RuntimeError: Failed to lookup UOM CODE 0
Original comment by oslo.s...@gmail.com
on 31 Dec 2013 at 5:37
[deleted comment]
It seems to be due to a regression in tiler_global_mercator.py. The quick fix
is attached.
Original comment by vadp.d...@gmail.com
on 11 Feb 2014 at 3:31
Attachments:
The fix was implemented at tag 3.0.1
Original comment by vadp.d...@gmail.com
on 16 Feb 2014 at 12:05
Original issue reported on code.google.com by
p.ohl...@gmail.com
on 20 Dec 2013 at 9:36Attachments: