diff --git a/lib/Ora2Pg/PLSQL.pm b/lib/Ora2Pg/PLSQL.pm index 19f3a55d..46858dea 100644 --- a/lib/Ora2Pg/PLSQL.pm +++ b/lib/Ora2Pg/PLSQL.pm @@ -1946,6 +1946,8 @@ sub replace_sdo_function $str =~ s/SDO_POINTONSURFACE/ST_PointOnSurface/igs; $str =~ s/SDO_UNION/ST_Union/igs; $str =~ s/SDO_XOR/ST_SymDifference/igs; + # SDO_CS.TRANSFORM(geom, srid) + $str =~ s/\bSDO_CS\.TRANSFORM\(/ST_Transform\(/igs; # Note that with ST_DumpPoints and : # TABLE(SDO_UTIL.GETVERTICES(C.GEOLOC)) T