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?

asked 26 Dec '12, 12:57

AddisMap_Alexander's gravatar image

AddisMap_Ale...
950283755
accept rate: 0%

edited 26 Dec '12, 12:57


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

http://0.0.0.0:20008/tile/ProjectName/z/x/y.grid.json

permanent link

answered 26 Dec '12, 13:16

AddisMap_Alexander's gravatar image

AddisMap_Ale...
950283755
accept rate: 0%

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.

permanent link

answered 27 Dec '12, 10:16

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
70.0k806341097
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×385
×312
×2

question asked: 26 Dec '12, 12:57

question was seen: 2,649 times

last updated: 27 Dec '12, 10:16

powered by OSQA