Cycle routing API

  • Details for:
  • Obtain API key
  • Usage policy
  • Uptime policy

Contents:

Collisions

This API, principally developed for Cyclescape, is an interface to the same data used for the Collision map pages. It uses STATS19 data from the DfT.

This works on a bounding box basis, spreading the points out evenly within the bounding box:

http://www.cyclestreets.net/api/collisions.xml?key=registeredapikey&n=52.209285&e=0.125325&s=52.201395&w=0.111035

Up to 2,000 items will be returned. If you add &limit=… you can set a different limit. The maximum limit available is 2000; if you supply a larger limit than 2000, it will be replaced with 2000.

If you add &useDom=1 the format will be GML instead of generic XML.

Notes on this API function:

  • useDom=1 is likely to be be renamed soon to format=gml. We will update this page when that happens.

We welcome your feedback, especially to report bugs or give us route feedback.

My comments relate to: *





Your comments: *
URL of page: * http://www.londoncyclehire.org/api/collisions/
How did you find out about CycleStreets?:
Your name:
Our ref:

* Items marked with an asterisk [*] are required fields and must be fully completed.