Git Product home page Git Product logo

googletransitdatafeed's People

Watchers

 avatar

googletransitdatafeed's Issues

missing weekday column in calendar.txt can crash parsing/validation

This is what the trace looks like:

Traceback (most recent call last):
  File "./feedvalidator.py", line 64, in ?
    loader.Load()
  File "/home/jhughes/gtdf/trunk/python/transitfeed.py", line 2271, in Load
    self._LoadCalendar()
  File "/home/jhughes/gtdf/trunk/python/transitfeed.py", line 2049, in
_LoadCalendar
    period = ServicePeriod(field_list=row)
  File "/home/jhughes/gtdf/trunk/python/transitfeed.py", line 1203, in __init__
    self.original_day_values += [value.strip()]
AttributeError: 'NoneType' object has no attribute 'strip'

Original issue reported on code.google.com by [email protected] on 17 May 2007 at 4:41

Relax stop times sequence policy to strictly increasing integers.

(On behalf of TomH)

In Trapeze, each actual stop pattern comes from (is a subset of) the master
pattern (the entirely of the master pattern may never be used in any actual
stop pattern). The sequence numbers come from the master pattern.

We should only detect a bad sequencing if a stop is missing for all trips
of a route.

An example,
A master pattern and sequencing.
stop_id     sequence
a              1
b              2
c              3
d              4

Applying the master pattern to a trip which only services b-c-d,
stop_id     sequence
b              2
c              3
d              4
will generate a sequence error.

Original issue reported on code.google.com by [email protected] on 15 Jun 2007 at 12:00

Graphserver itinerary server

Do something cool with http://graphserver.sourceforge.net/
It might be possible to rewrite the Schedule class using PostgreSQL and the
same API so all existing tools will work. Maybe not worth the effort or
maybe it will rock.

Original issue reported on code.google.com by [email protected] on 28 Apr 2007 at 3:31

Create HTML output for feedvalidator

feedvalidator can generate a lot of useful information, but its plain text
output is an eyesore.  It should be able to generate an easier-to-read HTML
file as output.

Original issue reported on code.google.com by [email protected] on 22 Apr 2007 at 1:11

"No module named marey_graph" when running schedule_viewer from /usr/bin

When trying to execute schedule_viewer.py under Fedora, no matter if I
execute after running setup.py, it always report an import error:

Traceback (most recent call last):
  File "/usr/bin/schedule_viewer.py", line 26, in ?
    import marey_graph
ImportError: No module named marey_graph

What version of the product are you using? On what operating system?
I am using transitfeed-1.0.7. My operating system is version 2.6.20-1.2944.fc6

Original issue reported on code.google.com by [email protected] on 22 May 2007 at 11:02

improve memory performance of transitfeed.py

processing feeds takes tons of memory and it seems to get worse with each
release. Internally we have some large GTFS files that won't load on a 2GB
machine.

We need to do some profiling to work out if we are doing something that
prevents python doing the right thing.

It might be worth trying to reload a medium sized feed several times. If we
delete the Schedule object each time then the python process should stop
growing.

Here's someone with debugging a possibly similar problem
http://mail.python.org/pipermail/python-list/2007-June/445838.html
but he didn't get a reply.

Original issue reported on code.google.com by [email protected] on 28 Jun 2007 at 10:23

Transxchange2GoogleTransit google_transit.zip archive file names

In transxchange2GoogleTransithandler.writeOutput(): 
File names of individual feed files (archive.txt, routes.txt etc.) in
google_transit.zip are not consistent with Google Transit Feed
Specification; must not contain service start date as suffix in file name.


Original issue reported on code.google.com by [email protected] on 26 Apr 2007 at 1:58

Eclipse workbench in Linux

Eclipse 3.2.2 on Linux (Distribution: Debian 3.1) cannot read the workbench
as checked into the repository. The workbench is created in Eclipse 3.2.2
on Windows XP. 

Original issue reported on code.google.com by [email protected] on 18 Feb 2007 at 7:21

Support stop_code in transitfeed

We need to change the library to support the stop_code field that was
recently added to the official spec, and possibly add relevant validation.


Original issue reported on code.google.com by [email protected] on 27 Mar 2008 at 5:06

Check stop <--> shape point distance in validator

Some GTFS users (such as Google Maps) will ignore shapes attached to a trip
if the stops aren't close enough to points on the shape.  It would be nice
to catch that condition in the validator and generate a warning.


Original issue reported on code.google.com by [email protected] on 12 Feb 2008 at 9:29

transitfeed installed as an egg can interfere with tests

