Get a map layer from a table
Returns metadata and URLs to fetch a map layer built from a table.
A tilejson URL is always included. Other formats are included depending on the size of the table — large tables only offer tiles.
Path parameters
Name of the connection to use.
Query parameters
Fully qualified table name.
Column holding the geometry or spatial index. Defaults to geom. Required from v=3.3 onwards.
Type of the spatial column. Defaults to geo. Required from v=3.3 onwards.
Legacy way to select the geometry column, in the form [spatialIndexType:]columnName. Use spatialDataColumn and spatialDataType instead — from v=3.3 this parameter returns 400.
Comma-separated list of columns to return.
Return a single format instead of the full response.
Resolution of the generated tiles.
API version. From 3.3, spatialDataColumn and spatialDataType replace geo_column.
Response
Map layer metadata and download URLs.