CEMS Rapid Mapping · Spatial Data Endpoints
Vector Tile Discovery & APIs
Dynamic Mapbox Vector Tile (.pbf) generation, OGC layer group introspection, and attribute query endpoints for emergency activations.
Query & Endpoint Console
Presets:
MVT Tile (.pbf)
/vector_tiles/tiles/emsr920_aoi01_builtup_a/{z}/{x}/{y}.pbf
AOI Discovery
/vector_tiles/api/tables/?search=EMSR920_aoi01
Single AOI API
/vector_tiles/api/activation/EMSR920/aoi/1/vector-layers/
All AOIs API
/vector_tiles/api/activation/EMSR920/vector-layers/
Endpoint Reference
| Method | Endpoint Pattern | Description & Specs |
|---|---|---|
| GET | /vector_tiles/tiles/<table>/<z>/<x>/<y>.pbf |
Dynamic PostGIS vector tiles via ST_AsMVT & ST_TileEnvelope.
|
| GET | /vector_tiles/api/tables/?search=<aoi> |
Introspects registered tables in geometry_columns and returns layer bounds.
|
| GET | /vector_tiles/api/activation/<code>/aoi/<num>/vector-layers/ | GeoServer layer groups, WMS, WFS, and GWC WMTS/TMS vector tile URLs for a single AOI. |
| GET | /vector_tiles/api/activation/<code>/vector-layers/ | Published layer groups across all AOIs within a CEMS activation. |
| GET | /vector_tiles/api/tables/<table>/distinct/<col>/ | Unique column values for client-side styling, choropleth breaks, and legend generation. |
| GET | /vector_tiles/api/geojson/?table=<table>&bbox=... | Spatial query returning standard GeoJSON FeatureCollections for non-tiled workflows. |
Caching: Vector tiles are computed directly in PostgreSQL and saved to disk at
static_tiles/<table>/<z>/<x>/<y>.pbf. Repeated client requests bypass the database and are served directly by the web server.