NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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...
1.1k314062
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...
1.1k314062
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 ♦
82.5k927201273
accept rate: 23%

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:

×440
×341
×2

question asked: 26 Dec '12, 12:57

question was seen: 3,544 times

last updated: 27 Dec '12, 10:16

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum