<div dir="ltr"><div dir="ltr"><div>Hi Kyle, <br></div><div><br></div><div>It looks like that's not currently possible, it still has an open request in the tracker as well: <a href="https://issues.qgis.org/issues/16587">https://issues.qgis.org/issues/16587</a></div><div><br></div><div>It probably does boil down to lack of status/content-type for file:// locations. A work around seems to be hosting with a web server of some kind (I'm guessing even Python's http module would suffice: "python3 -m http.server" or in python2 "python -m SimpleHTTPServer" and then localhost:8000 by default). <br></div><div><br></div><div>Cheers, <br></div><div>Justin<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018 at 8:43 AM Kyle <<a href="mailto:kylesulek@gmail.com">kylesulek@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I am struggling to get file urls to work with the QGIS tiles layer. I have followed the instructions here:</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://www.spatialbias.com/2018/02/qgis-3.0-xyz-tile-layers/" target="_blank">https://www.spatialbias.com/2018/02/qgis-3.0-xyz-tile-layers/</a><br></div><div dir="ltr"><br></div><div>Under the URL field, I put "file:///home/kyle/Documents/tiles/{z}/{x}/{y}.png" (without quotes)</div><div><br></div><div>I also set the min and max zoom levels to 3 and 8 respectively. It is worth noting that the tile set that I am pointing at is not complete and only covers North America. </div><div><br></div><div>My problem is that nothing shows up on the screen after I add the layer. Am I missing something? Everything works correctly when I point to a online tile server (i.e openstreetmaps).</div><div><br></div><div>It appears that I'm not the only one to have this issue:<br><a href="https://gis.stackexchange.com/questions/219118/how-to-use-qgis-tile-server-provider-with-local-tms-folder" target="_blank">https://gis.stackexchange.com/questions/219118/how-to-use-qgis-tile-server-provider-with-local-tms-folder</a><br></div><div><br></div></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>