pg_tileserv
Service Metadata
Table Layers
Function Layers
-
tileserv.maplayer_boundary_uk_districts (preview | json)
The District boundaries. [geodata.la.area_code DIS] Returns no results if z < 7) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_uk_local_authorities (preview | json)
The Local Authority boundaries. [geodata.la.area_codes CTY, LBO, UTA & MTD] Returns no results if z < 5) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_uk_parishes (preview | json)
The Parish boundaries. Returns no results if z < 9) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_uk_wards_and_ua_eds (preview | json)
The Ward (DIW, LBW, MTW & UTW) and UA ED (UTE) boundaries. Returns no results if z < 9) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_us_cities (preview | json)
The US City boundaries. [geodata.la.area_code US_CITY] Returns no results if z < 7) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_us_counties (preview | json)
The US County boundaries. [geodata.la.area_code US_COUNTY] Returns no results if z < 7) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_us_districts (preview | json)
The US Congressional or DOT District boundaries. [geodata.la.area_code US_DIS] Returns no results if z < 5) (Lines are generalised depending on z)
-
tileserv.maplayer_boundary_us_states (preview | json)
The US State boundaries. [geodata.la.area_code US_STATE] Returns no results if z < 5) (Lines are generalised depending on z)
-
tileserv.maplayer_bridge_and_road_restrictions (preview | json)
The Bridge and Road Restrictions [No results if z < 11] [Lines are generalised depending on z]
-
tileserv.maplayer_buriedassets (preview | json)
The Buried Assets. Valid OrgansiationID inputs are 1 (Elgin), 112 (Hibernia Networks ) or 3077 (Morrison Energy Services). [No results if z < 4]
-
tileserv.maplayer_carparks (preview | json)
The Car Park points [No results if z < 11]
-
tileserv.maplayer_cctv (preview | json)
The CCTV camera points (Returns no results if z < 9)
-
tileserv.maplayer_closures_and_restrictions (preview | json)
Returns the current/live/future Closures and Restriction Items from prd db. Called from the tileserv.maplayer_closures_and_restrictions control proc. Gets the dynamic SQL query to run from tileserv.maplayer_closures_and_restrictions_current_getsql. [No results if z < 9]
-
tileserv.maplayer_closures_and_restrictions_current (preview | json)
-
tileserv.maplayer_closures_and_restrictions_current_htdd (preview | json)
Returns the HTDD Closures and Restriction Items that are on prd. Targets data schema on prd. All historic TM Closures and Restriction Items are included in this layer. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_closures_and_restrictions_htdd (preview | json)
Returns the HTDD Closures and Restriction Items [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_closures_and_restrictions_realtime (preview | json)
Returns the Realtime Closures and Restriction data for TomTom (entitytype=7) and Waze (entitytype=9, currently no RCs etc for Waze so hardcoded to returns no results) (no results if z < 9) (FDW linked version: requires FDW schema data_prd_db).
-
tileserv.maplayer_closures_and_restrictions_trafficreplay (preview | json)
Returns the Traffic Replay closures and restrictions (no results if z < 9)
-
tileserv.maplayer_district_boundaries (preview | json)
The District boundaries. [geodata.la.area_code DIS] Returns no results if z < 7) (Lines are generalised depending on z)
-
tileserv.maplayer_gritting_routes (preview | json)
The Winter Gritting Routes [No results if z < 12] [Lines are generalised depending on z]
-
tileserv.maplayer_hs2_boundaries (preview | json)
The HS2 boundaries. [1 = HS2 boundaries, 2 = HS2 construction sites] [No results if z < 9] [Lines are generalised depending on z]
-
tileserv.maplayer_incidents (preview | json)
Returns the Incidents: This is the layer control proc that is called by the FE and depending whether the query is for current or historic incidents (based on the start date) the query is routed to the current or httd procs. [No results if z < 4]
-
tileserv.maplayer_incidents_current (preview | json)
Returns the live/current incidents: This proc runs on prd dbs and targets the data.entity_mapping_incidents table. [No results if z < 4]
-
tileserv.maplayer_incidents_current_htdd (preview | json)
Returns the HTDD Incidents that are on prd. Targets data schema on prd. All historic TM Incidents are included in this layer. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_incidents_htdd (preview | json)
Returns the HTDD incidents: This proc runs on archive dbs and targets the archive schema. All TM Incidents are excluded from this layer. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_incidents_realtime (preview | json)
Returns the Realtime Incidents data for TomTom (entitytype=7) and Waze (entitytype=9) (FDW linked version: requires FDW schema data_prd_db).
-
tileserv.maplayer_incidents_trafficreplay (preview | json)
Returns the Traffic Replay Incidents
-
tileserv.maplayer_level_crossings (preview | json)
The Level Crossing points [No results if z < 11]
-
tileserv.maplayer_local_authority_boundaries (preview | json)
RW email alert: A LU of the industry type of the RW alert recipient
-
tileserv.maplayer_nsg_lanerental (preview | json)
The Lane Rental NSG map layer [No results if z < 12] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_permitstreets (preview | json)
The Permitable Streets NSG map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_prow (preview | json)
The NSG Public Rights of Way (PRoW) map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_reinstatementdesignation (preview | json)
The Reinstatement Designation NSG map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_roadstatus (preview | json)
The Road Status NSG map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_specialdesignation (preview | json)
The Special Designation NSG map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_nsg_streets (preview | json)
The NSG (unthemed) map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_parish_boundaries (preview | json)
The Parish boundaries. Returns no results if z < 9) (Lines are generalised depending on z)
-
tileserv.maplayer_poi (preview | json)
The POIs. Including EV Charging points, Hospitals, Schools, SSSIs. See geodata.poi table. [No results if z < 6] [Lines are generalised depending on z]
-
tileserv.maplayer_priority_routes (preview | json)
The NSG Priority Routes (aka Road Hierachy) map layer [No results if z < 16] [Lines are generalised depending on z]
-
tileserv.maplayer_public_consultations (preview | json)
[DEPRECATED - legacy Buchanan source; use tileserv.maplayer_public_consultations_tro] The Public Consultations layer [No results if z < 13]
-
tileserv.maplayer_public_consultations_tro (preview | json)
Public Consultations layer as MVT sourced from the TRO module (Martin function source; MVT layer 'default'; no results if z < 13)
-
tileserv.maplayer_public_events (preview | json)
Returns the Public Events: This is the layer control proc that is called by the FE and depending whether the query is for current or historic PEs (based on the start date) the query is routed to the current or httd procs. [No results if z < 9]
-
tileserv.maplayer_public_events_current (preview | json)
Returns the Public Events and Covid entities for current PEs on prd dbs. Runs a dymamic SQL string created in maplayer_public_events_current_getsql. [Noresults if z < 9]
-
tileserv.maplayer_public_events_current_htdd (preview | json)
Returns the HTDD Public Events and Covid Entities. Targets data schema on prd. All historic TM PEs are included in this layer. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_public_events_htdd (preview | json)
Returns the HTDD Public Events. This proc runs on archive dbs and targets the archive schema. All TM PEs are excluded from this layer. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_public_transport_bus_stops (preview | json)
Public Bus stops layer
-
tileserv.maplayer_roadworks (preview | json)
Returns the Roadworks: This is the layer control proc that is called by the FE and depending whether the query is for current or historic RWs (based on the start date) the query is routed to the current or httd procs. [No results if z < 10]
-
tileserv.maplayer_roadworks_current (preview | json)
Returns the current/live/future Roadworks from prd db. Called from the tileserv.maplayer_roadworks control proc. Gets the dynamic SQL query to run from tileserv.maplayer_roadworks_current_getsql. [No results if z < 10]
-
tileserv.maplayer_roadworks_current_htdd (preview | json)
Returns the historic Roadworks that are still on prd db plus all the TM RW. Called from the tileserv.maplayer_roadworks control proc. Gets the dynamic SQL query to run from tileserv.maplayer_roadworks_current_htdd_getsql. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_roadworks_htdd (preview | json)
Returns the historic Roadworks from archive db. Called from the tileserv.maplayer_roadworks control proc. Gets the dynamic SQL query to run from tileserv.maplayer_roadworks_htdd_getsql. [No results if z < zoomthreshold_filter, where the threshold is dependent on number of years in search span]
-
tileserv.maplayer_roadworks_realtime (preview | json)
Returns the Realtime Roadworks data for TomTom (entitytype=7) and Waze (entitytype=9, currently no RWs for Waze hardcoded to returns no results) (no results if z < 9) (FDW linked version: requires FDW schema data_prd_db).
-
tileserv.maplayer_roadworks_trafficreplay (preview | json)
Returns the Traffic Replay Roadworks (no results if z < 9)
-
tileserv.maplayer_route_monitor_routes (preview | json)
The Route Monitor Routes. [No results if z < 5] [Lines are generalised depending on z]
-
tileserv.maplayer_routes (preview | json)
The Lorry/Strategic/Bus Routes. [No results if z < 9] [Lines are generalised depending on z]
-
tileserv.maplayer_s58_restrictions (preview | json)
The S58 and S85 Restrictions [No results if z < 9] [Lines are generalised depending on z]
-
tileserv.maplayer_traffic_orders (preview | json)
Traffic Orders layer as MVT — enforceable (in-force) restrictions only; no draft path (Martin function source; MVT layer 'tro_restrictions')
-
tileserv.maplayer_traffic_orders_draft (preview | json)
Traffic Orders DRAFT overlay as MVT — one order's non-enforceable restrictions (is_draft=true). Authorised hedgehog endpoint only; never a Martin source.
-
tileserv.maplayer_traffic_orders_mvt (preview | json)
Shared MVT worker for Traffic Orders tiles (live + draft). Not a Martin source.
-
tileserv.maplayer_traffic_regulation_orders (preview | json)
The Traffic Regulation Orders layer [No results if z < 13]
-
tileserv.maplayer_trafficlights (preview | json)
The Traffic Lights layer [No results if z < 13]
-
tileserv.maplayer_us_district_heatmap (preview | json)
The US District works heat map. Returns no results if z < 3) (Lines are generalised depending on z)
-
tileserv.maplayer_us_state_heatmap (preview | json)
The US State works heat map. Returns no results if z < 3) (Lines are generalised depending on z)
-
tileserv.maplayer_vms (preview | json)
The static and TM mobile VMS points [No results if z < 11]
-
tileserv.maplayer_ward_and_ua_ed_boundaries (preview | json)
The Ward (DIW, LBW, MTW & UTW) and UA ED (UTE) boundaries. Returns no results if z < 9) (Lines are generalised depending on z)
-
tileserv.squares (preview | json)