[QGIS-Developer] native XYZ layers - zoom level

Olivier Dalang olivier.dalang at gmail.com
Fri Jun 30 08:32:10 PDT 2017

Fasiha I used the following steps :

- open the qgs project (xxx.qgs file) in a text editor
- find the layer definition (you can search for the URL you entered)
- add &zmin=17&zmax=22 to the URL

There are probably ways to add the parameters directly in the layer
definition in the brower, which is stored somewhere in QGIS preferences.



2017-06-29 2:03 GMT+00:00 fasiha <wuzzyview at gmail.com>:

> olivier wrote
> > Awesome that will perfectly do until 3.0.
> Olivier, could you elaborate just a bit on how to do this in 2.18? I’m a
> QGIS beginner, I can bring up the Python Console in QGIS, but then what
> function do I invoke that will create an XYZ tile layer where I can specify
> zmin/zmax?
> Thank you!
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/QGIS-Developer-native-XYZ-layers-zoom-level-
> tp5324030p5325931.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170630/4cc50d84/attachment.html>

More information about the QGIS-Developer mailing list