From 8267f657c3f39b9f214330e8e5cfa3dc5f422a8f Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 6 Feb 2026 18:05:12 +0000 Subject: [PATCH] Update tegola configuration to show new RMO report types --- configs/tegola.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/configs/tegola.toml b/configs/tegola.toml index aa65264..9baa63e 100644 --- a/configs/tegola.toml +++ b/configs/tegola.toml @@ -56,6 +56,20 @@ srid = 4326 # The default srid for this provider. If not provided it id_fieldname = "id" sql = "SELECT address, created, id, ST_AsMVTGeom(location::geometry, !BBOX!) AS location, public_id, status, table_name FROM publicreport.report_location WHERE location && !BBOX!" + [[providers.layers]] + name = "nuisance_location" + geometry_fieldname = "location" + geometry_type="point" + id_fieldname = "id" + sql = "SELECT address, created, id, ST_AsMVTGeom(location::geometry, !BBOX!) AS location, public_id, status FROM publicreport.report_location WHERE table_name = 'nuisance' AND location && !BBOX!" + + [[providers.layers]] + name = "pool_location" + geometry_fieldname = "location" + geometry_type="point" + id_fieldname = "id" + sql = "SELECT address, created, id, ST_AsMVTGeom(location::geometry, !BBOX!) AS location, public_id, status FROM publicreport.report_location WHERE table_name = 'pool' AND location && !BBOX!" + [[maps]] name = "nidus" center = [-119.175, 36.24, 11.0] # set the center of the map so the user is auto navigated to visalia @@ -85,6 +99,16 @@ center = [-119.175, 36.24, 11.0] #min_zoom = 5 #max_zoom = 20 + [[maps.layers]] + provider_layer = "mosquito.nuisance_location" + #min_zoom = 5 + #max_zoom = 20 + + [[maps.layers]] + provider_layer = "mosquito.pool_location" + #min_zoom = 5 + #max_zoom = 20 + [[maps.layers]] provider_layer = "mosquito.report_location" #min_zoom = 5