Fix highlight tile query

This commit is contained in:
Tom Russell 2018-09-30 21:53:57 +01:00
parent e98d589683
commit 48a98ff610

View File

@ -34,7 +34,7 @@ router.get('/highlight/:z/:x/:y.png', function(req, res) {
const bbox = get_bbox(req.params) const bbox = get_bbox(req.params)
const table_def = `( const table_def = `(
SELECT SELECT
g.geometry_id = ${geometry_id}) as focus, g.geometry_id = ${geometry_id} as focus,
b.location_number as location_number, b.location_number as location_number,
g.geometry_geom g.geometry_geom
FROM FROM