Skip to content

Commit b0e0df2

Browse files
authored
Moving geographic data
1 parent 9ed26e6 commit b0e0df2

1 file changed

Lines changed: 0 additions & 55 deletions

File tree

provider/README.md

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -97,61 +97,6 @@ At a minimum, paginated payloads must include a `next` key, which must be set to
9797

9898
[Top][toc]
9999

100-
### Geographic Data
101-
102-
References to geographic datatypes (Point, MultiPolygon, etc.) imply coordinates encoded in the [WGS 84 (EPSG:4326)][wgs84] standard GPS or GNSS projection expressed as [Decimal Degrees][decimal-degrees].
103-
104-
Whenever an individual location coordinate measurement is presented, it must be
105-
represented as a GeoJSON [`Feature`][geojson-feature] object with a corresponding [`timestamp`][ts] property and [`Point`][geojson-point] geometry:
106-
107-
```json
108-
{
109-
"type": "Feature",
110-
"properties": {
111-
"timestamp": 1529968782421
112-
},
113-
"geometry": {
114-
"type": "Point",
115-
"coordinates": [
116-
-118.46710503101347,
117-
33.9909333514159
118-
]
119-
}
120-
}
121-
```
122-
123-
#### Stop-based Geographic Data
124-
125-
When an individual location coordinate measurement corresponds to a [Stop][general-stops],
126-
it must be presented with a `stop_id` property:
127-
128-
```json
129-
{
130-
"type": "Feature",
131-
"properties": {
132-
"timestamp": 1529968782421,
133-
"stop_id": "b813cde2-a41c-4ae3-b409-72ff221e003d"
134-
},
135-
"geometry": {
136-
"type": "Point",
137-
"coordinates": [
138-
-118.46710503101347,
139-
33.9909333514159
140-
]
141-
}
142-
}
143-
```
144-
145-
#### Intersection Operation
146-
147-
For the purposes of this specification, the intersection of two geographic datatypes is defined according to the [`ST_Intersects` PostGIS operation][st-intersects]
148-
149-
> If a geometry or geography shares any portion of space then they intersect. For geography -- tolerance is 0.00001 meters (so any points that are close are considered to intersect).
150-
>
151-
> Overlaps, Touches, Within all imply spatial intersection. If any of the aforementioned returns true, then the geometries also spatially intersect. Disjoint implies false for spatial intersection.
152-
153-
[Top][toc]
154-
155100
### Municipality Boundary
156101

157102
Municipalities requiring MDS Provider API compliance should provide an unambiguous digital source for the municipality boundary. This boundary must be used when determining which data each `provider` API endpoint will include.

0 commit comments

Comments
 (0)