TomSchimansky / TomSchimansky/TkinterMapView
Support for local map tile servers without http:
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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