iloveadvertising / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
http://i-love-advertising.blogspot.com/
0 stars 0 forks source link

Transxchange2GTFS converter: Enhance config file to control how TXC/<LineName> populates GTFS/routes.txt #340

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The routes.txt file in GTFS has a column for route short and route long names. 
The converter populates route_short_name and leaves route_long_name empty. It 
might be desirable to populate long name instead of short name. 

Enhancement: Add switch in the configuration file to allow control whether 
TXC/<LineName> flows into GTFS/route_short_name or GTFS/route_long_name

Original issue reported on code.google.com by Joachim....@gmail.com on 16 Jun 2012 at 4:11

GoogleCodeExporter commented 8 years ago
I have pushed the changes necessary to support it in the main body of the code 
but not added the configuration file parsing part. I don't imagine people will 
want to change it much if we are using the correct default as the validator 
will complain if it is set too high (10 is too high) and since route_short_name 
should be used when it can be setting it much lower would also be odd.

Original comment by scottish...@googlemail.com on 18 Jun 2012 at 12:29