Skip to content

paulmelis/osmcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSMCache

Simple tile caching server for OpenStreetMap tiles.

  • Stores each retrieved OSM tile PNG image on disk
  • Serves tiles from cache, if available
  • Respects the OSM Tile Usage Policy

A local cache can be faster in providing often-used tiles, especially when doing development cycles that retrieve the same tiles repeatedly.

Usage

$ ./serve.py [port]

Serves tiles (by default on port 8888) under URL /tile/<zoom>/<x>/<y>. See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames for meaning of zoom, x and y parameters.

Dependencies

  • flask
  • gevent
  • requests

About

A local caching server for OpenStreetMap tiles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages