Skip to content

Very simple Python web proxy for accessing hash- and date-prefixed tiles.

License

Notifications You must be signed in to change notification settings

tilezen/tile-hash-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tile Hash Proxy Server

This is a really simple (probably too simple) HTTP proxy server for accessing hash- and date-prefixed tiles in a URL structure which is neither hash- nor date-prefixed. This makes it much simpler for use with things like Tangram, or even for small debugging scripts.

The server aims to be as transparent as possible, including echoing back almost all the headers that the server sent, but is probably buggy in any number of ways.

To run the server, type:

python tile-hash-proxy/__init__.py 8080 20160104 https://s3.amazonaws.com/your-bucket-name

Where 8080 is the port you want to run it on your local machine, 20160104 is the date prefix and https://s3.amazonaws.com/your-bucket-name is the base URL of the bucket (or other server) where you want the prefixed data fetched from.

About

Very simple Python web proxy for accessing hash- and date-prefixed tiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages