Click or drag to resize

DATASET Statement

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

The DATASET statement sets an optional attribute that can be used to identify the dataset to which this GBFS file belongs.

The DATASET name is written into the created GBFS file. This name is not used by GeoBase, but is available to your applications as the Name property of any SimpleRepository that references the GBFS file. This can be useful, for example, if you need to differentiate between different GBFS files. If you do not supply a DATASET name, the value of the Name property on any SimpleRepository that references the GBFS file will be an empty string.

The DATASET 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 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

Syntax

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

Alchemy
DATASET value;

Nomenclature

valueThe desired value for the dataset attribute.

Example

Alchemy
DATASET "Hawaii";
COUNTRY "USA";