Skip to content

Latest commit

 

History

History
95 lines (59 loc) · 2.8 KB

README.md

File metadata and controls

95 lines (59 loc) · 2.8 KB

@basemaps/lambda-tiler

Lambda server for xyz map generation to provide apis for serving both raster and vector map.

APIs

All available APIs are defined in the index.ts

Host: https://basemaps.linz.govt.nz/

Server APIs

Validate the server status, health, version which is using for the ci/cd.

xyz tile generation API

Get a tile from the xyz and format for map generation, support both vector and raster tileSet.

Example:

/v1/tiles/topographic/WebMercatorQuad/2/1/1.pbf - Vector Tile
/v1/tiles/aerial/WebMercatorQuad/6/0/38.webp - Raster Tile

Imagery Metadata API

Fetch the imagery metadata based on the imageryId

Examples:

/v1/imagery/:imageryId/source.geojson - Source boudning boxes
/v1/imagery/:imageryId/covering.geojson - Output tile bounding boxes
/v1/imagery/:imageryId/cutline.geojson - Cutline used ont he imagery set
/v1/imagery/:imageryId/collection.json - STAC Collection
/v1/imagery/:imageryId/15-32659-21603.json - STAC Item

Config APIs

Fetch the imagery and tile set configurations

Sprite and Fonts APIs

To get the fonts and sprites for the vector map.

StyleJSON and TileJSON APIs

Get the style json and tile json for the vector map.

Preview APIs

Serve a preview of a imagery set

Attribution APIs

Get attribution json for the map attributions.

WMTS Capabilities APIs

Get WMTS xml from the server to support QGIS and Arcgis