<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
04/05/2012 13.20, Dimitrios Karachalios wrote:
<blockquote cite="mid:4FA3BB7D.3090101@planetek.gr" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
Hello Oliver, <br>
<br>
I used MapProxy in linux (ubuntu server ) with couchdb.<br>
<br>
In linux , all worked ok and I notice that in the folder declared
as base_dir: './cache_data' a sub folder named <b>"http:"</b>
is created.<br>
I have the necessity to make work couchdb and mapproxy in windows
.<br>
I followed the same configuration and I change the directory to
base_dir: "cache_data" and lock_dir: "cache_data/locks"<br>
<br>
<br>
When I put the command <br>
<pre>mapproxy-util serve-develop mapproxy.yaml
the demo site runs ok .
But when I try to navigate in the map , I received the following error
WindowsError: [Error 123] <span lang="en"><span>The syntax</span> <span>of the file name</span><span>,</span> <span>directory or</span> <span>v</span><span>olume</span> is <span>incorrect</span></span>:
'C:\\pk_mapproxy\\pk_cache_couchdb\\cache_data\\http:'
It seems that MapProxy try to create a folder with the name http: as make in linux.
But in windows the character - symbol ( : ) is not permitted during folder name creation.
How can I change that ?
Thank you in advance
</pre>
<br>
# # cache options<br>
cache:<br>
# where to store the cached images<br>
base_dir: "cache_data"<br>
# where to store lockfiles<br>
lock_dir: "cache_data/locks"<br>
# # request x*y tiles in one step<br>
# meta_size: [4, 4]<br>
# # add a buffer on all sides (in pixel) when requesting<br>
# # new images<br>
# meta_buffer: 80<br>
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dimitrios Karachalios
Planetek Hellas EPE
2-4 Messogeion Avenue
Athens Tower, 21st floor
11527, Athens, Greece (GR)
Tel: +30 210 7454306
Fax: +30 210 7454300
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:karachalios@planetek.gr">karachalios@planetek.gr</a>
-- </pre>
</body>
</html>