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):
OUTPUT | Sets the filename of the output GBFS file |
DATASET | Sets an arbitrary name for this dataset |
COPYRIGHT | Sets a copyright for this dataset |
COUNTRY | Sets the name of the country that this dataset represents |
UNITS | Sets the unit system that this dataset uses - Metric or Imperial |
REGIONS | Sets the region information for this dataset |
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.
DATASET value;
value | The desired value for the dataset attribute. |
DATASET "Hawaii"; COUNTRY "USA";