Documentation

geo.toRows() function

The geo.toRows() function is experimental and subject to change at any time. By using this function, you accept the risks of experimental functions.

The geo.toRows() function pivots data into row-wise sets base on time. For geo-temporal datasets, output rows include lat and lon columns required by many Geo package functions.

import "experimental/geo"

geo.toRows()

Parameters

tables

Input data. Default is piped-forward data (<-).

Examples

import "experimental/geo"

from(bucket: "example-bucket")
    |> range(start: -1h)
    |> filter(fn: (r) => r._measurement == "example-measurement")
    |> geo.toRows()

Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.