Another full qualification of CDB_TransformToWebmercator in CDB_CartodbfyTable
This commit is contained in:
@@ -418,7 +418,7 @@ cname, rec2.typname;
|
|||||||
-- do this only if the_geom was found (not created)
|
-- do this only if the_geom was found (not created)
|
||||||
-- _and_ the_geom_webmercator was NOT found.
|
-- _and_ the_geom_webmercator was NOT found.
|
||||||
IF exists_geom_cols[1] AND NOT exists_geom_cols[2] THEN
|
IF exists_geom_cols[1] AND NOT exists_geom_cols[2] THEN
|
||||||
sql := 'UPDATE ' || reloid::text || ' SET the_geom_webmercator = CDB_TransformToWebmercator(the_geom) ';
|
sql := 'UPDATE ' || reloid::text || ' SET the_geom_webmercator = public.CDB_TransformToWebmercator(the_geom) ';
|
||||||
EXECUTE sql;
|
EXECUTE sql;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user