Convert GeoPoint to geometry

Supported in: Batch, Streaming

Convert GeoPoint to a GeoJSON of type point.

Expression categories: Geospatial

Declared arguments

  • Expression - A valid GeoPoint.
    Expression<GeoPoint>

Output type: Geometry

Examples

Example 1: Base case

Argument values:

  • Expression: geoPoint
geoPointOutput
{
 latitude -> 58.0,
 longitude -> 32.0,
}
{"type":"Point","coordinates": [32.0, 58.0]}
nullnull
{
 latitude -> 40.753206,
 longitude -> -73.989015,
}
{"type":"Point","coordinates": [-73.989015, 40.753206]}