openactive / route-guide

Repository for discussion of the Routes and Routes Metadata aspects of the OpenActive Opportunity model.
https://openactive.io/route-guide/EditorsDraft/
Other
2 stars 0 forks source link

Route boundaries #14

Closed croesus closed 5 years ago

croesus commented 5 years ago

Many routes can be joined at multiple points along the route. It would be useful to be able to search routes by the proximity of not just of their start points, but the boundaries of the route, possibly simplified to a lat/lon bounding box or enclosing circle - see http://www.opensearch.org/Specifications/OpenSearch/Extensions/Geo/1.0/Draft_2

An indexing engine could generate this from the geoPaths, but I wonder whether it's worth modelling the information into the Route Metadata spec

thill-odi commented 5 years ago

startPoint is currently an Array, which I think adequately covers the 'multiple points' issue. I'd propose keeping this for Routes rather than Routes Metadata.

croesus commented 5 years ago

I hadn't noticed startPoint was an array. That'll work (as long as people are diligent in cataloguing the start points).