From f4b796421df52a92180f5c31d227d5d67554dc15 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Wed, 25 Sep 2024 17:27:40 +0200 Subject: [PATCH] Add validity rules for polygons in locations.geojson (#476) * Add validity rules for polygons in locations.geojson * Use a more permanent URL --- gtfs/spec/en/reference.md | 1 + 1 file changed, 1 insertion(+) diff --git a/gtfs/spec/en/reference.md b/gtfs/spec/en/reference.md index 296c0681..dba0b576 100644 --- a/gtfs/spec/en/reference.md +++ b/gtfs/spec/en/reference.md @@ -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.