geoimport
    Preparing search index...

    Function fromTable

    • Convert a table (described by an array of objects) to a binary tabular file (ODS or XLSX).

      This is a wrapper around 'ogr2ogr'.

      Parameters

      • table: Record<string, unknown>[]

        The data to convert.

      • format: SupportedTabularFormat

        The format to convert to (among the following values: 'ODS' and 'XLSX').

      Returns Promise<File>

      • The resulting File.
      • If the format is not supported or if there is an error while creating resulting file.