What would it need to serve live rendered tiles (such as in mod_tile / Tirex) with UTFgrid .json files? mod_tile does not seem to support UTFgrid. Does Tirex? TileStream only can serve pre-rendered MBtiles. Is there any working alternative? |
TileMill actually can be used as an tileserver. Edit the config.json and add the following (as shown in the TileMill docs) "listenHost": "0.0.0.0", "coreUrl": "127.0.0.1:20009", "tileUrl": "0.0.0.0:20008", "server": true Tiles then would be surfed under for example: http://0.0.0.0:20008/tile/ProjectName/z/x/y.png and the UTFgrid info under |
The easiest way to get the {tirex|renderd}/mod_tile toolchain to support per-tile metadata - UTFgrid, Metawriter, or others - would probably be to extend the meta tiles used by these systems, which currently contain the PNG data only, to also include the extra data. Since these systems usually render a larger area - typically, 8x8 tiles - in one go for performance reasons, and cut up the resulting PNG into tiles afterwards, you'd have to make sure the metadata is treated similarly. |