[MapProxy] add a wmts layer
Seth Ellingson
seth.ellingson at blackbridge.com
Tue Nov 13 11:47:06 PST 2012
Thank you all for your responses. I have tried implementing your
suggestions, but didn't have any success. Here is the config that I am
having issues with:
sources:
omanTile:
type: tile
grid: 'EPSG:4326'
#also tried - grid: [latlongrid]
url:
http://10.10.4.32/geowebcache/service/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=OMAN&TILEMATRIXSET=EPSG:4326&TILEMATRIX=EPSG:4326:%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image/png
grids:
latlongrid:
srs: 'EPSG:4326'
#also tried - origin: 'nw'
caches:
omanCache:
grids: [latlongrid]
sources: [omanTile]
layers:
- name: Mosaic
title: Mosaic
layers:
- name: OMAN
title: Tile - Oman
sources: [omanCache]
Can anyone spot a misconfiguration or something I am missing? I am using
the mapproxy demo to test, could there be an issue with that? Thanks again!
On Tue, Nov 13, 2012 at 5:29 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:
>
> On 13.11.2012, at 11:13, Martijn Coenen wrote:
> >> ok sorry, it was only my personal point of view, i've just posted
> before. no response.
> >> here again:
> >> The error (maybe is a warning, cause the icon is yellow) got from
> Chrome using openlayers connect wmts mapproxy:
> >>
> >> Resource interpreted as Image but transferred with MIME type
> application/vnd.ogc.se_xml: "
> http://192.168.198.138/wsgi-mapproxy/service/grids_demo_osm/EPSG:4326:1/0/0.png
> ".
> >
> > I have had this same problem with an unrelated (to Mapproxy) project. It
> happens when there is no tile for the given point. An XML error message is
> send back from the source instead of the requested PNG image.
>
> /service is the WMS/WMTS endpoint for KVP requests (e.g.
> /service?service=WMTS&request=GetCapabilities)
>
>
> The RESTful WMTS service is available at /wmts/1.0.0/ as described in the
> documentation:
> http://mapproxy.org/docs/nightly/services.html#restful
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
> http://mapproxy.org | https://github.com/olt | @oltonn
>
>
>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20121113/864dc482/attachment-0001.html>
More information about the MapProxy
mailing list