[Qgis-developer] new plugin "Load TMS Layer"

Mathieu Pellerin nirvn.asia at gmail.com
Mon Apr 7 19:44:50 PDT 2014


Etienne,

Here's a few:

Forest Loss/Gain/Extend
(3-band)
http://earthengine.google.org/static/hansen_2013/loss_forest_gain/${z}/${x}/${y}.png

Forest Cover Loss (2000-2012)
(4-band, inc. transparency)
http://earthengine.google.org/static/hansen_2013/loss_alpha/${z}/${x}/${y}.png

Forest Cover Gain (2000-2012)
(4-band, inc. transparency)
http://earthengine.google.org/static/hansen_2013/gain_alpha${z}/${x}/${y}.png

Make sure you set the appropriate number of bands.

Math



On Tue, Apr 8, 2014 at 9:24 AM, Etienne Tourigny <etourigny.dev at gmail.com>wrote:

> Matthieu,
>
> Thanks for your input!
>
> I will change the project CRS by default but make it optional.
>
> 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?
>
> While working on it I realized the power of the caching - I am taking
> advantage of that and setting the proper cache directory.
>
> cheers
> Etienne
>
>
> On Mon, Apr 7, 2014 at 11:00 PM, Mathieu Pellerin <nirvn.asia at gmail.com>wrote:
>
>> Nice, few comments (based on my previous uses of the GDAL TMS
>> mini-driver):
>> - 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
>> - that would also switch OTF reprojection on when needed
>> - consider adding TMS of the Global Forest Change (see
>> http://www.earthenginepartners.appspot.com/science-2013-global-forestfor data source, and
>> https://www.flickr.com/photos/60284107@N00/11096344994/in/pool-qgis-screenshotsfor in-QGIS example)
>>
>> 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.
>>
>>  Math
>>
>>
>>
>> On Tue, Apr 8, 2014 at 4:45 AM, Etienne Tourigny <etourigny.dev at gmail.com
>> > wrote:
>>
>>> 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.
>>>
>>> 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.
>>>
>>> Supported layers are OSM, Google, and other examples given in [1]
>>> (except those that don't work).
>>>
>>> Tested with QGIS 2.2 and master. Rendering of labels is not the best but
>>> it seems better with master.
>>>
>>> [1] http://www.gdal.org/frmt_wms.html
>>> [2] https://github.com/etiennesky/loadtmslayer
>>>
>>>
>>> cheers
>>> Etienne
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140408/d02b86e4/attachment.html>


More information about the Qgis-developer mailing list