Update tegola configuration to show new RMO report types

This commit is contained in:
Eli Ribble 2026-02-06 18:05:12 +00:00
parent ce0af0e543
commit 8267f657c3
No known key found for this signature in database

View file

@ -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