Skip to content

Commit 5e28248

Browse files
committed
Add updated options
1 parent ccbc733 commit 5e28248

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -129,18 +129,33 @@ BART,Bay Area Rapid Transit,https://www.bart.gov/,America/Los_Angeles,,510-464-6
129129
The extract command extends the basic copy command with a number of additional options and transformations. It can be used to pull out a single route or trip, interpolate stop times, override a single value on an entity, etc. This is a separate command to keep the basic copy command simple while allowing the extract command to grow and add more features over time.
130130
131131
```bash
132-
% transitland extract --help
133132
Usage: extract <input> <output>
134133
-allow-entity-errors
135134
Allow entities with errors to be copied
136135
-allow-reference-errors
137136
Allow entities with reference errors to be copied
137+
-bbox string
138+
Extract bbox as (min lon, min lat, max lon, max lat), e.g. -122.276,37.794,-122.259,37.834
138139
-create
139140
Create a basic database schema if none exists
140141
-create-missing-shapes
141142
Create missing Shapes from Trip stop-to-stop geometries
142143
-deduplicate-stop-times
143144
Deduplicate StopTimes using Journey Patterns
145+
-error-limit int
146+
Max number of detailed errors per error group (default 10)
147+
-exclude-agency value
148+
Exclude Agency
149+
-exclude-calendar value
150+
Exclude Calendar
151+
-exclude-route value
152+
Exclude Route
153+
-exclude-route-type value
154+
Exclude Routes matching route_type
155+
-exclude-stop value
156+
Exclude Stop
157+
-exclude-trip value
158+
Exclude Trip
144159
-ext value
145160
Include GTFS Extension
146161
-extract-agency value
@@ -160,9 +175,11 @@ Usage: extract <input> <output>
160175
-interpolate-stop-times
161176
Interpolate missing StopTime arrival/departure values
162177
-normalize-service-ids
163-
Create any missing Calendar entities for CalendarDate service_ids
178+
Create any missing Calendar entities for CalendarDate service_id's
164179
-normalize-timezones
165180
Normalize timezones and apply default stop timezones based on agency and parent stops
181+
-prefix string
182+
Prefix entities in this feed
166183
-set value
167184
Set values on output; format is filename,id,key,value
168185
-simplify-calendars
@@ -171,6 +188,10 @@ Usage: extract <input> <output>
171188
Simplify shapes with this tolerance (ex. 0.000005)
172189
-use-basic-route-types
173190
Collapse extended route_type's into basic GTFS values
191+
-write-extra-columns
192+
Include extra columns in output
193+
-write-extra-files
194+
Copy additional files found in source to destination
174195
```
175196
176197
Example:

0 commit comments

Comments
 (0)