Even though test/testexamples.py sets PYTHONPATH='.' the examples may be
run with a different older version of transitfeed.py if it is installed on
the system in an egg. You can see the problem by editing an example script
to print sys.path. As a work-around I tried running the examples as
python -c'import
sys;sys.path.insert(0,".");exec("example/feedvalidator.py")' other args but
couldn't get the quoting to work in windows. cmd.exe is not my friend.

Original issue reported on code.google.com by [email protected] on 16 Sep 2007 at 2:57

Use NaPTAN stop file to lookup stop coordinates

A stop-lookup file is currently part of the distribution of
TransXChange2GoogleTransit. Not good practice in general, and in particular
as stops change frequently on a UK-wide basis. 
Task: Accept NaPTAN-format stop lookup file from the command line


Original issue reported on code.google.com by [email protected] on 13 Feb 2008 at 7:51

Add a warning for unknown columns in the validator

Unknown columns in feed files are ignored by parsers (to allow for future
extension), but we've seen occasional problems due to mislabeled optional
columns.  Providing an informative warning in those cases would make them
easier to discover.

Original issue reported on code.google.com by [email protected] on 12 Feb 2008 at 9:28

invalid utf8 crashes feedvalidator

The sample feed Marcy sent Joe and I (off the list) included invalid UTF-8
which crashed the validator.

ERROR: 7 issues found
Traceback (most recent call last):
  File "/home/thecap/src/transitdatafeed-trunk/python/feedvalidator.py",
line 198, in ?
    output_file.write(problems.GetOutput(os.path.abspath(feed)))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u02c7' in
position 2541: ordinal not in range(128)

Original issue reported on code.google.com by [email protected] on 27 Jun 2007 at 11:01

schedule_viewer: &quot;No such file or directory: &quot;

If you run schedule_viewer from a different directory you get an error such as 
IOError: [Errno 2] No such file or directory:
'schedule_viewer_files\\index.html'

Work around is to change into install directory and run it there.

I should fix it to make an absolute path relative to __file__

Original issue reported on code.google.com by [email protected] on 1 May 2007 at 11:31

schedule_viewer service period display and selection

schedule_viewer should provide a way to browse service periods, display
them on a calendar and allow the user to select periods.

Currently the list of departure times is a little confusing because it
displays times in any service period instead of the service on a particular
day. 

Original issue reported on code.google.com by [email protected] on 28 Apr 2007 at 3:21

Trip objects created without parameters don't have direction_id or block_id set

What steps will reproduce the problem?
1. create a Trip using Trip()   # no parameters
2. add the Trip object to a Schedule
3. call schedule.WriteGoogleTransitFeed
4. you'll get exceptions that trip.direction_id and trip.block_id aren't
defined.

Once this is fixed, we can remove the gratuitous definitions of those
attributes from the TransitFeed sample code.

Original issue reported on code.google.com by [email protected] on 23 Apr 2007 at 2:35

Add check for too many CSV columns in input

From the group:

"Greetings.  I wish I were able to suggest a fix however I can find a
possible bug.  My file validated (I ran it twice) and I pushed through
to FF.  He reported that there were too many columns and indeed there
were some ,,,, that were not returned as an error.  I can try to
recreate the datafile, if helpful, but I think you can get my drift."

Original issue reported on code.google.com by [email protected] on 16 May 2007 at 9:25

Feed parsing doesn't deal with quoted values correctly when surrounded by spaces

When a quoted value is preceded by an extra space, it isn't treated as quoted:

value1, "value2, more", value3

is parsed into 4 values.

However, without the space, the value is parsed correctly:

value1,"value2, more", value3

This is coming from the python csv libary; we need to see if there's a 
workaround or whether we 
need to write our own CSV parsing to get around this.


Original issue reported on code.google.com by [email protected] on 12 Sep 2007 at 5:29

FeedValidator should group together & limit issues that occur many times

It would be nice to group together (and limit) any issues that occurred many 
times in a certain 
run, in the same way that UnusedStop warnings currently are.  This would be 
handy because 
often a single change in the feed writer will fix all such errors for a feed.  
If we do this, we should 
also have a way to show all instances, in case the number of issues is slightly 
over the cutoff and 
the user wants to see all of them.

Original issue reported on code.google.com by [email protected] on 17 Oct 2007 at 7:14

possible to output route without agency_id

According to the spec, if routes.txt includes an agency_id column all rows
must have a value. Ideally Route.GetFieldValuesTuple would use the
schedule's default route if self.route_id is None and there would be a way
to totally omit the column if only one agency is in the schedule.
The easiest fix is to make agency_id required when creating a Route object
and populate it with the default agency in the loader when loading
routes.txt. I don't like adding things so that transitfeed loading and
writing a feed modifies its content.

Original issue reported on code.google.com by [email protected] on 20 Mar 2008 at 1:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.