Click or drag to resize

OUTPUT Statement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
OUTPUT Statement

The OUTPUT statement sets the name (and location) of the created GBFS (or GBTX) file. The extension '.gbfs' will automatically be appended to the generated GBFS file. If you do not supply an OUTPUT attribute, the generated GBFS file will be named 'user.gbfs' and will be created in the current directory.

To generate a GBTX (transactional) format file (extension '.gbtx') rather than a GBFS, specify 'as GBTX' within the OUTPUT statement.

The OUTPUT attribute is one of the Attributes that can optionally be specified at the start of the import file. All of these attributes are optional, but if you include any, they must be specified in the following order (OUTPUT first, REGIONS last):

  • OUTPUTSets the filename of the output GBFS/GBTX file
    DATASETSets an arbitrary name for this dataset
    COPYRIGHTSets a copyright for this dataset
    COUNTRYSets the name of the country that this dataset represents
    UNITSSets the unit system that this dataset uses - Metric or Imperial
    REGIONSSets the region information for this dataset


The OUTPUT statement must be placed at the start of the .alchemy import file before any other attribute statements, and before any non-attribute statements. Order of the attribute statements is important.

OUTPUT value;


valueThe desired name and location for the created data files.


OUTPUT "C:\myData\NewZealand";

This instructs the script to create the GBFS file 'NewZealand.gbfs' in the 'C:\myData' directory.

To generate a GBTX:

OUTPUT "C:\myData\NewZealand" AS GBTX;

This instructs the script to create a GBTX file 'NewZealand.gbtx' in the 'C:\myData' directory.