artonge / go-gtfs Goto Github PK
View Code? Open in Web Editor NEWLoad GTFS files in golang
License: GNU General Public License v3.0
Load GTFS files in golang
License: GNU General Public License v3.0
Currently the library only takes the first agency in the agency.txt
, and that is OK for most feeds as they typically are single-agency feeds, however, other GTFS feeds contain data for more than one agency in the same feed. For example, the agency.txt
file in the SNCF feed for Horaires des lignes Transilien looks like this:
agency_id,agency_name,agency_url,agency_timezone,agency_lang
DUA853,"Paris Nord",http://www.transilien.com,Europe/Paris,fr
DUA854,"Paris St Lazare",http://www.transilien.com,Europe/Paris,fr
DUA852,"Paris Rive Gauche",http://www.transilien.com,Europe/Paris,fr
DUA803,"RER C",http://www.transilien.com,Europe/Paris,fr
DUA804,"RER D",http://www.transilien.com,Europe/Paris,fr
DUA850,"Paris Est",http://www.transilien.com,Europe/Paris,fr
DUA855,"La Verrière - La Défense",http://www.transilien.com,Europe/Paris,fr
DUA851,"Paris Sud Est",http://www.transilien.com,Europe/Paris,fr
DUA805,"RER E",http://www.transilien.com,Europe/Paris,fr
DUA802,"RER B",http://www.transilien.com,Europe/Paris,fr
DUA801,"RER A",http://www.transilien.com,Europe/Paris,fr
Field shape_dist_traveled
from stop_times.txt
corresponds to StopTime.Shape
which cannot accept fractional distances.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.