Feature request #16587

Native XYZ provider doesn't support local files

Added by Olivier Dalang almost 7 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/XYZ
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:24489

Description

Hi !

The new native XYZ tiles provider is awesome.

But it doesn't seem to support local files. URLs like file:///mypath/{z}/{x}/{y}.png should work, but they don't load.
The console shows

Tile request error (Status:; Content-Type:; Length:24803; URL: file:///C:/Users/Olivier/Dropbox/Backups/UrbaSEN_Gandi/urbamonde_vps_tiles/ign_2010/17/59211/60097.jpg)

Could it be that it just fails because the code is expecting an http status ?

Thanks !

Associated revisions

History

#1 Updated by Alexander Bruy almost 7 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by Alexander Bruy almost 7 years ago

  • Category changed from Rasters to Web Services clients/XYZ

#3 Updated by Saber Razmjooei over 5 years ago

  • Status changed from Open to In Progress

This should be addressed in this PR:
https://github.com/qgis/QGIS/pull/7986

Thanks for Nyall's suggestion here:
https://lists.osgeo.org/pipermail/qgis-user/2018-September/041118.html

#4 Updated by Saber Razmjooei over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF