Packages

GTFS tools for the time being for Elixir applications.

Current section

Files

Jump to
transit lib gtfs stop.ex
Raw

lib/gtfs/stop.ex

defmodule GTFS.Stop do
@enforce_keys [:stop_id, :stop_name, :stop_lat, :stop_lon]
# https://developers.google.com/transit/gtfs/reference/#stopstxt
defstruct ~w(
stop_id
stop_code
stop_name
stop_desc
stop_lat
stop_lon
zone_id
stop_url
location_type
parent_station
stop_timezone
wheelchair_boarding
)a
end