[MapProxy] Using mapproxy with Tilecache

Oliver Tonnhofer olt at omniscale.de
Wed Mar 2 09:11:14 EST 2011


On 02.03.2011, at 14:19, Fabrellas Bertran, Isabel wrote:
> Response to : http://localhost:8080/tms/1.0.0/lupito_topo/0/0/0.png
> "internal error"
> 
> 127.0.0.1 - - [02/Mar/2011:14:16:02 +0200] "GET /tms/1.0.0/lupito_topo/0/0/0.png
> HTTP/1.1" 500 14 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.
> 8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)"
> Traceback (most recent call last):
> [...]
>    raise InvalidSourceQuery()
> InvalidSourceQuery


Your cache uses a different grid than your tile source. That is not supported at the moment.
Assuming that `mygrid` matches your tilecache configuration:

caches:
  lupito_topo_cache:
    grids: [mygrid]
    sources: [lupito_topo_tile]
sources:
  lupito_topo_tile:
    type: tile
    grid: mygrid
    url: http://lupito.icc.local/tilecache_2_10/tilecache.py?x=%(x)s&y=%(y)s&z=%(z)s&format=%(format)s
    origin: nw

Regards,
Oliver

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





More information about the MapProxy mailing list