[MapProxy] WMTS GetCapabilities
Raffaello Bertini
raffaellobertini at gmail.com
Thu Oct 18 09:06:28 PDT 2012
The mapproxy grid assert problems seems to be resolved.
But now with openlayers i've got this error:
1. GET
http://192.168.198.138/wsgi-mapproxy/wmts/mapnik_osm_demo/grids_demo_osm/EPSG:4326:1/1/0.png500
(Internal Server Error)
OpenLayers.js:451 <http://openlayers.org/api/OpenLayers.js>
1. OpenLayers.Tile.Image.OpenLayers.Class.setImgSrcOpenLayers.js:451<http://openlayers.org/api/OpenLayers.js>
2. (anonymous
function)OpenLayers.js:450<http://openlayers.org/api/OpenLayers.js>
3. (anonymous function)
<http://192.168.198.138/wsgi-mapproxy/service?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cite%3Amapnik_osm_demo&STYLE=_null&TILEMATRIXSET=EPSG%3A4326&TILEMATRIX=EPSG%3A4326%3A0&TILEROW=0&TILECOL=0&FORMAT=image%2Fpng>
<http://192.168.198.138/wsgi-mapproxy/service?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cite%3Amapnik_osm_demo&STYLE=_null&TILEMATRIXSET=EPSG%3A4326&TILEMATRIX=EPSG%3A4326%3A0&TILEROW=0&TILECOL=0&FORMAT=image%2Fpng>
I'm using the openlayer listed in the mapproxy demo app to visualize the
wmts map but with no results.
the url I used is : "mapproxy/wmts"
is it correct?
....
if I use the url "mapproxy/service" i've got this error:
1. 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/1/0.png
". OpenLayers.js:451 <http://openlayers.org/api/OpenLayers.js>
1. OpenLayers.Tile.Image.OpenLayers.Class.setImgSrcOpenLayers.js:451<http://openlayers.org/api/OpenLayers.js>
2. (anonymous
function)OpenLayers.js:450<http://openlayers.org/api/OpenLayers.js>
3. (anonymous
function)OpenLayers.js:62<http://openlayers.org/api/OpenLayers.js>
2012/10/16 Oliver Tonnhofer <olt at omniscale.de>
> Hi Raffaello,
>
> thanks for the configuration. I found a bug related to the tile origins of
> the internal MapProxy cache and WMTS (nw/ul and sw/ll where not equal).
> It's fixed in master.
>
> Look for nightly builds here http://mapproxy.org/download.html
>
>
> On 15.10.2012, at 19:36, Raffaello Bertini wrote:
>
> > > And in the Demo app when i click on "WMTS view capabilieties html page"
> > > I've got this MapProxy error:
> > I forgot to say that in the webage dispaly "internal error"
> > here's the config file
>
> > [...]
> > mapnik_cache:
> > grids: [global_WSG84]
> > sources: [mapnik_source]
> > meta_buffer: 20
> > meta_size: [4, 4]
> > format: image/png
> > request_format: image/png, image/jpg
>
> You can only define one request_format.
>
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
> http://mapproxy.org | https://github.com/olt | @oltonn
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20121018/835a054d/attachment.html>
More information about the MapProxy
mailing list