> And in the Demo app when i click on "WMTS view capabilieties html page"<br>> I've got this MapProxy error:<div>I forgot to say that in the webage dispaly "internal error"</div><div>here's the config file</div>
<div><br></div><div><div>services:</div><div> demo:</div><div> kml:</div><div> tms:</div><div> # needs no arguments</div><div> wmts:</div><div> wms:</div><div> #srs: ['EPSG:4326', 'EPSG:900913']</div>
<div> #srs: ['EPSG:4326', 'EPSG:3857']</div><div> #srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:3857']</div><div> srs: ['EPSG:4326']</div><div><br></div><div> image_formats: ['image/jpeg', 'image/png']</div>
<div> #image_formats: ['image/png']</div><div> md:</div><div> # metadata used in capabilities documents</div><div> title: MapProxy WMS Proxy</div><div> abstract: This is the fantastic MapProxy.</div>
<div> online_resource: <a href="http://mapproxy.org/">http://mapproxy.org/</a></div><div> contact:</div><div> person: Your Name Here</div><div> position: Technical Director</div><div> organization: </div>
<div> address: Fakestreet 123</div><div> city: Somewhere</div><div> postcode: 12345</div><div> country: Germany</div><div> phone: +49(0)000-000000-0</div><div> fax: +49(0)000-000000-0</div>
<div> email: <a href="mailto:info@omniscale.de">info@omniscale.de</a></div><div> access_constraints:</div><div> This service is intended for private and evaluation use only.</div><div> The data is licensed as Creative Commons Attribution-Share Alike 2.0</div>
<div> (<a href="http://creativecommons.org/licenses/by-sa/2.0/">http://creativecommons.org/licenses/by-sa/2.0/</a>)</div><div> fees: 'None'</div><div><br></div><div>layers:</div><div> - name: mapnik_layers</div>
<div> title: mapnik_layers</div><div> sources: [mapnik_cache] </div><div> </div><div>caches:</div><div> mapnik_cache:</div><div> grids: [global_WSG84]</div><div> sources: [mapnik_source]</div><div> meta_buffer: 20</div>
<div> meta_size: [4, 4]</div><div> format: image/png</div><div> request_format: image/png, image/jpg</div><div> link_single_color_images: true</div><div><br></div><div>sources:</div><div> mapnik_source:</div>
<div> type: mapnik</div><div> use_mapnik2: true</div><div> mapfile: C:\mapnik-2.0.1rc0\osm.xml</div><div> </div><div>grids:</div><div> global_WSG84:</div><div> #origin: nw</div><div> base: GLOBAL_GEODETIC</div>
<div> #srs: 'EPSG:4326'</div><div> num_levels: 22</div><div> </div><div> global_geodetic_sqrt2:</div><div> base: GLOBAL_GEODETIC</div><div> res_factor: 'sqrt2'</div><div><br></div><div>globals:</div>
<div> # cache options</div><div> cache:</div><div> # where to store the cached images</div><div> base_dir: 'C:/mapproxy_venv/cache_data'</div><div> # where to store lockfiles</div><div> lock_dir: 'C:/mapproxy_venv/cache_data/locks'</div>
<div> # parallel thread</div><div> concurrent_tile_creators: 4</div><div> # # request x*y tiles in one step</div><div> # meta_size: [4, 4]</div><div> # # add a buffer on all sides (in pixel) when requesting</div>
<div> # # new images</div><div> # meta_buffer: 80</div><div><br></div><div><br></div><div> # image/transformation options</div><div> image:</div><div> resampling_method: bicubic</div><div><br></div></div><div>
<br><br><div class="gmail_quote">2012/10/15 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">
<div class="im"><br>
On 13.10.2012, at 22:19, Raffaello Bertini wrote:<br>
<br>
> in the demo app inside mapproxy WMTS work properly, WMS too<br>
> But when I tried to access with openlayers I've got a bad request (no image)<br>
> And in the Demo app when i click on "WMTS view capabilieties html page"<br>
> I've got this MapProxy error:<br>
<br>
<br>
</div>You grid is not compatible with WMTS.<br>
Can you post your complete configuration?<br>
<br>
<br>
Regards,<br>
Oliver<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br></div>