<div dir="ltr"><div>Thank you for the information.  I'll review the provider tile.py class</div><div><br></div><div>Regards</div><div>  <br></div><div>  <br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 4 May 2022 at 03:28, Just van den Broecke <<a href="mailto:justb4@gmail.com">justb4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Travis,<br>
<br>
You are right: the current implementation only supports Vector tiles, <br>
with sources from either a stored file-hierarchy or from a remote URL. <br>
Like Tom said the Provider type needs to be MVT.<br>
You may be lucky that some tile requests may work, but I suspect not as <br>
the MVT Provider (data URL) implementation is geared towards the <br>
"MapBox" protocol. The documentation needs amending.<br>
<br>
The OGC spec [1], still in draft, distinguishes among "tiles", actually <br>
Vector Tiles and "map tiles", actually raster tiles (as the follow-up <br>
from WMTS). Each has its own URL/API-pattern. If you are into Python a <br>
new pygeoapi Provider for "map tiles" may be added. There is already an <br>
Abstract Base Class Provider tile.py. We can support you in  that effort.<br>
<br>
[1] <a href="http://docs.ogc.org/DRAFTS/20-057.html" rel="noreferrer" target="_blank">http://docs.ogc.org/DRAFTS/20-057.html</a><br>
<br>
Best,<br>
<br>
Just van den Broecke<br>
<br>
On 03/05/2022 21:50, Tom Kralidis wrote:<br>
> Hi Travis: can you try with name: MVT in your provider setup?<br>
> <br>
> Thanks<br>
> <br>
> ..Tom<br>
> <br>
>> On May 3, 2022, at 11:55, Travis Kirstine <<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.com</a>> <br>
>> wrote:<br>
>><br>
>> ï»¿<br>
>> Are image map tile providers supported?<br>
>><br>
>> It appears that MVT works but not image based services.  In the docs <br>
>> it indicates that "- type: tile" is allowed but this will throw a <br>
>> invalid plugin error:<br>
>><br>
>> Â  File <br>
>> "/home/ubuntu/pygeoapi/lib/python3.8/site-packages/pygeoapi-0.13.dev0-py3.8.egg/pygeoapi/plugin.py", <br>
>> line 94, in load_plugin<br>
>> Â  Â  raise InvalidPluginError(msg)<br>
>> pygeoapi.plugin.InvalidPluginError: Plugin tile not found<br>
>><br>
>> My basic config:<br>
>><br>
>> Â  Â  mycollection:<br>
>> Â  Â  Â  Â  type: collection<br>
>> Â Â Â Â Â Â Â  # collection info ......................<br>
>> Â  Â  Â  Â  providers:<br>
>> Â  Â  Â  Â  Â  Â  - type: tile<br>
>> Â  Â  Â  Â  Â  Â  Â  name: image<br>
>> Â  Â  Â  Â  Â  Â Â Â  data: <a href="https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png" rel="noreferrer" target="_blank">https://tile.openstreetmap.org/{z}/{x}/{y}.png</a> <br>
>> <<a href="https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png" rel="noreferrer" target="_blank">https://tile.openstreetmap.org/{z}/{x}/{y}.png</a>><br>
>> Â  Â  Â  Â  Â  Â  Â  options:<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  zoom:<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  min: 0<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  max: 21<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  schemes:<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  - WebMercatorQuad<br>
>> Â  Â  Â  Â  Â  Â  Â  format:<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  name: png<br>
>> Â  Â  Â  Â  Â  Â  Â  Â  Â  mimetype: image/png<br>
>><br>
>> _______________________________________________<br>
>> pygeoapi mailing list<br>
>> <a href="mailto:pygeoapi@lists.osgeo.org" target="_blank">pygeoapi@lists.osgeo.org</a><br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/pygeoapi" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pygeoapi</a><br>
> <br>
> _______________________________________________<br>
> pygeoapi mailing list<br>
> <a href="mailto:pygeoapi@lists.osgeo.org" target="_blank">pygeoapi@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/pygeoapi" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pygeoapi</a><br>
<br>
_______________________________________________<br>
pygeoapi mailing list<br>
<a href="mailto:pygeoapi@lists.osgeo.org" target="_blank">pygeoapi@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pygeoapi" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pygeoapi</a><br>
</blockquote></div>