Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.
/ osm-api-cache Public archive

openstreetmap caching server with api

License

Notifications You must be signed in to change notification settings

kirchenreich/osm-api-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osm-api-cache

mission

create a fast and reliable cache for Openstreetmap elements (nodes, ways, relations) if your application is not using the full osm database.

requirements

  • Python 3.3+
  • see requirements.txt

settings

add the following settings to credentials.py

POSTGRES_USERNAME = 'osmcache'
POSTGRES_DBNAME = 'osmcache'
POSTGRES_PASSWORD = 'password'

TEST_POSTGRES_USERNAME = 'test_osmcache'
TEST_POSTGRES_DBNAME = 'test_osmcache'
TEST_POSTGRES_PASSWORD = 'password'

usage

help

python osmcache --help

initial db creation

python osmcache.py initdb

About

openstreetmap caching server with api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages