<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I asked for help twice to know how to determine if a python package
is installed.<br>
No answer but I finally found out and I can start real work now.<br>
<br>
problem #1<br>
My problem was that, somehow, PyYAML==3.10 was installed out of
aptitude control.<br>
When installing the 1.x.0 DEB, python-yaml-3.09 was installed on top
and played havoc with 3.10.<br>
pip uninstall is undocumented (!), but it did uninstall 3.10, which
put an end to war.<br>
Conclusion: one should never mix two installation systems.<br>
Either mapproxy should install DEBs (they are very strongly managing
conflicts and requirements)<br>
or pip and other installers should install python or other stuff by
constructing temporary DEBs.<br>
<br>
problem #2<br>
Well, now to the 1.5.0 config problem (1.4.0 uses the same config
nicely):<br>
<br>
mapproxy.service.wmts - WARNING - grid 'global_geodetic_sqrt2' is
not compatible with WMTS, skipping for layer 'osm'<br>
<br>
Same message for another layer.<br>
Many Google hits for this message, but none seems to apply.<br>
<br>
I fear that if maxproxy<br>
<ul>
<li>believes that WMTS is used while it is not</li>
<li>does not understand the grid used by the cache</li>
</ul>
<p>it could destroy something and I returned to 1.4.0.<br>
</p>
Config (part of):<br>
<br>
layers:<br>
- name: osm<br>
title: Omniscale OSM WMS - osm.omniscale.net<br>
sources: [osm_cache]<br>
caches:<br>
osm_cache:<br>
grids: [GLOBAL_MERCATOR, global_geodetic_sqrt2]<br>
sources: [osm_wms]<br>
sources:<br>
osm_wms:<br>
type: wms<br>
req:<br>
url: <a class="moz-txt-link-freetext" href="http://osm.omniscale.net/proxy/service">http://osm.omniscale.net/proxy/service</a>?<br>
layers: osm<br>
grids:<br>
global_geodetic_sqrt2:<br>
base: GLOBAL_GEODETIC<br>
res_factor: 'sqrt2'<br>
<br>
TIA,<br>
Cheers, <br>
<br>
<table>
<tbody>
<tr>
<td valign="top">André.</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>