gtfs 4.18.0 → 4.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -130,6 +130,12 @@ var agency = {
130
130
  name: "agency_email",
131
131
  type: "text",
132
132
  nocase: true
133
+ },
134
+ {
135
+ name: "cemv_support",
136
+ type: "integer",
137
+ min: 0,
138
+ max: 2
133
139
  }
134
140
  ]
135
141
  };
@@ -1060,6 +1066,12 @@ var routes = {
1060
1066
  name: "network_id",
1061
1067
  type: "text",
1062
1068
  prefix: true
1069
+ },
1070
+ {
1071
+ name: "cemv_support",
1072
+ type: "integer",
1073
+ min: 0,
1074
+ max: 2
1063
1075
  }
1064
1076
  ]
1065
1077
  };
@@ -1314,6 +1326,12 @@ var stops = {
1314
1326
  {
1315
1327
  name: "platform_code",
1316
1328
  type: "text"
1329
+ },
1330
+ {
1331
+ name: "stop_access",
1332
+ type: "integer",
1333
+ min: 0,
1334
+ max: 1
1317
1335
  }
1318
1336
  ]
1319
1337
  };
@@ -5770,12 +5788,7 @@ function getShapesAsGeoJSON(query = {}, options = {}) {
5770
5788
  route_id: route.route_id,
5771
5789
  ...omit4(query, "route_id")
5772
5790
  };
5773
- const shapes2 = getShapes(
5774
- shapeQuery,
5775
- ["shape_id", "shape_pt_sequence", "shape_pt_lon", "shape_pt_lat"],
5776
- [],
5777
- options
5778
- );
5791
+ const shapes2 = getShapes(shapeQuery, [], [], options);
5779
5792
  if (shapes2.length === 0) {
5780
5793
  return;
5781
5794
  }