Update tegola for latest nidus changes

This commit is contained in:
Eli Ribble 2026-03-11 15:51:49 +00:00
parent 0c81e455dc
commit 3e66d11c7a
No known key found for this signature in database
3 changed files with 10 additions and 10 deletions

View file

@ -73,21 +73,21 @@ srid = 4326 # The default srid for this provider. If not provided it
geometry_fieldname = "location"
geometry_type="point"
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!"
sql = "SELECT address_raw, created, id, ST_AsMVTGeom(location, !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!"
sql = "SELECT address_raw, created, id, ST_AsMVTGeom(location, !BBOX!) AS location, public_id, status FROM publicreport.report_location WHERE table_name = 'nuisance' AND location && !BBOX!"
[[providers.layers]]
name = "pool_location"
name = "water_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!"
sql = "SELECT address_raw, created, id, ST_AsMVTGeom(location, !BBOX!) AS location, public_id, status FROM publicreport.report_location WHERE table_name = 'water' AND location && !BBOX!"
[[maps]]
name = "rmo"
@ -99,7 +99,7 @@ center = [-119.175, 36.24, 11.0]
#max_zoom = 20
[[maps.layers]]
provider_layer = "rmo.pool_location"
provider_layer = "rmo.water_location"
#min_zoom = 5
#max_zoom = 20

8
flake.lock generated
View file

@ -316,17 +316,17 @@
"proj": "proj"
},
"locked": {
"lastModified": 1772850683,
"narHash": "sha256-Fcirvq8hBzkJo3XxEFKIwYWMpY7O0LVaU0WcbYR9j9A=",
"lastModified": 1773244212,
"narHash": "sha256-FGR1UOfgsYXsurRSzSNkiLzvW+s+ck3LmLbcLfGr5OE=",
"owner": "Gleipnir-Technology",
"repo": "nidus-sync",
"rev": "4972dd05ee29181cfea2b9a2608f12b0f9ad0726",
"rev": "edcb48f84f49d44bbff3e1bb83c4182db932f4e7",
"type": "github"
},
"original": {
"owner": "Gleipnir-Technology",
"repo": "nidus-sync",
"rev": "4972dd05ee29181cfea2b9a2608f12b0f9ad0726",
"rev": "edcb48f84f49d44bbff3e1bb83c4182db932f4e7",
"type": "github"
}
},

View file

@ -27,7 +27,7 @@
type = "github";
owner = "Gleipnir-Technology";
repo = "nidus-sync";
rev = "4972dd05ee29181cfea2b9a2608f12b0f9ad0726";
rev = "edcb48f84f49d44bbff3e1bb83c4182db932f4e7";
};
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";