<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello list,<br>
    <br>
    At Foss4G I was very impressed with the presented featureset of
    MapProxy.<br>
    I am now playing with mapProxy and at first sight it works great. <br>
    <br>
    However, one of the announced features that I thought could be very
    interesting, is the possibility to reproject. I would like to use
    that to combine services that support different SRSs<br>
    <br>
    Now I have the following setup:<br>
    * Windows Vista (happened to be pre-installed on my laptop)<br>
    * Python 2.6<br>
    * the virtual environment from <a class="moz-txt-link-freetext"
      href="http://bitbucket.org/ianb/virtualenv/raw/1.4.8/virtualenv.py">http://bitbucket.org/ianb/virtualenv/raw/1.4.8/virtualenv.py</a><br>
    * MapProxy0.8.4<br>
    <br>
    the following lines in my services.yaml<br>
    ...<br>
    &nbsp;&nbsp;&nbsp; - dnk:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; md:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title: De nieuwe kaart - <a
      class="moz-txt-link-freetext" href="http://www.nieuwekaart.nl">http://www.nieuwekaart.nl</a><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; param:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srs: ['EPSG:4326', 'EPSG:900913']<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tile_size: [256, 256]<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sources:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - type: cache_wms<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; supported_srs: ['EPSG:4326']<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; req:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url: <a class="moz-txt-link-freetext"
      href="http://webservice.nieuwekaart.nl/cgi-bin/nkn">http://webservice.nieuwekaart.nl/cgi-bin/nkn</a>?<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; layers: nieuwekaart<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transparent: 'true'<br>
    <br>
    Now if I start the service with:<br>
    paster serve etc/develop.ini --reload<span class="Apple-style-span"
      style="border-collapse: separate; color: rgb(0, 0, 0);
      font-family: 'Times New Roman'; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: 2; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px; font-size:
      medium;"><span class="Apple-style-span" style="font-family:
        sans-serif; font-size: 16px;"></span></span><br>
    <br>
    The service completely hangs after 1 getCapabilities request + 4
    GetMap epsg:900913 requests.<br>
    The 4 tiles are reprojected correctly, but no longer transparent.<br>
    I have to completely kill the command box that I used to run the
    virtual environment in before I can use mapproxy again.<br>
    <br>
    To verify that MapProxy is really requesting epsg:4326, I used a
    network sniffer (wireshark) and saw the following request header for
    the remote server:<br>
    GET
    /cgi-bin/nkn?styles=&amp;format=image%2Fpng&amp;height=1184&amp;bbox=4.87449645996,52.3735032015,4.92530822754,52.4045134766&amp;transparent=true&amp;layers=nieuwekaart&amp;service=WMS&amp;srs=EPSG%3A4326&amp;request=GetMap&amp;width=1940&amp;version=1.1.1



    HTTP/1.1<br>
    Accept-Encoding: identity<br>
    Host: webservice.nieuwekaart.nl<br>
    Connection: close<br>
    User-Agent: MapProxy-0.8.5<br>
    <br>
    <br>
    Questions:<br>
    * Is the hang a problem caused by me, my machine, Vista in general,
    virtualenv, Python or MapProxy?<br>
    * it seems that layer-transparancy is lost if reprojected. Is that
    true?<br>
    * the request header shows escaped request parameters, shouldn't
    they be unescaped?<br>
    * the request header claims I am using MapProxy version 0.8.5
    instead of 0.8.4<br>
    <br>
    Anne<br>
    <br>
    <br>
  </body>
</html>