mapbox / vector-tile-spec

Mapbox Vector Tile specification
https://www.mapbox.com/vector-tiles/specification/
Other
892 stars 210 forks source link

Streaming Vector Tiles #11

Closed hallahan closed 10 years ago

hallahan commented 10 years ago

Being that a layer set can be constructed by concatenating vector tiles for z/x/y from multiple sources, one could go a step further and concatenate layers gradually through a socket or a websocket connection.

This could be very useful if we are constructing the contents of a tile that is non-determinate and not pre-composed.

Thinking one step further, the z/x/y of a vector tile could be thought of more as a subscription end point, and real-time data could be routed to an appropriate set of vector tiles so that the renderers will automatically show what needs to be shown.

Have there been any experiments in this direction?

kkaefer commented 10 years ago

You are absolutely correct in your observations that a tile is really just a set of independent layer messages. While we haven't done any tests with streaming tiles so far, this should definitely be within the realm of things vector tiles following this spec can do.