Is valid Ontology GeoPoint

Supported in: Batch, Streaming

Returns true if the input is a valid Ontology GeoPoint. Ontology GeoPoints are strings of the format '{lat},{lon}', where -90 <= lat <= 90 and -180 <= lon <= 180.

Expression categories: Geospatial

Declared arguments

  • Expression - String to test.
    Expression<String>

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Expression: geopoint
geopointOutput
-35.307428203,149.122686883true
149.122686883,-35.307428203false
10.0, 20.0true
10.0, 20.0true
not a GeoPointfalse
nullfalse
(10.0,20.0)false