IBM Streams 4.2

Namespace com.ibm.streams.geospatial.st

Functions

  • area(T): Computes the area of the provided geometry, is always 0.0 for 0-d and 1-d objects. Area is computed on the spherical earth model for 2-d geometries. In case of an exception, -1 will be returned and the exception logged.
  • azimuth(T, T): Computes the azimuth between two points expressed in WGS84 coordinates, the input points are in WKT format.
  • contains(T, T): Determines if the first geometry contains the second geometry, geometries are specified in WKT format.
  • distance(T, T): Computes the shortest distance in meters between given geometries in WKT format on the spherical earth model.
  • intersects(T, T): Computes if the two geometries intersect, resulting in either true/false as the output.
  • isValid(T): Validates the given input geometry, the input is in WKT format and the output is a true/false
  • toGeoJSON(T): Convert the given WKT formatted geometry to a GeoJSON format.
  • within(T, T): Returns true if the first geometry is within the second.