<div dir="ltr">Dear All,<div><br></div><div>Finally I find a way to circumvent this problem.</div><div>I have just written my experience in my blog:</div><div><span style="color:rgb(136,136,136);font-size:13px;background-color:rgb(237,244,255)"><a href="https://nk-wien.blogspot.com/2018/09/cache-elevation-data-of-world-wind-java.html">https://nk-wien.blogspot.com/2018/09/cache-elevation-data-of-world-wind-java.html</a></span> </div><div><span style="background-color:rgb(237,244,255);color:rgb(136,136,136);font-size:13px"><a href="https://nk-wien.blogspot.com/2018/09/minicondapython27-modwsgi-on-centos6.html">https://nk-wien.blogspot.com/2018/09/minicondapython27-modwsgi-on-centos6.html</a></span> <br></div><div><br></div><div>I am happy if this is helpful for someone.</div><div><br></div><div>Best regards,</div><div>Noriyuki Kushida</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 26 Aug 2018 at 16:51, Noriyuki Kushida <<a href="mailto:nkushi@gmail.com">nkushi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>If you can help me, please give me advise.</div><div>I am trying to cache 16 bit integer tiff image, which is provided at</div><div><a href="https://worldwind26.arc.nasa.gov/elev?EXCEPTIONS=application/vnd.ogc.se_exml&REQUEST=GetCapabilities&SERVICE=WMS" target="_blank">https://worldwind26.arc.nasa.gov/elev?EXCEPTIONS=application/vnd.ogc.se_exml&REQUEST=GetCapabilities&SERVICE=WMS</a><br></div><div><br></div><div>However, it seems that this tiff image cannot be handled by MapProxy (pillow) because I got the following error:</div><div><div> File "/usr/lib64/python2.6/site-packages/PIL/Image.py", line 1028, in crop</div><div> self.load()</div><div> File "/usr/lib64/python2.6/site-packages/PIL/TiffImagePlugin.py", line 1018, in load</div><div> return super(TiffImageFile, self).load()</div><div> File "/usr/lib64/python2.6/site-packages/PIL/ImageFile.py", line 176, in load</div><div> self.load_prepare()</div><div> File "/usr/lib64/python2.6/site-packages/PIL/ImageFile.py", line 256, in load_prepare</div><div> <a href="http://self.im" target="_blank">self.im</a> = Image.core.new(self.mode, self.size)</div><div>ValueError: unrecognized mode</div></div><div><br></div><div>My environment is:</div><div>MapProxy==1.9.1<br></div><div>Pillow==3.3.1<br></div><div>Python 2.6@Centos6 (there is a reason to stick to this version, but it is possible to upgrade)</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Best regards,</div><div><br></div></div>
</blockquote></div>