Skip to content

Commit

Permalink
Add validity rules for polygons in locations.geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried authored Jun 13, 2024
1 parent ea80ebb commit a71aadb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gtfs/spec/en/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ File: **Optional**
Defines zones where riders can request either pickup or drop off by on-demand services. These zones are represented as GeoJSON polygons.

- This file uses a subset of the GeoJSON format, described in [RFC 7946](https://tools.ietf.org/html/rfc7946).
- Each polygon must be valid by the definition of the [OpenGis Simple Features Specification, section 6.1.11](https://portal.ogc.org/files/?artifact_id=25355).
- The `locations.geojson` file must contain a `FeatureCollection`.
- A `FeatureCollection` defines various stop locations where riders may request pickup or drop off.
- Every GeoJSON `Feature` must have an `id`. The `id` must be unique across all `stops.stop_id`, locations.geojson `id`, and `location_group_id` values.
Expand Down

0 comments on commit a71aadb

Please sign in to comment.