Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for local map tile servers without http: #22

Open
Kdebaas opened this issue Jun 7, 2022 · 0 comments
Open

Support for local map tile servers without http: #22

Kdebaas opened this issue Jun 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Kdebaas
Copy link

Kdebaas commented Jun 7, 2022

Hi,

request_image() supports online mapservers and offline database. But it would be great if it would also support offline directories in the form of tileserver = /path/{z}/{x}/{y}.jpg. It could access the images directly with Image.open, without inserting requests.get. But I don't know how you would detect whether the supplied tileserver is an url or a path.

Usecase would be e.g. a standalone PC as a kiosk with its own local tileserver, without the need to install a webserver.

Cheers

@TomSchimansky TomSchimansky added the enhancement New feature or request label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants