Contents:
Suggested popup cycleway infrastructure, arising from research work at Leeds University.
This API represents the same data in the Rapid Cycleway Prioritisation Tool.
Example which retrieves suggested popup cycleways locations in the area of Cambridge.
https://api.cyclestreets.net/v2/advocacydata.popupcycleways.suggested?bbox=0.081282,52.203872,0.205564,52.215969
Result:
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "id": 95, "properties": { "name": "Newmarket Road", "ref": "A1134", "status": "Top ranked new cycleways", "mean_cycling_potential": 326, "spare_lane": false, "estimated_width": "10-15 m", "length_(m)": 804, "group_id": 57, "speed_limit": "30 mph" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 0.16277, 52.21229 ], [ 0.16275, 52.21233 ], [ 0.16274, 52.21236 ], [ 0.16275, 52.21241 ], ... ] ] } }, ... ] }
None.
JSON structure as per example above.
JSON object containing an error key and a text string.
Example error (text string may vary):
{ "error": "No bbox parameter was supplied." }