Skip to content

Commit 8dce39f

Browse files
authored
Fix query in extrusion example (#885)
ERROR: column t.tags does not exist
1 parent 091a0e9 commit 8dce39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/extrusion/tileset.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
"minzoom": 12,
2626
"maxzoom": 20,
27-
"sql": "SELECT id, tags || jsonb_build_object('building:height', (CASE WHEN tags ->> 'building:levels' ~ '^[0-9\\\\.]+$' THEN tags ->> 'building:levels' ELSE '1' END)::real * 3), geom FROM osm_ways WHERE tags ? 'building'"
27+
"sql": "SELECT id, tags || jsonb_build_object('building:height', (CASE WHEN tags ->> 'building:levels' ~ '^[0-9\\\\.]+$' THEN tags ->> 'building:levels' ELSE '1' END)::real * 3) as tags, geom FROM osm_ways WHERE tags ? 'building'"
2828
}
2929
]
3030
}

0 commit comments

Comments
 (0)