<div dir="ltr">Matthieu, <div><br></div><div>Thanks for your input!<div><br></div><div>I will change the project CRS by default but make it optional.</div><div><br></div><div>Do you have a xml file for the TMS of the Global Forest Change, or any info on what server it uses or at least the path?</div>
<div><br></div><div>While working on it I realized the power of the caching - I am taking advantage of that and setting the proper cache directory.</div><div><br></div><div>cheers</div><div>Etienne</div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 11:00 PM, Mathieu Pellerin <span dir="ltr"><<a href="mailto:nirvn.asia@gmail.com" target="_blank">nirvn.asia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Nice, few comments (based on my previous uses of the GDAL TMS mini-driver):<br></div>- your plugin should make sure the loaded layer is assigned the proper projection (mostly pseudo-mercator); failing to do so will leave must users unable to understand why the TMS rendering fails<br>
</div>- that would also switch OTF reprojection on when needed<br></div>- consider adding TMS of the Global Forest Change (see <a href="http://www.earthenginepartners.appspot.com/science-2013-global-forest" target="_blank">http://www.earthenginepartners.appspot.com/science-2013-global-forest</a> for data source, and <a href="https://www.flickr.com/photos/60284107@N00/11096344994/in/pool-qgis-screenshots" target="_blank">https://www.flickr.com/photos/60284107@N00/11096344994/in/pool-qgis-screenshots</a> for in-QGIS example)<br>
<div><br></div><div>The GDAL TMS driver is in many ways a superior solution to OpenLayers; it works perfectly fine with the multi-thread rendering, can be exported via qgis composer, caches the tiles, etc. <br><br></div>
<div>
Math<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 8, 2014 at 4:45 AM, Etienne Tourigny <span dir="ltr"><<a href="mailto:etourigny.dev@gmail.com" target="_blank">etourigny.dev@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>I have put together a simple plugin to load a number of TMS layers using the GDAL TMS mini-driver [1]. I see it as a simple alternative to the more complete OpenLayers plugin.</div>
<div><br></div><div>Code is at github for now [2]. Any suggestions are welcome (including plugin name). Also if you have any other working examples please let me know.</div>
<div><br></div><div>Supported layers are OSM, Google, and other examples given in [1] (except those that don't work).</div><div><br></div><div>Tested with QGIS 2.2 and master. Rendering of labels is not the best but it seems better with master.</div>
<div><br></div><div>[1] <a href="http://www.gdal.org/frmt_wms.html" target="_blank">http://www.gdal.org/frmt_wms.html</a><br></div><div>[2] <a href="https://github.com/etiennesky/loadtmslayer" target="_blank">https://github.com/etiennesky/loadtmslayer</a></div>
<div><br></div><div><br></div><div>cheers</div><span><font color="#888888"><div>Etienne</div></font></span></div>
<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>
</blockquote></div><br></div>