Vector Tiles

Studio

The Studio Platform supports vector tiled datasets encoded in the Mapbox Vector Tile format.

What Are Vector Tiles?

The geospatial industry has long relied on tiling as a way to deal with the massive size of geospatial datasets. Vector Tiles use spatial distribution of the data to break it into increasingly finer tiles covering smaller and smaller geospatial subsets of the data. Applications then load only the tiles they need to cover the current viewport with an appropriate level of detail.

A well-tiled vector tile dataset is visually very similar to the visualization generated by loading the full data table, but loads much faster.

Studio loads the vector tiles dynamically to match the userโ€™s experience. As the user zooms and pans around the map, the server delivers the appropriate chunk of information from the dataset.

Vector Tile Benefits

  • Big datasets - When working with geometry-equipped datasets of a substantial size (~250MB-1GB), loading them fully into Studio or any other geospatial platform can be problematic. Vector Tiles provide a lossless way around that.
  • Performance - Maps with Vector Tiles are typically significantly faster to load than maps referencing the original datasets. Those viewing your published map will not be waiting around for the map to load.
  • Time savings - Users no longer need to leave the platform or play with third-party tools to create vector tiles from their tabular datasets. Create vector tiles in just a couple clicks, or use our developer API tools to integrate vector tiling as part of your teamโ€™s workflow.
  • Secure Data Hosting - By default, the generated tilesets are securely hosted by Foursquare and integrates with Foursquareโ€™s existing authentication system, which can integrate with your companyโ€™s single sign-on solution.
  • Publishing - Vector tiles are a great choice for published maps, which can be shared with others directly or embedded in blogs and websites. With snappy loading and minimal impact to performance, Studio can stay immersed in your website without waiting for maps to load or being sent to a new tab/application.

TileJSON Support

โœ…

Created during generation

Whenever you generate vector tiles in Studio, a TileJSON file containing metadata is created and saved to your Foursquare Studio account.

When loading a vector tiled dataset, Studio will load the associated TileJSON if it is available.

TileJSON files contains metadata about data properties (columns), including names, types and ranges, enabling improved analytics and visualization features.

Color ScaleWithout MetadataWith MetadataMetadata Requirements
Custom Breaksโœ…โœ…None (the user specifies the ranges)
QuantizeโŒโœ…Needs the global min and max value of each column. This metadata is stored during vector tile generation.
QuantileโŒโŒWould need all values in a column to create equal-size bins. This is too much data to save as metadata.
Jenks Natural BreaksโŒโŒWould need all values in a column to enable clustering. This is too much data to save as metadata.
CategoricalโŒโœ…Needs a range of all discrete values for a column. This is saved in metadata for columns with less than 1000 discrete values.
Dynamic Colorโœ…โœ…Works on data in viewport. No metadata required.

Resources

We have developed a couple resource assist in your experience with Vector Tiles in Foursquare Studio: