conveyal / gtfs-editor

A web-based GTFS editing framework. THIS PROJECT IS DEPRECATED. See https://github.com/ibi-group/datatools-ui for current version.
https://github.com/ibi-group/datatools-ui
MIT License
134 stars 63 forks source link

GIS Export Route Type Error + Editing Route Type is Unsuccessful #225

Open landonreed opened 9 years ago

landonreed commented 9 years ago

(These issues may be unrelated and deserving of two separate issues.)

  1. GIS Export - when exporting routes as shapefiles, the route type shows up as the stringified form of the object, e.g. models.transit.RouteType@20712b03. At first I thought this might be due to incomplete route type data, but even with complete Localized Type, GTFS Type, etc., this issue still occurs.
  2. Editing Route Type - editing/changing a route type in the route details view is unsuccessful (even thought the "Route successfully saved" message appears.

There are some other issues related to route type including

  1. the route type values not showing up in the list of routes by agency view and
  2. the route type description not showing up in the manage route types view.
mattwigway commented 9 years ago

I think the first one is probably just a lack of a toString method in routeType. I'm not sure what's up with the others.

landonreed commented 8 years ago

@mattwigway, I finally looked into this. Ended up going with hvtRouteType because it's the most expressive. localizedVehicleType often tends not be specified (at least in my experience). Maybe gtfsRouteType would work here, but it doesn't offer as much distinction in routeTypes.