Changeset: 441d923e7608 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=441d923e7608 Modified Files: geom/sql/40_geom.sql Branch: sfcgal Log Message:
Filter function for IsType (To use instead of ST_Geometry(geom) = 'ST_Polygon', now [geom] IsType ['ST_Polygon] and IsValiD to be used instead of ST_IsValid(geom), now [geom] IsValid [<fake polygon like ST_MakePoint(1.0, 1.0, 1.0)>]. The IsValid should in the future drop the fake Polygon since it is not used diffs (9 lines): diff --git a/geom/sql/40_geom.sql b/geom/sql/40_geom.sql --- a/geom/sql/40_geom.sql +++ b/geom/sql/40_geom.sql @@ -4480,3 +4480,5 @@ CREATE filter function DWithin(geom1 Geo CREATE filter function DWithin(geom1 Geometry, x double, y double, z double, srid int, dist double) external name geom."DWithin"; CREATE filter function Contains(geom1 Geometry, geom2 Geometry) EXTERNAL NAME geom."Contains"; CREATE filter function Contains(geom1 Geometry, x double, y double, z double, srid int) EXTERNAL NAME geom."Contains"; +CREATE filter function IsValidD(geom1 Geometry, geom2 Geometry) EXTERNAL NAME geom."IsValidD"; +CREATE filter function IsType(geom1 Geometry, typ string) EXTERNAL NAME geom."IsType"; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list