UI Sandbox - Investigate alternatives for hosting UtfGrids

Bug #1089276 reported by Ben Wyss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Ben Wyss

Bug Description

Investigate alternatives for hosting UtfGrids

Tags: ui
Revision history for this message
Ben Wyss (bmwyss) wrote :

I have created a Django-MBTiles and a Python-MBtiles server to host MBtiles. Both were easy to set up and seem to work well. The only issue is that they both only seem to server MBtiles in {z}/{x}/{y}.png format. This is suitable when one does not need to have JSON or JSONP interactivity with the tileset.
I also installed TileStream (see documentation for Mac OSX and Ubuntu 12.04: http://benwyss.com/2012/12/11/setting-up-tilestream-on-mac-osx-ubuntu-12-04/ )
TileStream servers tiles sets in both {z}/{x}/{y}.png and JSON format.
TileStream also has a --host flag so TileStream will only responds to requests on hosts that it recognizes. We can pass a JSON config file with the --config option that will contain a lost of hosts that are allowed. In production it might make sense to have a tile server on say :8000 which responds only to localhost and then have Apache act as a front end.

Ben Wyss (bmwyss)
Changed in openquake:
status: New → Confirmed
Revision history for this message
Ben Wyss (bmwyss) wrote :
Ben Wyss (bmwyss)
Changed in openquake:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.