Fixed table naming

This commit is contained in:
antoniocarlon 2018-07-23 12:21:48 +02:00
parent 42226aa263
commit 01aea9e698

View File

@ -652,8 +652,8 @@ BEGIN
format( format(
$query$ $query$
SELECT ROUND(AVG(x)) AS x, ROUND(AVG(y)) as y SELECT ROUND(AVG(x)) AS x, ROUND(AVG(y)) as y
FROM tiler.xyz_us_mc_tiles_temp_%1$s_%2$s FROM %3$s_%1$s_%2$s
$query$, mc_geography_level, z) $query$, mc_geography_level, z, tiler_table_prefix)
INTO avg_x, avg_y; INTO avg_x, avg_y;
IF area_normalized THEN IF area_normalized THEN