[MapProxy] 16bit integer tiff

Noriyuki Kushida nkushi at gmail.com
Sun Aug 26 07:51:52 PDT 2018


Dear all,

If you can help me, please give me advise.
I am trying to cache 16 bit integer tiff image, which is provided at
https://worldwind26.arc.nasa.gov/elev?EXCEPTIONS=application/vnd.ogc.se_exml&REQUEST=GetCapabilities&SERVICE=WMS

However, it seems that this tiff image cannot be handled by MapProxy
(pillow) because I got the following error:
  File "/usr/lib64/python2.6/site-packages/PIL/Image.py", line 1028, in crop
    self.load()
  File "/usr/lib64/python2.6/site-packages/PIL/TiffImagePlugin.py", line
1018, in load
    return super(TiffImageFile, self).load()
  File "/usr/lib64/python2.6/site-packages/PIL/ImageFile.py", line 176, in
load
    self.load_prepare()
  File "/usr/lib64/python2.6/site-packages/PIL/ImageFile.py", line 256, in
load_prepare
    self.im = Image.core.new(self.mode, self.size)
ValueError: unrecognized mode

My environment is:
MapProxy==1.9.1
Pillow==3.3.1
Python 2.6 at Centos6 (there is a reason to stick to this version, but it is
possible to upgrade)

Thank you in advance.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180826/488000c3/attachment.html>


More information about the MapProxy mailing list