Skip to content

Commit

Permalink
Add validity rules for polygons in locations.geojson (#476)
Browse files Browse the repository at this point in the history
* Add validity rules for polygons in locations.geojson

* Use a more permanent URL
  • Loading branch information
leonardehrenfried authored Sep 25, 2024
1 parent c5bf1d8 commit f4b7964
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](http://www.opengis.net/doc/is/sfa/1.2.1).
- 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 f4b7964

Please sign in to comment.