Skip to content

Commit

Permalink
Fix query in extrusion example (#885)
Browse files Browse the repository at this point in the history
ERROR: column t.tags does not exist
  • Loading branch information
yagagagaga authored Jul 3, 2024
1 parent 091a0e9 commit 8dce39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/extrusion/tileset.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"minzoom": 12,
"maxzoom": 20,
"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'"
"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'"
}
]
}
Expand Down

0 comments on commit 8dce39f

Please sign in to comment.