Skip to content

minimapper-ogf/ogfimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogfimg

OGF/OSM Image/tile downloader and stitcher

This is a simple tool I made with ChatGPT for downloading tiles on OGF, OSM or Arhet then stitching them to one pretty map. banner

Setup

First install the following dependencies with: pip install flask requests pillow

After that you should be able to just run the app.py then on port 5000 of the machine you put it on it should show the site ready to use.

Usage

Its really quite simple where you either enter your zoom, start lat and lon, and end lat and lon, or just use the box tool and enter your zoom level. After that seclect "Start Download" where a progress bar will show how many tiles it has downloaded, once complete select "Stitch Map" and after some time it will let you download your image. If you happen to refresh the page before download you canfind it under /download/map_X.png (replace X with its real number).

Sometimes the download never completes because some tiles are mising and if that happens just click stitch map and once you download the map refresh the main page.

Once Done

Once you are done with downloading an image always refresh the main page (just in case there are errors)

If you are done with making images it can stay on or you can just stop it by closing the command prompt.

Examples

Oban, Scotland in openbusmap Oban, Scotland (OPNVKARTE)

Roantra, West Uletha in OGF carto Roantra, West Uletha in OGF carto

KFC sponsored dicatatorship in Arhet-Carto KFC sponsored dicatatorship in Arhet-Carto

Linlithgow, Humanitarian Linlithgow in Humanitarian style

Belfast city centre, OSM France Belfast city centre in OSM France style

About

OGF Image/tile downloader and stitcher

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors