Using makeGTFS.js

110 views
Skip to first unread message

dim5b

unread,
Oct 16, 2012, 10:02:38 AM10/16/12
to open...@googlegroups.com
Hi,
I speak a liitle german and google translate goes so far... 

I am trying to get some European train schedules but i am not sure which json files provide such information could you please point out the files. 

Also, could you please document the process of exporting the torrent data to GTFS.

The config.json file has the following parameter how exactly do we generate the GTFS format from the DBFahrplaninfo_2012_09, fahrinfo_WINKOMP526_2012_09
folders. Which parameter do we need to set...

"planFolder":"../../../data/plan_files/",
"decodeFolder":"../../../data/decoded_files/",
"gtfsFolder":"../../../data/gtfs_files/",
"recursive":true,
"folderFilter":false,
"planFilter":false

Thanks in advance
Dimitri



dim5b

unread,
Oct 17, 2012, 6:18:55 AM10/17/12
to open...@googlegroups.com
Hi,

{
"planFolder":"/home/my/Desktop/torData/DBFahrplaninfo_2012_09/EUROPA_P/",
"decodeFolder":"/home/my/Desktop/torData/DBFahrplaninfo_2012_09/EUROPA/",
"gtfsFolder":"/home/my/Desktop/gtfs_files/",
"recursive":true,
"folderFilter":false,
"planFilter":false
}

where DBFahrplaninfo_2012_09/EUROPA_P and DBFahrplaninfo_2012_09/EUROPA the folders extracted by the torrent file.

onverting "/home/my/Desktop/torData/DBFahrplaninfo_2012_09/EUROPA"
   to "agency"
   to "transfers"
   to "routes"
   to "stops"
   to "trips"
      ERROR: Missing JSON "planbz_data.json"


What am i doing wrong the only  file in EUROPA/EUROPA_P folders is 
planbz_2.json?

Michael Kreil

unread,
Oct 18, 2012, 11:09:14 AM10/18/12
to open...@googlegroups.com
Hi Dimitri,

Currently the GTFS export is very buggy. Actually I'm not even sure, what the current status is!

We still need some help with that ... interested?

Michael

dim5b

unread,
Oct 19, 2012, 5:05:52 AM10/19/12
to open...@googlegroups.com
Yes i would be interested to have a deeper look. My main concern though is the lack of documentation regarding the initial output data. (tsv/json files).
(My german is not that great so  i might have missed something, if so please point out the relative doc.)

As i have mentioned before i have downloaded and extracted DBFahrplaninfo_2012_09 & fahrinfo_WINKOMP526_2012_09.

DBFahrplaninfo_2012_09  has DB/DB_P , EUROPA/EUROPA_P & OEPNV/OEPNV_P folders.

Whats the difference between _P folders?
Is EUROPE international network only ?
When processing for the GTFS folders do i need both tsv and json formats.They seem to hold the same information, should they be separated in subfolders for clarity.
Some documentation on what data each file holds would be great.

plankgeo_data.json --> coordinate data of a node.
planb_data.json --> name of node & synonyms, IBNR

Thanks
Dimitri



Michael Kreil

unread,
Oct 19, 2012, 9:08:13 PM10/19/12
to open...@googlegroups.com
Hi,
 
My main concern though is the lack of documentation regarding the initial output data. (tsv/json files).

The decoder just translates the plan database files to TSV, but the data structure was defined by HaCon. So there is no official documentation, yet.

You can find some comments in the source code. Also the TSV column header names give some clues.

But basically, yes, we need a documentation!

 
Whats the difference between _P folders?

I have no clue! I'm just ignoring them.
 

Is EUROPE international network only ?



 
When processing for the GTFS folders do i need both tsv and json formats.They seem to hold the same information, should they be separated in subfolders for clarity.

We translate everything to TSV. For some files we generate some additional JSON-File ... separate subfolders would be a better choice, d'accord!

 
Some documentation on what data each file holds would be great.

Definitely! But currently I have a ton of meetings, appointments and work ... and I'm preparing the next strike :/

So, please! I appreciate any help!

Michael



Reply all
Reply to author
Forward
0 new messages