<!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>
- dnk:<br>
md:<br>
title: De nieuwe kaart - <a
class="moz-txt-link-freetext" href="http://www.nieuwekaart.nl">http://www.nieuwekaart.nl</a><br>
param:<br>
srs: ['EPSG:4326', 'EPSG:900913']<br>
tile_size: [256, 256]<br>
sources:<br>
- type: cache_wms<br>
supported_srs: ['EPSG:4326']<br>
req:<br>
url: <a class="moz-txt-link-freetext"
href="http://webservice.nieuwekaart.nl/cgi-bin/nkn">http://webservice.nieuwekaart.nl/cgi-bin/nkn</a>?<br>
layers: nieuwekaart<br>
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=&format=image%2Fpng&height=1184&bbox=4.87449645996,52.3735032015,4.92530822754,52.4045134766&transparent=true&layers=nieuwekaart&service=WMS&srs=EPSG%3A4326&request=GetMap&width=1940&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>