Feature request #16587

Native XYZ provider doesn't support local files

Added by Olivier Dalang 5 days ago. Updated 1 day ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/XYZ
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 !

History

#1 Updated by Alexander Bruy 1 day ago

  • Tracker changed from Bug report to Feature request

#2 Updated by Alexander Bruy 1 day ago

  • Category changed from Rasters to Web Services clients/XYZ

Also available in: Atom PDF