tilezen/tile-hash-proxy

Name: tile-hash-proxy

Owner: Tilezen

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

Created: 2016-01-04 19:40:54.0

Updated: 2016-06-27 17:39:52.0

Pushed: 2017-10-18 13:41:45.0

Homepage: null

Size: 6

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

on 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.