Documentation ¶
Overview ¶
Package gtfsconv converts GTFS files into an SQLite3 db (w/ spatialite optional), and other extra file formats (csv/json/geojson/kml).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build will consume the GTFS file and export a sqlite3 db, in the target dir/filename, along with extra file formats.
func SetDefaultOptions ¶
func SetDefaultOptions(opt Options)
SetDefaultOptions sets defaultOptions with new default values.
Types ¶
type Options ¶
type Options struct { GTFS string // path to GTFS source file Dir string // output dir Name string // output sqlite db name SkipExtras bool // skip extra output formats (*.csv, *.json, *.xml) Spatialite bool // include sqlite3 spatialite extension KeepDB bool // re-use existing sqlite db (skip creation), if exist SkipClean bool // skip agency-specific GTFS cleanup rules }
Options Type Helper: available runtime configs
func DefaultOptions ¶
func DefaultOptions() Options
DefaultOptions returns Options with default values.
Click to show internal directories.
Click to hide internal directories.