TomSchimansky / TomSchimansky/TkinterMapView

Support for local map tile servers without http:

Open
#22 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
743
Forks
110
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at request_image() and trace how tileserver values are handled before requests.get is called. Check how Image.open could load a path matching /{z}/{x}/{y}.jpg, and define completion as supporting both URL-based servers and local directory templates without breaking online or database-backed tiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.