The importer requests VATSIM status files from a Raw Data Archive and imports them to a PostGIS database for further analysis and directly accessible storage.
Please note that, other than the generally usable sub-projects dataformats-vatsim-public, status-fetcher and raw-data-archiver, this sub-project is specific to the VATPlanner application and is not intended to be useful for other applications. As a result, only data needed for the larger VATPlanner project will be imported to database, data irrelevant to the project will not be stored.
By default, a user configuration is expected to be defined in ~/.vatplanner/importer-status-postgis.properties
. When starting the importer, the first parameter can be used to define an alternate config path.
User configuration only needs to specify differences to the default configuration.
Imports are carried out as chunks configurable in two levels:
allowImportOnEmptyDatabase
is enabled, import will start requesting archived data starting at emptyDatabaseEarliestFetchTime
maxFilesPerChunk
archived data files from last imported (or requested earliest) fetch time + 1 second
maxFilesBeforeRestart
has not been reached, repeat from step 4maxFilesBeforeRestart
has been reached, evict previous graph from memory, check memory limits and restart from step 1
The application will terminate under any of the following conditions:
The implementation and accompanying files are released under MIT license. Parsed data is subject to policies and restrictions set by VATSIM and your local regulations.