Skip to content

Commit

Permalink
continuous fields move from short to int
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Jul 18, 2024
1 parent e623aef commit bfdfba0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/com/conveyal/gtfs/loader/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ public Table (String name, Class<? extends Entity> entityClass, Requirement requ
new IntegerField("route_sort_order", OPTIONAL, 0, Integer.MAX_VALUE),
// Status values are In progress (0), Pending approval (1), and Approved (2).
new ShortField("status", EDITOR, 2),
new ShortField("continuous_pickup", OPTIONAL,3),
new ShortField("continuous_drop_off", OPTIONAL,3)
new IntegerField("continuous_pickup", OPTIONAL,3),
new IntegerField("continuous_drop_off", OPTIONAL,3)
).addPrimaryKey()
.addPrimaryKeyNames("route_id");

Expand Down Expand Up @@ -337,8 +337,8 @@ public Table (String name, Class<? extends Entity> entityClass, Requirement requ
new IntegerField("pickup_type", EDITOR, 2),
new DoubleField("shape_dist_traveled", EDITOR, 0, Double.POSITIVE_INFINITY, -1),
new ShortField("timepoint", EDITOR, 1),
new ShortField("continuous_pickup", OPTIONAL,3),
new ShortField("continuous_drop_off", OPTIONAL,3),
new IntegerField("continuous_pickup", OPTIONAL,3),
new IntegerField("continuous_drop_off", OPTIONAL,3),
new StringField("pickup_booking_rule_id", OPTIONAL),
new StringField("drop_off_booking_rule_id", OPTIONAL)
).withParentTable(PATTERNS)
Expand Down Expand Up @@ -528,8 +528,8 @@ public Table (String name, Class<? extends Entity> entityClass, Requirement requ
new IntegerField("pickup_type", EDITOR, 2),
new ShortField("timepoint", EDITOR, 1),
new StringField("stop_headsign", EDITOR),
new ShortField("continuous_pickup", OPTIONAL,3),
new ShortField("continuous_drop_off", OPTIONAL,3),
new IntegerField("continuous_pickup", OPTIONAL,3),
new IntegerField("continuous_drop_off", OPTIONAL,3),
new StringField("pickup_booking_rule_id", OPTIONAL),
new StringField("drop_off_booking_rule_id", OPTIONAL),

Expand All @@ -549,8 +549,8 @@ public Table (String name, Class<? extends Entity> entityClass, Requirement requ
new IntegerField("pickup_type", EDITOR, 2),
new ShortField("timepoint", EDITOR, 1),
new StringField("stop_headsign", EDITOR),
new ShortField("continuous_pickup", OPTIONAL,3),
new ShortField("continuous_drop_off", OPTIONAL,3),
new IntegerField("continuous_pickup", OPTIONAL,3),
new IntegerField("continuous_drop_off", OPTIONAL,3),
new StringField("pickup_booking_rule_id", OPTIONAL),
new StringField("drop_off_booking_rule_id", OPTIONAL),

Expand Down

0 comments on commit bfdfba0

Please sign in to comment.