Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-10 Thread Pirmin Kalberer
Hi Etienne,

Am Mittwoch, 9. April 2014, 21.56:00 schrieb Etienne Tourigny:
 I meant heads up... not thumbs up
 
 On Wed, Apr 9, 2014 at 9:28 PM, Etienne Tourigny 
etourigny@gmail.comwrote:
  Hi
  Thanks for the thumbs up.
  Can you explain if using Google Maps with the OpenLayers plugin respects
  their TOS? Do you have any links for Google TOS using both tiles and web
  view (used in OpenLayers)?

Search for you must not access map tiles in the TOS 
(https://developers.google.com/maps/terms). That's why the OpenLayers plugin 
is using only the Javascript API with a WebKit Browser.

Pirmin


  
  thanks Etienne
  
  On Wed, Apr 9, 2014 at 7:59 PM, Pirmin Kalberer 
pi...@sourcepole.comwrote:
  Hi Etienne,
  
  Am Montag, 7. April 2014, 18.45:05 schrieb Etienne Tourigny:
   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).
  
  Using Google Maps via TMS URL's is against their TOS. That's also the
  reason,
  why I didn't approve the similar Tile Map Scale Plugin [1] yet.
  
  [1] https://github.com/datalyze-solutions/TileMapScaleLevels
  
  Regards
  Pirmin
  
  --
  Pirmin Kalberer@PirminKalberer
  Sourcepole - Linux  Open Source Solutions
  Weberstrasse 5, 8004 Zürich,   Switzerland
  Tel: 044 440 77 11   Direkt: 044 51 567 77
  p...@sourcepole.ch http://www.sourcepole.ch
-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-09 Thread Pirmin Kalberer
Hi Etienne,

Am Montag, 7. April 2014, 18.45:05 schrieb Etienne Tourigny:
 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).

Using Google Maps via TMS URL's is against their TOS. That's also the reason, 
why I didn't approve the similar Tile Map Scale Plugin [1] yet.

[1] https://github.com/datalyze-solutions/TileMapScaleLevels

Regards
Pirmin

-- 
Pirmin Kalberer@PirminKalberer
Sourcepole - Linux  Open Source Solutions
Weberstrasse 5, 8004 Zürich,   Switzerland
Tel: 044 440 77 11   Direkt: 044 51 567 77
p...@sourcepole.ch http://www.sourcepole.ch

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-09 Thread Etienne Tourigny
Hi
Thanks for the thumbs up.
Can you explain if using Google Maps with the OpenLayers plugin respects
their TOS? Do you have any links for Google TOS using both tiles and web
view (used in OpenLayers)?

thanks Etienne


On Wed, Apr 9, 2014 at 7:59 PM, Pirmin Kalberer pi...@sourcepole.comwrote:

 Hi Etienne,

 Am Montag, 7. April 2014, 18.45:05 schrieb Etienne Tourigny:
  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).

 Using Google Maps via TMS URL's is against their TOS. That's also the
 reason,
 why I didn't approve the similar Tile Map Scale Plugin [1] yet.

 [1] https://github.com/datalyze-solutions/TileMapScaleLevels

 Regards
 Pirmin

 --
 Pirmin Kalberer@PirminKalberer
 Sourcepole - Linux  Open Source Solutions
 Weberstrasse 5, 8004 Zürich,   Switzerland
 Tel: 044 440 77 11   Direkt: 044 51 567 77
 p...@sourcepole.ch http://www.sourcepole.ch


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-09 Thread Etienne Tourigny
I meant heads up... not thumbs up


On Wed, Apr 9, 2014 at 9:28 PM, Etienne Tourigny etourigny@gmail.comwrote:

 Hi
 Thanks for the thumbs up.
 Can you explain if using Google Maps with the OpenLayers plugin respects
 their TOS? Do you have any links for Google TOS using both tiles and web
 view (used in OpenLayers)?

 thanks Etienne


 On Wed, Apr 9, 2014 at 7:59 PM, Pirmin Kalberer pi...@sourcepole.comwrote:

 Hi Etienne,

 Am Montag, 7. April 2014, 18.45:05 schrieb Etienne Tourigny:
  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).

 Using Google Maps via TMS URL's is against their TOS. That's also the
 reason,
 why I didn't approve the similar Tile Map Scale Plugin [1] yet.

 [1] https://github.com/datalyze-solutions/TileMapScaleLevels

 Regards
 Pirmin

 --
 Pirmin Kalberer@PirminKalberer
 Sourcepole - Linux  Open Source Solutions
 Weberstrasse 5, 8004 Zürich,   Switzerland
 Tel: 044 440 77 11   Direkt: 044 51 567 77
 p...@sourcepole.ch http://www.sourcepole.ch



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] new plugin Load TMS Layer

2014-04-07 Thread Etienne Tourigny
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-07 Thread Mathieu Pellerin
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-forest for
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@gmail.comwrote:

 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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] new plugin Load TMS Layer

2014-04-07 Thread Etienne Tourigny
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.a...@gmail.comwrote:

 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-forest for
 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@gmail.comwrote:

 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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer