Changeset: 862c11db7f06 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=862c11db7f06
Modified Files:
        geom/monetdb5/geom.mal
Branch: sfcgal
Log Message:

Typo in the mal commands


diffs (31 lines):

diff --git a/geom/monetdb5/geom.mal b/geom/monetdb5/geom.mal
--- a/geom/monetdb5/geom.mal
+++ b/geom/monetdb5/geom.mal
@@ -775,7 +775,7 @@ command WithinWKB(a:bat[:wkb], b:bat[:wk
 comment "Returns TRUE if the geometry A is completely inside geometry B";
 
 function Within(a:bat[:wkb], b:bat[:wkb]) :bat[:bit];
-    res := WithinWKB(a, b, 0:dbl);
+    res := WithinWKB(a, b, nil:wkb);
     return res;
 end Within;
 
@@ -980,14 +980,14 @@ command IntersectsWKB(a:bat[:wkb], b:bat
 comment "Returns true if these Geometries 'spatially intersect in 2D'";
 
 function Intersects(a:bat[:wkb], b:bat[:wkb]) :bat[:bit];
-    res := wkbIntersectsWKB(a, b, 0:dbl);
+    res := IntersectsWKB(a, b, nil:wkb);
     return res;
 end Intersects;
 
-function Intersects(a:bat[:wkb], w:wkb) :bat[:bit];
-    res := wkbIntersectsWKB(a, nil:bat, w);
+function Intersectssubselect(a:bat[:wkb], w:wkb) :bat[:bit];
+    res := IntersectsWKB(a, nil:bat, w);
     return res;
-end Intersects;
+end Intersectssubselect;
 
 command Intersects3D(g:bat[:wkb], dxBAT:bat[:dbl], dx:dbl, dyBAT:bat[:dbl], 
dy:dbl, dzBAT:bat[:dbl], dz:dbl, srid:int) :bat[:bit] address 
wkbIntersectsXYZ_bat
 comment "Returns true if these Geometries 'spatially intersect in 2D'";
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to