Fix transformation to webmercator in corner cases #116

This commit is contained in:
Rafa de la Torre 2015-08-19 19:37:50 +02:00
parent 74e6807c2f
commit 5dd497bf20

View File

@ -910,9 +910,7 @@ BEGIN
|| postgis_typmod_type(a.atttypmod)
|| ', 4326) AS '
|| const.geomcol
|| ', ST_Transform('
|| a.attname
|| ',3857)::Geometry('
|| ', cartodb.CDB_TransformToWebmercator(' || a.attname || ')::Geometry('
|| postgis_typmod_type(a.atttypmod)
|| ', 3857) AS '
|| const.mercgeomcol,