4748495051525354
Geometry intersection = geo1.intersection(geo2); return new GeoSPARQLWktSerializer().toLiteral(intersection); } else { throw new TypeErrorException("Intersection Function expects exactly 2 arguments: two geometry objects."); } }
4546474849505152
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.equals(geo2)); } else { throw new TypeErrorException("Equals Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.relate(geo2, "FFTFTTTTT")); } else { throw new TypeErrorException("Externally connected Function expects exactly 2 arguments: two geometry objects."); } }
Geometry difference = geo1.difference(geo2); return new GeoSPARQLWktSerializer().toLiteral(difference); } else { throw new TypeErrorException("Difference Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.relate(geo2, "TFFTFFTTT")); } else { throw new TypeErrorException("Non-Tangential proper part Function expects exactly 2 arguments: two geometry objects."); } }
4849505152535455
Geometry buffer = geo.buffer(radius); return new GeoSPARQLWktSerializer().toLiteral(buffer); } else { throw new TypeErrorException("Buffer Function expects exactly 3 arguments: a geometry object, a radius and a unit."); } }
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.relate(geo2, "TTTFTTFFT")); } else { throw new TypeErrorException("Tangential proper part inverse Function expects exactly 2 arguments: two geometry objects."); } }
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.relate(geo2, "TTTTTTTTT")); } else { throw new TypeErrorException("Partially overlapping Function expects exactly 2 arguments: two geometry objects."); } }
String pattern = args[2].toString(); return new Boolean(geo1.relate(geo2, pattern)); } else { throw new TypeErrorException("Relate Function expects exactly 3 arguments: two geometry object and a pattern string."); } }
Geometry geo2 = GeoHelper.getGeoSPARQLGeometry(args[1]); return new Boolean(geo1.relate(geo2, "TTTFFTFFT")); } else { throw new TypeErrorException("Non-Tangential proper part inverse Function expects exactly 2 arguments: two geometry objects."); } }