minorua / TileLayerPlugin

[QGIS2 Plugin] add a web tile map as a layer onto your map canvas
https://github.com/minorua/TileLayerPlugin/wiki
53 stars 16 forks source link

Compatibility with QGIS 3 #35

Open fdetsch opened 6 years ago

fdetsch commented 6 years ago

Hi,

at the moment, the TileLayer Plugin 0.80 is compatible with QGIS 2.8 or higher (theoretically up to 2.99) only. Are there any plans to release an updated version for QGIS 3 yet?

Cheers, Florian

minorua commented 6 years ago

I'm sorry to say that this plugin is no longer maintained. Please use XYZ layer in QGIS core.

Links:

fdetsch commented 6 years ago

Oh, I'm really sorry to hear that.

Do you know if there is any chance to add local tiles using XYZ Tiles from QGIS core? This has been quite straightforward to realize via TileLayer Plugin as it required a local .tsv file with meta info about the data to be displayed only. When I copy & paste the file:///... URL from the .tsv file (that works with TileLayer Plugin in QGIS 2.18) into XYZ Tiles and adjust the zoom levels accordingly, no data is shown at all.

minorua commented 6 years ago

I tried it just now, but it doesn't work. This question also says that the XYZ tile layer doesn't work with the file protocol.

fdetsch commented 6 years ago

I am well aware that this must sound like a greenhorn's question, not least because I am not into QGIS plugin development, but how much effort would be required to re-establish compatibility between TileLayer and the latest QGIS version? As you confirmed, the built-in XYZ Tiles tool does not work with local {z}/{x}/{y} tile structures – I (and certainly also a good number of other QGIS users, see eg. https://github.com/minorua/TileLayerPlugin/issues/29) consider this a major advantage of TileLayer as it didn't require the user to setup a local Apache server or find whatever solution.

minorua commented 6 years ago

It must be simplest way to improve the QGIS XYZ tile provider (wms provider) so that it can read tiles in local file system. Only a few small changes are required to do it (e.g. condition about HTTP status code - I guess).

lennoo commented 5 years ago

has anyone methods to solve the problem that can't load local file into xyz tile?

Mariosmsk commented 5 years ago

Check out my example How to use offline maps in QGIS QGIS3

lennoo commented 5 years ago

@Mariosmsk ur example doesn't work for me. I use QGIS 3.2 on windows 7 x64.

I try it, put the file on 'd:\tile\g\' fold, and edit ' file:///D:/tile/g/{z}/{x}/{y}.png ' but the qgis wms warning is 2019-02-10T23:09:54 WARNING Tile request error (Status: ; Content-Type: ; Length: 115315; URL: file:///d:/tile/g/10/855/429.png)

Mariosmsk commented 5 years ago

@lennoo, I have used QGIS version 3.4.4-Madeira Windows 7 x64

kannes commented 5 years ago

Add local XYZ tiles is easily done: https://issues.qgis.org/issues/19729#note-2

Landast2020 commented 5 years ago

Hi where can I find this plugin? my Qgis vresion is 3.4 and 3.6 52397019-30a35080-2ab4-11e9-8ac0-9f1362377551

Hi,

at the moment, the TileLayer Plugin 0.80 is compatible with QGIS 2.8 or higher (theoretically up to 2.99) only. Are there any plans to release an updated version for QGIS 3 yet?

Cheers, Florian

kannes commented 5 years ago

Hi Landast2020, the QTiles plugin is not the TileLayer plugin.

Landast2020 commented 5 years ago

Hi Landast2020, the QTiles plugin is not the TileLayer plugin.

I entered the downloaded tiles using xyz tiles, now I want to select a specific area and get the MBtile output. How do I do this? In the Save as menu, how do I add the Column and Row numbers? How many zoom sizes?

What does the Create VRT option do?

kannes commented 5 years ago

This is not the place to spam unrelated support requests. Please have some etiquette and consideration for other people.