<div><span style="font-family:monospace;font-size:13px">The mapproxy grid assert problems seems to be resolved.</span></div><div><span style="font-family:monospace;font-size:13px">But </span><span style="font-family:monospace;font-size:13px">now with openlayers i've got this error:</span></div>

<div><ol class="outline-disclosure" tabindex="0" style="font-size:12px;list-style-type:none;margin:0px;outline:none;padding-left:0px;line-height:12px;font-family:Consolas,'Lucida Console',monospace;background-color:rgb(255,255,255)">

<li title="" class="parent expanded" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><span class="console-message-text source-code" style="white-space:pre-wrap;color:red!important"><span style>GET <a href="http://192.168.198.138/wsgi-mapproxy/wmts/mapnik_osm_demo/grids_demo_osm/EPSG:4326:1/1/0.png" class="webkit-html-resource-link" style="color:rgb(84,84,84);max-width:100%">http://192.168.198.138/wsgi-mapproxy/wmts/mapnik_osm_demo/grids_demo_osm/EPSG:4326:1/1/0.png</a> 500 (Internal Server Error)</span> <a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:451</a></span></li>

<ol class="children expanded" style="margin:0px;min-width:100%;padding:0px 0px 0px 12px!important;list-style-type:none;font-size:inherit"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word">

<div style><span class="console-message-text source-code" style="white-space:pre-wrap;color:red!important">OpenLayers.Tile.Image.OpenLayers.Class.setImgSrc</span><a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:451</a></div>

</li><li title="" class="selected" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><div style><span class="console-message-text source-code" style="white-space:pre-wrap;color:red!important">(anonymous function)</span><a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:450</a></div>

</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><div style><span class="console-message-text source-code" style="white-space:pre-wrap;color:red!important">(anonymous function)</span></div>

</li></ol></ol></div>
<div><div class="console-message console-error-level" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);padding:1px 22px 1px 0px;margin-left:24px;min-height:16px;font-family:Consolas,'Lucida Console',monospace;font-size:12px;background-color:rgb(255,255,255)">

<span class="console-message-text source-code" style="white-space:pre-wrap;color:red!important"><a href="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" class="console-message-url webkit-html-resource-link" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%"><br>

<br></a><a href="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" class="console-message-url webkit-html-resource-link" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%"><br>

</a><div><br></div></span></div></div><div><br></div><div><div class="gmail_quote"><br></div><div class="gmail_quote">I'm using the openlayer listed in the mapproxy demo app to visualize the wmts map but with no results.</div>

<div class="gmail_quote">the url I used is : "mapproxy/wmts"</div><div class="gmail_quote">is it correct?</div><div class="gmail_quote">....</div><div class="gmail_quote">if I use the url "mapproxy/service" i've got this error:</div>

<div class="gmail_quote"><ol class="outline-disclosure" tabindex="0" style="font-size:12px;list-style-type:none;margin:0px;outline:none;padding-left:0px;line-height:12px;font-family:Consolas,'Lucida Console',monospace;background-color:rgb(255,255,255)">

<li title="" class="parent expanded selected" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><span class="console-message-text source-code" style="white-space:pre-wrap"><span style>Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: "<a href="http://192.168.198.138/wsgi-mapproxy/service/grids_demo_osm/EPSG:4326:1/1/0.png" class="webkit-html-resource-link" style="color:rgb(84,84,84);max-width:100%">http://192.168.198.138/wsgi-mapproxy/service/grids_demo_osm/EPSG:4326:1/1/0.png</a>".</span> <a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:451</a></span></li>

<ol class="children expanded" style="margin:0px;min-width:100%;padding:0px 0px 0px 12px!important;list-style-type:none;font-size:inherit"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word">

<div style><span class="console-message-text source-code" style="white-space:pre-wrap">OpenLayers.Tile.Image.OpenLayers.Class.setImgSrc</span><a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:451</a></div>

</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><div style><span class="console-message-text source-code" style="white-space:pre-wrap">(anonymous function)</span><a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:450</a></div>

</li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;margin-bottom:1px;word-wrap:break-word"><div style><span class="console-message-text source-code" style="white-space:pre-wrap">(anonymous function)</span><a href="http://openlayers.org/api/OpenLayers.js" class="console-message-url webkit-html-resource-link" title="" style="float:right;margin-left:4px;color:rgb(84,84,84);max-width:100%">OpenLayers.js:62</a></div>

</li></ol></ol></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">


2012/10/16 Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Raffaello,<br>
<br>
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.<br>
<br>
Look for nightly builds here <a href="http://mapproxy.org/download.html" target="_blank">http://mapproxy.org/download.html</a><br>
<div><br>
<br>
On 15.10.2012, at 19:36, Raffaello Bertini wrote:<br>
<br>
> > And in the Demo app when i click on "WMTS view capabilieties html page"<br>
> > I've got this MapProxy error:<br>
> I forgot to say that in the webage dispaly "internal error"<br>
> here's the config file<br>
<br>
</div>> [...]<br>
<div>>    mapnik_cache:<br>
>     grids: [global_WSG84]<br>
>     sources: [mapnik_source]<br>
>     meta_buffer: 20<br>
>     meta_size: [4, 4]<br>
>     format: image/png<br>
>     request_format: image/png, image/jpg<br>
<br>
</div>You can only define one request_format.<br>
<div><div><br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | <a href="http://omniscale.de" target="_blank">http://omniscale.de</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://github.com/olt" target="_blank">https://github.com/olt</a>    | @oltonn<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>