[MapProxy] Reprojecting OSM Tiles on Windows

Oliver Tonnhofer olt at omniscale.de
Mon Jun 20 03:46:02 EDT 2011


On 17.06.2011, at 13:28, Jörg Schräder wrote:
> I'm currently trying to set up a Mapproxy project which will allow me to serve data from the OSM tilecache as a local cached wms service in different projections.
> 
> The problem is: MapProxy won't deliver any data in projections other than the source projection of the tilecache (EPSG:900913).
> I've tested this with QGIS 1.6, QGIS 1.7 as WMS Clients.
> Could this be a problem of running it under Windows or is my configuration wrong? (See log below)
> [...]
> 
> Any ideas whats going wrong or what I may have missed?
> 
> In the log I can find lot of these entries:
> ------------
> 2011-06-17 13:22:16,223 - INFO - 4000:mapproxy.source.request:log_request - GET http://c.tile.openstreetmap.org/12/2122/1352.png 200 31.7 46
> Traceback (most recent call last):
> [...]
>  File "C:\Python27\Lib\socket.py", line 351, in read
>    data = self._sock.recv(rbufsize)
>  File "C:\Python27\Lib\httplib.py", line 553, in read
>    s = self.fp.read(amt)
>  File "C:\Python27\Lib\socket.py", line 380, in read
>    data = self._sock.recv(left)
> timeout: timed out
> ------------
> 
> Is this a timeout in the reprojection? What causes this and can I do anything about it?

No, the error has nothing to do with reprojection. I just doesn't load the tile for some reasons. Are you sure you are getting these errors only for projected requests? Can you provide some URLs that work and don't work?

> Another idea by the way (without knowledge of how much effort this would cost) - What about adding MapProxy to OSGeo4W?

We don't use Windows and we don't have customers who are using Windows/OSGeo4W, so there is little incentive to build OSGeo4W packages (for now). Volunteers are always welcomed, though. 

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn



More information about the MapProxy mailing list