Page MenuHomePhabricator

Add field descriptions to vector tile tilejson
Open, LowestPublic


It violates the TileJSON spec, but Mapbox Studio Classic expects an object with a key of vector_layers in

The usual way to do this is have a fields key in the yaml for each layer, e.g.

- id: landmark_polygon
    table: ...
    type: postgis
  minzoom: 6
  description: Area features for background drawing
    landmark: Landmark type
    "buffer-size": 2
  srs: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over

This then gets added to the tilejson by the serving software.

See and for more details

Event Timeline

Pnorman created this task.Mar 9 2017, 12:49 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 9 2017, 12:49 AM
Pnorman triaged this task as Lowest priority.Jul 10 2018, 4:35 PM