Donate using PayPal

CycleStreets API (v1)

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

Cycle routing - plan new journey

This API call finds routes on the cyclable network.

It returns a detailed listing of a bicycle-orientated utility journey.

A range of routing types is available, reflecting the differing preferences of cyclists: fastest, quietest, balanced (the default).

We take into account the following (and more), where data is available:

  • Road/street type
  • Hills and inclines
  • Cycle infrastructure
  • Path widths/quality
  • Barriers, obstructions
  • Land ownership
  • Surface quality
  • Route legibility
  • National signed routes
  • Local Authority signage
  • Lighting (partial support)
  • Turn delays (initial implementation)

Journey planning is based on OpenStreetMap data and other data sources such as elevation data.

Journey lengths must be at least 4 metres, and not more than 300 km.

Planning a journey

The V1 API has both JSON and XML output, but we strongly recommend using JSON, as that will enable easy migration to the forthcoming V2 API (which will bring various benefits) if you wish.

Example: Cambridge city centre via Mulbery Close to Thoday Street:

https://www.cyclestreets.net/api/journey.json?key=registeredapikey&itinerarypoints=0.117950,52.205302,City+Centre|0.131402,52.221046,Mulberry+Close|0.147324,52.199650,Thoday+Street&plan=quietest

XML equivalent (though JSON above is recommended):

https://www.cyclestreets.net/api/journey.xml?key=registeredapikey&itinerarypoints=0.117950,52.205302,City+Centre|0.131402,52.221046,Mulberry+Close|0.147324,52.199650,Thoday+Street&plan=quietest&useDom=1

Required parameters

key string
Your registered API key
plan string
The type of route, which can be one of the values: balanced, fastest, quietest. There is also shortest but see the notes below.
  • balanced: We recommend this to be the default route type in your interface - it aims to give practical routes that balance speed and pleasantness, suitable for most riders.
  • fastest: This route type will tend to favour busier roads that suit more confident riders.
  • quietest: The route type will produce more pleasant, but often less direct, routes.
  • shortest: In general we do not recommend including this in your interface unless you have a need for it, as this will not give particularly practical routes. These will be literally the shortest route, with only land ownership rights causing any deviation from this. It will suggest, for instance, dismounting and walking down the opposite direction of a one-way street, and will gladly route over the top of a hill when that is the shortest distance.
Note that if you have planned a route already and want to get the other variations, you should use the switch route API parameters.
itinerarypoints String of waypoints: longitude,latitude|… or longitude,latitude,name|…
Each waypoint is separated by a | character and the name is optional. There can be at most 12 waypoints. There is no need for longitudes and latitudes to have more than six decimal places because this gives accuracy to less than 1 metre on the Earth's surface. Note that there is an overall limit of around 2000 characters for a URL.
Adjacent waypoints that are closer than 4 metres when resolved onto the cycle network are treated as duplicates and ignored.

Optional parameters

speed 16|20|24
The maximum speed at which you will ride, in km/h, defaults to 20. The three permitted speeds (in km/h) correspond roughly to 10, 12, and 15 miles per hour.
segments 0|1
Whether to output the detailed route segments (in addition to the co-ordinates and summary data, which are always sent). Defaults to 1. If you are using a mobile app that doesn't need turn-by-turn navigation, but instead only shows the route on a map, you can probably set this to 0 to reduce the download size.
reporterrors 0|1 Default = 0
If sent and set to 1 then any errors are reported like this: {'error': 'Route not found.'}
redirect 1
If you include redirect=1, the API will provide a 302 (Redirect Temporary) header to the journey result on our website (same domain and subdomain as request), rather than sending back raw data.
useDom 0|1
This parameter is only relevant to XML output. The format of returned values. Currently the default is 0 which returns xml containing generic marker tags. Supplying a value of 1 returns GML markup instead.

Sample results

The following sections show sample results from journey calls.

Sample JSON result:

Example route output as JSON. (The forthcoming V2 output will be GeoJSON instead, so it will be easy to migrate to V2 in future.)

{
    "marker":[
        {
            "@attributes":{
                "start":"City Centre",
                "finish":"Thoday Street",
                "startBearing":"0",
                "startSpeed":"0",
                "start_longitude":"0.117823",
                "start_latitude":"52.205299",
                "finish_longitude":"0.147448",
                "finish_latitude":"52.199619",
                "crow_fly_distance":"4604",
                "event":"depart",
                "whence":"1441579586",
                "speed":"20",
                "itinerary":"46014938",
                "clientRouteId":"0",
                "plan":"quietest",
                "note":"",
                "length":"6268",
                "time":"1611",
                "busynance":"8269",
                "quietness":"76",
                "signalledJunctions":"3",
                "signalledCrossings":"1",
                "west":"0.117797",
                "south":"52.199619",
                "east":"0.150551",
                "north":"52.221050",
                "name":"City Centre to Thoday Street",
                "walk":"1",
                "leaving":"2015-09-06 23:46:26",
                "arriving":"2015-09-07 00:13:17",
                "coordinates":"0.117823,52.205299 0.117836,52.205193 0.117797,52.205101 0.118748,52.205154 0.118692,52.205509 0.118712,52.205559 0.118897,52.205612 0.119090,52.205696 0.119226,52.205753 0.119600,52.205902 0.120002,52.206032 0.120295,52.206104 0.120437,52.206123 0.120548,52.206139 0.120605,52.206161 0.120625,52.206188 0.120598,52.206280 0.120480,52.206505 0.120472,52.206516 0.120045,52.206993 0.119535,52.207520 0.119364,52.207756 0.119318,52.207756 0.119279,52.207775 0.119186,52.207844 0.118644,52.208328 0.118568,52.208382 0.118507,52.208412 0.118481,52.208435 0.118477,52.208454 0.118485,52.208477 0.118523,52.208496 0.118589,52.208519 0.118708,52.208576 0.118919,52.208691 0.119163,52.208836 0.119267,52.208885 0.119556,52.209007 0.119697,52.209167 0.119634,52.209286 0.119594,52.209404 0.119569,52.209526 0.119558,52.209637 0.119570,52.209702 0.119583,52.209736 0.119752,52.209805 0.119892,52.209843 0.120077,52.209885 0.120238,52.209911 0.120510,52.209972 0.120696,52.210041 0.120973,52.210178 0.121043,52.210213 0.121053,52.210217 0.121549,52.210571 0.121925,52.210861 0.122194,52.210979 0.123605,52.211281 0.124483,52.211521 0.125148,52.211723 0.126334,52.212086 0.126426,52.212093 0.127675,52.212238 0.127734,52.212212 0.127769,52.212242 0.127851,52.212212 0.128016,52.212147 0.128145,52.212242 0.128586,52.212597 0.128663,52.212746 0.128671,52.212826 0.128706,52.212898 0.128721,52.213123 0.128700,52.214306 0.128406,52.214283 0.128185,52.214268 0.128072,52.214268 0.128060,52.214355 0.128076,52.214684 0.128066,52.214760 0.128012,52.214851 0.128392,52.214935 0.128362,52.214973 0.128720,52.215057 0.130592,52.215469 0.130547,52.215557 0.130356,52.215973 0.130300,52.216175 0.130294,52.216270 0.130310,52.216373 0.130339,52.216587 0.130313,52.216755 0.130265,52.216892 0.130128,52.217052 0.129542,52.217495 0.129460,52.217510 0.129192,52.217724 0.129354,52.217796 0.129272,52.217869 0.129207,52.217922 0.129512,52.218075 0.130279,52.218456 0.130361,52.218498 0.130651,52.218639 0.131448,52.218998 0.131567,52.219090 0.131604,52.219364 0.131731,52.219418 0.131846,52.219460 0.132165,52.219440 0.132338,52.219448 0.132474,52.219410 0.132612,52.219479 0.132840,52.219578 0.133129,52.219746 0.133237,52.219814 0.132808,52.220135 0.132607,52.220245 0.132171,52.220592 0.131966,52.220715 0.131405,52.221050 0.131966,52.220715 0.132171,52.220592 0.132607,52.220245 0.132808,52.220135 0.133237,52.219814 0.133562,52.220089 0.133651,52.220058 0.133738,52.220032 0.133978,52.219910 0.134162,52.219780 0.134718,52.219387 0.134735,52.219372 0.134964,52.219208 0.135073,52.219128 0.135084,52.219101 0.135449,52.219093 0.135560,52.219078 0.135592,52.219063 0.135650,52.219013 0.135667,52.218952 0.135725,52.218903 0.135828,52.218864 0.135917,52.218845 0.136305,52.218658 0.136474,52.218781 0.136801,52.218937 0.136908,52.218864 0.137065,52.218758 0.137363,52.218605 0.137471,52.218548 0.137561,52.218502 0.137733,52.218426 0.138099,52.218269 0.138410,52.218140 0.138683,52.218002 0.139350,52.217564 0.139575,52.217609 0.139769,52.217648 0.140222,52.217297 0.140515,52.217022 0.140586,52.216923 0.140575,52.216846 0.140515,52.216629 0.140472,52.216511 0.140419,52.216412 0.140246,52.216213 0.140096,52.216057 0.139860,52.215809 0.140133,52.215649 0.140436,52.215454 0.140482,52.215427 0.140556,52.215382 0.140616,52.215321 0.140674,52.215218 0.140687,52.215134 0.140671,52.215054 0.140965,52.215038 0.141569,52.214722 0.141602,52.214664 0.141624,52.214626 0.141625,52.214558 0.141639,52.214523 0.141651,52.214493 0.141658,52.214474 0.142016,52.214211 0.142234,52.214092 0.142605,52.213905 0.142842,52.213791 0.142885,52.213772 0.142990,52.213722 0.143053,52.213673 0.143101,52.213612 0.143100,52.213554 0.143010,52.213390 0.142943,52.213261 0.142854,52.213100 0.142790,52.212982 0.142704,52.212822 0.142686,52.212738 0.142528,52.212513 0.142383,52.212341 0.142304,52.212261 0.141780,52.211830 0.141476,52.211636 0.141048,52.211430 0.141129,52.211315 0.141338,52.211090 0.142168,52.210415 0.142255,52.210346 0.142552,52.210091 0.142795,52.209866 0.143057,52.209625 0.143142,52.209541 0.143212,52.209469 0.143264,52.209381 0.143317,52.209293 0.143132,52.209259 0.142948,52.209171 0.142880,52.209110 0.142830,52.209045 0.142899,52.208923 0.143140,52.208611 0.143485,52.208241 0.143740,52.208103 0.143944,52.208023 0.144332,52.207905 0.144453,52.207851 0.144660,52.207794 0.144858,52.207771 0.144912,52.207787 0.144973,52.207794 0.145031,52.207787 0.145085,52.207767 0.145125,52.207741 0.145303,52.207691 0.145315,52.207603 0.145402,52.207623 0.145493,52.207611 0.145645,52.207550 0.145888,52.207439 0.146189,52.207329 0.146374,52.207268 0.147838,52.206860 0.148069,52.206802 0.148446,52.206741 0.148726,52.206711 0.149059,52.206684 0.149258,52.206642 0.149552,52.206535 0.149604,52.206486 0.149625,52.206367 0.149700,52.206356 0.149804,52.206356 0.149831,52.206341 0.149886,52.206360 0.149980,52.206280 0.150035,52.206203 0.150551,52.205261 0.150463,52.205246 0.150280,52.205208 0.150087,52.205162 0.149986,52.205093 0.149911,52.205025 0.149873,52.204967 0.148402,52.202930 0.148302,52.202770 0.148275,52.202717 0.148261,52.202641 0.148278,52.202549 0.148329,52.202400 0.148393,52.202187 0.148374,52.202126 0.148579,52.202030 0.148521,52.201981 0.148492,52.201935 0.148495,52.201874 0.148561,52.201633 0.148555,52.201481 0.148536,52.201401 0.148498,52.201328 0.148241,52.200912 0.148122,52.200722 0.147861,52.200287 0.147707,52.200035 0.147483,52.199673 0.147448,52.199619",
		"elevations":"9,9,10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,8,8,8,8,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,7,7,6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9,9,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,8,8,7,7,8,9,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,8,8,8,9,9,9,9,10,10,10,10,10,10,10,11,10,11,11,11,11,11,11,11,12,12,13,13,14,14",
		"distances":"12,11,65,40,6,14,16,11,30,31,22,10,8,5,3,10,26,1,60,68,29,3,3,10,65,8,5,3,2,3,3,5,10,19,23,9,24,20,14,13,14,12,7,4,14,10,13,11,20,15,24,6,1,52,41,23,102,66,51,90,6,87,5,4,7,13,14,50,17,9,8,25,132,20,15,8,10,37,9,11,28,5,26,136,10,48,23,11,12,24,19,16,20,63,6,30,14,10,7,27,67,7,25,67,13,31,10,9,22,12,10,12,19,27,11,46,18,49,19,53,53,19,49,18,46,38,7,7,21,19,58,2,24,12,3,25,8,3,7,7,7,8,6,34,18,28,11,16,26,10,8,14,30,26,24,67,16,14,50,36,12,9,25,13,12,25,20,32,26,30,4,7,8,12,9,9,20,54,7,5,8,4,3,2,38,20,33,21,4,9,7,8,6,19,15,19,14,19,9,27,21,10,60,30,37,14,29,94,10,35,30,32,11,9,10,10,13,16,8,8,14,38,47,23,17,30,10,15,14,4,4,4,4,4,13,10,6,6,12,21,24,14,110,17,27,19,23,14,23,7,13,5,7,3,4,11,9,111,6,13,14,10,9,7,248,19,6,9,10,17,24,7,18,7,5,7,27,17,9,8,49,23,52,30,43,6",
                "grammesCO2saved":"1168",
                "calories":"92",
                "type":"route"
            }
        },
        {
            "@attributes":{
                "name":"Senate House Hill, NCN 11",
                "legNumber":"1",
                "distance":"23",
                "time":"11",
                "busynance":"57",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"",
                "startBearing":"176",
                "color":"#7777cc",
                "points":"0.117823,52.205299 0.117836,52.205193 0.117797,52.205101",
                "distances":"0,12,11",
                "elevations":"9,9,10",
                "provisionName":"Service road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"St Mary\'s Passage",
                "legNumber":"1",
                "distance":"65",
                "time":"39",
                "busynance":"130",
                "flow":"with",
                "walk":"1",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"85",
                "color":"#008800",
                "points":"0.117797,52.205101 0.118748,52.205154",
                "distances":"0,65",
                "elevations":"10,10",
                "provisionName":"Footpath",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Market Square",
                "legNumber":"1",
                "distance":"46",
                "time":"22",
                "busynance":"52",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"354",
                "color":"#aaaacc",
                "points":"0.118748,52.205154 0.118692,52.205509 0.118712,52.205559",
                "distances":"0,40,6",
                "elevations":"10,10,10",
                "provisionName":"Pedestrianized area",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Market Hill, NCN 11",
                "legNumber":"1",
                "distance":"41",
                "time":"17",
                "busynance":"41",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear right",
                "startBearing":"65",
                "color":"#aaaacc",
                "points":"0.118712,52.205559 0.118897,52.205612 0.119090,52.205696 0.119226,52.205753",
                "distances":"0,14,16,11",
                "elevations":"10,10,10,10",
                "provisionName":"Pedestrianized area",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Market Street, NCN 11",
                "legNumber":"1",
                "distance":"106",
                "time":"34",
                "busynance":"95",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"57",
                "color":"#aaaacc",
                "points":"0.119226,52.205753 0.119600,52.205902 0.120002,52.206032 0.120295,52.206104 0.120437,52.206123 0.120548,52.206139 0.120605,52.206161",
                "distances":"0,30,31,22,10,8,5",
                "elevations":"10,9,9,9,9,9,9",
                "provisionName":"Pedestrianized area",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Sidney Street, NCN 11",
                "legNumber":"1",
                "distance":"197",
                "time":"84",
                "busynance":"236",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"25",
                "color":"#aaaacc",
                "points":"0.120605,52.206161 0.120625,52.206188 0.120598,52.206280 0.120480,52.206505 0.120472,52.206516 0.120045,52.206993 0.119535,52.207520 0.119364,52.207756",
                "distances":"0,3,10,26,1,60,68,29",
                "elevations":"9,9,9,8,8,8,8,7",
                "provisionName":"Pedestrianized area",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Bridge Street, NCN 11",
                "legNumber":"1",
                "distance":"94",
                "time":"18",
                "busynance":"83",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"270",
                "color":"#33aa33",
                "points":"0.119364,52.207756 0.119318,52.207756 0.119279,52.207775 0.119186,52.207844 0.118644,52.208328 0.118568,52.208382 0.118507,52.208412",
                "distances":"0,3,3,10,65,8,5",
                "elevations":"7,7,7,7,6,6,6",
                "provisionName":"Unclassified road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Bridge Street, NCN 11;51",
                "legNumber":"1",
                "distance":"5",
                "time":"1",
                "busynance":"5",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"325",
                "color":"#33aa33",
                "points":"0.118507,52.208412 0.118481,52.208435 0.118477,52.208454",
                "distances":"0,3,2",
                "elevations":"6,6,6",
                "provisionName":"Unclassified road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Round Church Street",
                "legNumber":"1",
                "distance":"96",
                "time":"18",
                "busynance":"138",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"12",
                "color":"#33aa33",
                "points":"0.118477,52.208454 0.118485,52.208477 0.118523,52.208496 0.118589,52.208519 0.118708,52.208576 0.118919,52.208691 0.119163,52.208836 0.119267,52.208885 0.119556,52.209007",
                "distances":"0,3,3,5,10,19,23,9,24",
                "elevations":"6,6,6,6,6,6,6,6,6",
                "provisionName":"Unclassified road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"1",
                "distance":"20",
                "time":"4",
                "busynance":"20",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"28",
                "color":"#ff0000",
                "points":"0.119556,52.209007 0.119697,52.209167",
                "distances":"0,20",
                "elevations":"6,6",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Park Street",
                "legNumber":"1",
                "distance":"64",
                "time":"15",
                "busynance":"93",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"342",
                "color":"#33aa33",
                "points":"0.119697,52.209167 0.119634,52.209286 0.119594,52.209404 0.119569,52.209526 0.119558,52.209637 0.119570,52.209702 0.119583,52.209736",
                "distances":"0,14,13,14,12,7,4",
                "elevations":"6,6,6,6,6,6,6",
                "provisionName":"Unclassified road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Lower Park Street",
                "legNumber":"1",
                "distance":"114",
                "time":"23",
                "busynance":"143",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear right",
                "startBearing":"56",
                "color":"#000000",
                "points":"0.119583,52.209736 0.119752,52.209805 0.119892,52.209843 0.120077,52.209885 0.120238,52.209911 0.120510,52.209972 0.120696,52.210041 0.120973,52.210178 0.121043,52.210213 0.121053,52.210217",
                "distances":"0,14,10,13,11,20,15,24,6,1",
                "elevations":"6,6,6,6,6,6,6,6,6,6",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Jesus Green",
                "legNumber":"1",
                "distance":"425",
                "time":"81",
                "busynance":"414",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"41",
                "color":"#ff0000",
                "points":"0.121053,52.210217 0.121549,52.210571 0.121925,52.210861 0.122194,52.210979 0.123605,52.211281 0.124483,52.211521 0.125148,52.211723 0.126334,52.212086",
                "distances":"0,52,41,23,102,66,51,90",
                "elevations":"6,6,5,5,5,5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Midsummer Common",
                "legNumber":"1",
                "distance":"93",
                "time":"19",
                "busynance":"93",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"82",
                "color":"#ff0000",
                "points":"0.126334,52.212086 0.126426,52.212093 0.127675,52.212238",
                "distances":"0,6,87",
                "elevations":"5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"NCN 11",
                "legNumber":"1",
                "distance":"5",
                "time":"1",
                "busynance":"5",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear right",
                "startBearing":"126",
                "color":"#ff0000",
                "points":"0.127675,52.212238 0.127734,52.212212",
                "distances":"0,5",
                "elevations":"5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Midsummer Common",
                "legNumber":"1",
                "distance":"4",
                "time":"13",
                "busynance":"4",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"35",
                "color":"#ff0000",
                "points":"0.127734,52.212212 0.127769,52.212242",
                "distances":"0,4",
                "elevations":"5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Midsummer Common",
                "legNumber":"1",
                "distance":"34",
                "time":"8",
                "busynance":"34",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"121",
                "color":"#ff0000",
                "points":"0.127769,52.212242 0.127851,52.212212 0.128016,52.212147 0.128145,52.212242",
                "distances":"0,7,13,14",
                "elevations":"5,5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Fort St George Bridge",
                "legNumber":"1",
                "distance":"84",
                "time":"16",
                "busynance":"84",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"37",
                "color":"#ff0000",
                "points":"0.128145,52.212242 0.128586,52.212597 0.128663,52.212746 0.128671,52.212826 0.128706,52.212898",
                "distances":"0,50,17,9,8",
                "elevations":"5,5,5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Pretoria Road",
                "legNumber":"1",
                "distance":"157",
                "time":"41",
                "busynance":"224",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"2",
                "color":"#000000",
                "points":"0.128706,52.212898 0.128721,52.213123 0.128700,52.214306",
                "distances":"0,25,132",
                "elevations":"5,5,7",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Hamilton Road",
                "legNumber":"1",
                "distance":"43",
                "time":"7",
                "busynance":"32",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"263",
                "color":"#000000",
                "points":"0.128700,52.214306 0.128406,52.214283 0.128185,52.214268 0.128072,52.214268",
                "distances":"0,20,15,8",
                "elevations":"7,7,6,6",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Ferry Path",
                "legNumber":"1",
                "distance":"67",
                "time":"19",
                "busynance":"101",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"355",
                "color":"#000000",
                "points":"0.128072,52.214268 0.128060,52.214355 0.128076,52.214684 0.128066,52.214760 0.128012,52.214851",
                "distances":"0,10,37,9,11",
                "elevations":"6,7,7,7,7",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Chesterton Road",
                "legNumber":"1",
                "distance":"28",
                "time":"10",
                "busynance":"38",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"70",
                "color":"#33aa33",
                "points":"0.128012,52.214851 0.128392,52.214935",
                "distances":"0,28",
                "elevations":"7,7",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Alongside Chesterton Road",
                "legNumber":"1",
                "distance":"167",
                "time":"31",
                "busynance":"167",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"334",
                "color":"#ff0000",
                "points":"0.128392,52.214935 0.128362,52.214973 0.128720,52.215057 0.130592,52.215469",
                "distances":"0,5,26,136",
                "elevations":"7,7,7,7",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Chesterton Hall Crescent",
                "legNumber":"1",
                "distance":"252",
                "time":"64",
                "busynance":"353",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"343",
                "color":"#000000",
                "points":"0.130592,52.215469 0.130547,52.215557 0.130356,52.215973 0.130300,52.216175 0.130294,52.216270 0.130310,52.216373 0.130339,52.216587 0.130313,52.216755 0.130265,52.216892 0.130128,52.217052 0.129542,52.217495 0.129460,52.217510",
                "distances":"0,10,48,23,11,12,24,19,16,20,63,6",
                "elevations":"7,7,8,8,8,8,9,9,9,9,10,10",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Chesterton Hall Crescent continuation",
                "legNumber":"1",
                "distance":"54",
                "time":"15",
                "busynance":"54",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"1",
                "turn":"bear right",
                "startBearing":"322",
                "color":"#ff0000",
                "points":"0.129460,52.217510 0.129192,52.217724 0.129354,52.217796 0.129272,52.217869",
                "distances":"0,30,14,10",
                "elevations":"10,10,10,10",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"1",
                "distance":"7",
                "time":"2",
                "busynance":"7",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"323",
                "color":"#ff0000",
                "points":"0.129272,52.217869 0.129207,52.217922",
                "distances":"0,7",
                "elevations":"10,10",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Link joining Hurst Park Avenue, Highworth Avenue, Milton Road, A1309, Ascham Road, Milton Road, A1134",
                "legNumber":"1",
                "distance":"300",
                "time":"57",
                "busynance":"300",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"51",
                "color":"#ff0000",
                "points":"0.129207,52.217922 0.129512,52.218075 0.130279,52.218456 0.130361,52.218498 0.130651,52.218639 0.131448,52.218998 0.131567,52.219090 0.131604,52.219364 0.131731,52.219418 0.131846,52.219460 0.132165,52.219440 0.132338,52.219448 0.132474,52.219410",
                "distances":"0,27,67,7,25,67,13,31,10,9,22,12,10",
                "elevations":"10,10,10,10,10,10,10,10,10,10,10,10,10",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Milton Road, A1309",
                "legNumber":"1",
                "distance":"69",
                "time":"14",
                "busynance":"276",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"51",
                "color":"#3333aa",
                "points":"0.132474,52.219410 0.132612,52.219479 0.132840,52.219578 0.133129,52.219746 0.133237,52.219814",
                "distances":"0,12,19,27,11",
                "elevations":"10,10,10,10,10",
                "provisionName":"Major road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"1",
                "distance":"46",
                "time":"9",
                "busynance":"77",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"321",
                "color":"#7777cc",
                "points":"0.133237,52.219814 0.132808,52.220135",
                "distances":"0,46",
                "elevations":"10,10",
                "provisionName":"Service road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Pye Alley",
                "legNumber":"1",
                "distance":"67",
                "time":"41",
                "busynance":"134",
                "flow":"with",
                "walk":"1",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"312",
                "color":"#008800",
                "points":"0.132808,52.220135 0.132607,52.220245 0.132171,52.220592",
                "distances":"0,18,49",
                "elevations":"10,10,10",
                "provisionName":"Footpath",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Mulberry Close",
                "legNumber":"1",
                "distance":"72",
                "time":"14",
                "busynance":"91",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"314",
                "color":"#000000",
                "points":"0.132171,52.220592 0.131966,52.220715 0.131405,52.221050",
                "distances":"0,19,53",
                "elevations":"10,10,10",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Mulberry Close",
                "legNumber":"2",
                "distance":"72",
                "time":"14",
                "busynance":"91",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"double-back",
                "startBearing":"134",
                "color":"#000000",
                "points":"0.131405,52.221050 0.131966,52.220715 0.132171,52.220592",
                "distances":"0,53,19",
                "elevations":"10,10,10",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Pye Alley",
                "legNumber":"2",
                "distance":"67",
                "time":"41",
                "busynance":"134",
                "flow":"with",
                "walk":"1",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"142",
                "color":"#008800",
                "points":"0.132171,52.220592 0.132607,52.220245 0.132808,52.220135",
                "distances":"0,49,18",
                "elevations":"10,10,10",
                "provisionName":"Footpath",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"2",
                "distance":"46",
                "time":"9",
                "busynance":"77",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"141",
                "color":"#7777cc",
                "points":"0.132808,52.220135 0.133237,52.219814",
                "distances":"0,46",
                "elevations":"10,10",
                "provisionName":"Service road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Milton Road, A1309",
                "legNumber":"2",
                "distance":"38",
                "time":"7",
                "busynance":"152",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"36",
                "color":"#3333aa",
                "points":"0.133237,52.219814 0.133562,52.220089",
                "distances":"0,38",
                "elevations":"10,10",
                "provisionName":"Major road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Oak Tree Avenue",
                "legNumber":"2",
                "distance":"153",
                "time":"30",
                "busynance":"144",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"119",
                "color":"#000000",
                "points":"0.133562,52.220089 0.133651,52.220058 0.133738,52.220032 0.133978,52.219910 0.134162,52.219780 0.134718,52.219387 0.134735,52.219372 0.134964,52.219208 0.135073,52.219128 0.135084,52.219101",
                "distances":"0,7,7,21,19,58,2,24,12,3",
                "elevations":"10,10,10,10,9,9,9,9,9,9",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"2",
                "distance":"65",
                "time":"38",
                "busynance":"108",
                "flow":"with",
                "walk":"1",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"92",
                "color":"#008800",
                "points":"0.135084,52.219101 0.135449,52.219093 0.135560,52.219078 0.135592,52.219063 0.135650,52.219013 0.135667,52.218952 0.135725,52.218903 0.135828,52.218864",
                "distances":"0,25,8,3,7,7,7,8",
                "elevations":"9,8,8,8,8,8,8,8",
                "provisionName":"Footpath",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Short un-named link",
                "legNumber":"2",
                "distance":"40",
                "time":"8",
                "busynance":"50",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"109",
                "color":"#000000",
                "points":"0.135828,52.218864 0.135917,52.218845 0.136305,52.218658",
                "distances":"0,6,34",
                "elevations":"8,8,8",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Pearl Close",
                "legNumber":"2",
                "distance":"46",
                "time":"9",
                "busynance":"58",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"40",
                "color":"#000000",
                "points":"0.136305,52.218658 0.136474,52.218781 0.136801,52.218937",
                "distances":"0,18,28",
                "elevations":"8,8,8",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Union Lane",
                "legNumber":"2",
                "distance":"232",
                "time":"41",
                "busynance":"284",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"138",
                "color":"#33aa33",
                "points":"0.136801,52.218937 0.136908,52.218864 0.137065,52.218758 0.137363,52.218605 0.137471,52.218548 0.137561,52.218502 0.137733,52.218426 0.138099,52.218269 0.138410,52.218140 0.138683,52.218002 0.139350,52.217564",
                "distances":"0,11,16,26,10,8,14,30,26,24,67",
                "elevations":"8,8,8,7,7,7,7,7,6,6,6",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"High Street (Chesterton)",
                "legNumber":"2",
                "distance":"30",
                "time":"8",
                "busynance":"41",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"72",
                "color":"#33aa33",
                "points":"0.139350,52.217564 0.139575,52.217609 0.139769,52.217648",
                "distances":"0,16,14",
                "elevations":"6,6,6",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Chapel Street",
                "legNumber":"2",
                "distance":"98",
                "time":"18",
                "busynance":"123",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"142",
                "color":"#000000",
                "points":"0.139769,52.217648 0.140222,52.217297 0.140515,52.217022 0.140586,52.216923",
                "distances":"0,50,36,12",
                "elevations":"6,6,6,6",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Church Street, NCN 11;51",
                "legNumber":"2",
                "distance":"136",
                "time":"24",
                "busynance":"125",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear right",
                "startBearing":"185",
                "color":"#000000",
                "points":"0.140586,52.216923 0.140575,52.216846 0.140515,52.216629 0.140472,52.216511 0.140419,52.216412 0.140246,52.216213 0.140096,52.216057 0.139860,52.215809",
                "distances":"0,9,25,13,12,25,20,32",
                "elevations":"6,6,5,5,5,5,5,5",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"St Andrew\'s Road, NCN 11;51",
                "legNumber":"2",
                "distance":"105",
                "time":"23",
                "busynance":"105",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"134",
                "color":"#000000",
                "points":"0.139860,52.215809 0.140133,52.215649 0.140436,52.215454 0.140482,52.215427 0.140556,52.215382 0.140616,52.215321 0.140674,52.215218 0.140687,52.215134 0.140671,52.215054",
                "distances":"0,26,30,4,7,8,12,9,9",
                "elevations":"5,5,5,5,5,5,5,5,5",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"NCN 11;51",
                "legNumber":"2",
                "distance":"103",
                "time":"20",
                "busynance":"103",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"95",
                "color":"#ff0000",
                "points":"0.140671,52.215054 0.140965,52.215038 0.141569,52.214722 0.141602,52.214664 0.141624,52.214626 0.141625,52.214558 0.141639,52.214523 0.141651,52.214493 0.141658,52.214474",
                "distances":"0,20,54,7,5,8,4,3,2",
                "elevations":"5,5,5,5,5,5,5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Riverside Bridge, NCN 11;51",
                "legNumber":"2",
                "distance":"213",
                "time":"40",
                "busynance":"213",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"140",
                "color":"#ff0000",
                "points":"0.141658,52.214474 0.142016,52.214211 0.142234,52.214092 0.142605,52.213905 0.142842,52.213791 0.142885,52.213772 0.142990,52.213722 0.143053,52.213673 0.143101,52.213612 0.143100,52.213554 0.143010,52.213390 0.142943,52.213261 0.142854,52.213100 0.142790,52.212982",
                "distances":"0,38,20,33,21,4,9,7,8,6,19,15,19,14",
                "elevations":"5,5,5,5,5,5,5,5,5,5,5,5,5,5",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"NCN 11;51",
                "legNumber":"2",
                "distance":"28",
                "time":"13",
                "busynance":"62",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"198",
                "color":"#ff0000",
                "points":"0.142790,52.212982 0.142704,52.212822 0.142686,52.212738",
                "distances":"0,19,9",
                "elevations":"5,5,6",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Riverside, NCN 11",
                "legNumber":"2",
                "distance":"185",
                "time":"45",
                "busynance":"242",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"203",
                "color":"#000000",
                "points":"0.142686,52.212738 0.142528,52.212513 0.142383,52.212341 0.142304,52.212261 0.141780,52.211830 0.141476,52.211636 0.141048,52.211430",
                "distances":"0,27,21,10,60,30,37",
                "elevations":"6,7,7,8,8,7,7",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"River Lane",
                "legNumber":"2",
                "distance":"274",
                "time":"100",
                "busynance":"543",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"1",
                "signalledCrossings":"0",
                "turn":"turn left",
                "startBearing":"157",
                "color":"#000000",
                "points":"0.141048,52.211430 0.141129,52.211315 0.141338,52.211090 0.142168,52.210415 0.142255,52.210346 0.142552,52.210091 0.142795,52.209866 0.143057,52.209625 0.143142,52.209541 0.143212,52.209469 0.143264,52.209381",
                "distances":"0,14,29,94,10,35,30,32,11,9,10",
                "elevations":"7,8,9,11,11,11,12,12,12,12,11",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Slip road",
                "legNumber":"2",
                "distance":"10",
                "time":"22",
                "busynance":"40",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"1",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"160",
                "color":"#3333aa",
                "points":"0.143264,52.209381 0.143317,52.209293",
                "distances":"0,10",
                "elevations":"11,11",
                "provisionName":"Major road access",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Newmarket Road, A1303",
                "legNumber":"2",
                "distance":"13",
                "time":"3",
                "busynance":"24",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"253",
                "color":"#3333aa",
                "points":"0.143317,52.209293 0.143132,52.209259",
                "distances":"0,13",
                "elevations":"11,11",
                "provisionName":"Major road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Slip road",
                "legNumber":"2",
                "distance":"32",
                "time":"6",
                "busynance":"128",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"232",
                "color":"#3333aa",
                "points":"0.143132,52.209259 0.142948,52.209171 0.142880,52.209110 0.142830,52.209045",
                "distances":"0,16,8,8",
                "elevations":"11,11,11,11",
                "provisionName":"Major road access",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Coldhams Lane",
                "legNumber":"2",
                "distance":"208",
                "time":"41",
                "busynance":"276",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"161",
                "color":"#33aa33",
                "points":"0.142830,52.209045 0.142899,52.208923 0.143140,52.208611 0.143485,52.208241 0.143740,52.208103 0.143944,52.208023 0.144332,52.207905 0.144453,52.207851 0.144660,52.207794 0.144858,52.207771",
                "distances":"0,14,38,47,23,17,30,10,15,14",
                "elevations":"11,11,11,11,10,10,10,10,10,10",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Coldhams Lane (roundabout)",
                "legNumber":"2",
                "distance":"20",
                "time":"5",
                "busynance":"34",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"join roundabout",
                "startBearing":"65",
                "color":"#33aa33",
                "points":"0.144858,52.207771 0.144912,52.207787 0.144973,52.207794 0.145031,52.207787 0.145085,52.207767 0.145125,52.207741",
                "distances":"0,4,4,4,4,4",
                "elevations":"10,10,10,10,10,10",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Coldhams Lane",
                "legNumber":"2",
                "distance":"13",
                "time":"3",
                "busynance":"22",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"second exit",
                "startBearing":"114",
                "color":"#33aa33",
                "points":"0.145125,52.207741 0.145303,52.207691",
                "distances":"0,13",
                "elevations":"10,10",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Coldhams Lane Cycle Bridge",
                "legNumber":"2",
                "distance":"266",
                "time":"47",
                "busynance":"255",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear right",
                "startBearing":"175",
                "color":"#ff0000",
                "points":"0.145303,52.207691 0.145315,52.207603 0.145402,52.207623 0.145493,52.207611 0.145645,52.207550 0.145888,52.207439 0.146189,52.207329 0.146374,52.207268 0.147838,52.206860 0.148069,52.206802 0.148446,52.206741 0.148726,52.206711",
                "distances":"0,10,6,6,12,21,24,14,110,17,27,19",
                "elevations":"10,10,10,10,10,10,10,10,9,9,9,9",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Alongside Coldhams Lane",
                "legNumber":"2",
                "distance":"99",
                "time":"27",
                "busynance":"99",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"straight on",
                "startBearing":"97",
                "color":"#ff0000",
                "points":"0.148726,52.206711 0.149059,52.206684 0.149258,52.206642 0.149552,52.206535 0.149604,52.206486 0.149625,52.206367 0.149700,52.206356 0.149804,52.206356 0.149831,52.206341 0.149886,52.206360",
                "distances":"0,23,14,23,7,13,5,7,3,4",
                "elevations":"9,9,9,9,9,9,9,9,9,9",
                "provisionName":"Cycle path",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Coldhams Lane",
                "legNumber":"2",
                "distance":"131",
                "time":"43",
                "busynance":"165",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"1",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"144",
                "color":"#33aa33",
                "points":"0.149886,52.206360 0.149980,52.206280 0.150035,52.206203 0.150551,52.205261",
                "distances":"0,11,9,111",
                "elevations":"9,9,9,8",
                "provisionName":"Minor road",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Brampton Road",
                "legNumber":"2",
                "distance":"399",
                "time":"91",
                "busynance":"559",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"254",
                "color":"#000000",
                "points":"0.150551,52.205261 0.150463,52.205246 0.150280,52.205208 0.150087,52.205162 0.149986,52.205093 0.149911,52.205025 0.149873,52.204967 0.148402,52.202930 0.148302,52.202770 0.148275,52.202717 0.148261,52.202641 0.148278,52.202549 0.148329,52.202400 0.148393,52.202187 0.148374,52.202126",
                "distances":"0,6,13,14,10,9,7,248,19,6,9,10,17,24,7",
                "elevations":"8,8,8,9,9,9,9,10,10,10,10,10,10,10,11",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Fairfax Road",
                "legNumber":"2",
                "distance":"18",
                "time":"2",
                "busynance":"12",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"bear left",
                "startBearing":"127",
                "color":"#000000",
                "points":"0.148374,52.202126 0.148579,52.202030",
                "distances":"0,18",
                "elevations":"11,10",
                "provisionName":"Residential street",
                "type":"segment"
            }
        },
        {
            "@attributes":{
                "name":"Thoday Street",
                "legNumber":"2",
                "distance":"283",
                "time":"85",
                "busynance":"419",
                "flow":"with",
                "walk":"0",
                "signalledJunctions":"0",
                "signalledCrossings":"0",
                "turn":"turn right",
                "startBearing":"216",
                "color":"#000000",
                "points":"0.148579,52.202030 0.148521,52.201981 0.148492,52.201935 0.148495,52.201874 0.148561,52.201633 0.148555,52.201481 0.148536,52.201401 0.148498,52.201328 0.148241,52.200912 0.148122,52.200722 0.147861,52.200287 0.147707,52.200035 0.147483,52.199673 0.147448,52.199619",
                "distances":"0,7,5,7,27,17,9,8,49,23,52,30,43,6",
                "elevations":"10,11,11,11,11,11,11,11,12,12,13,13,14,14",
                "provisionName":"Residential street",
                "type":"segment"
            }
        }
    ],
    "waypoint":[
        {
            "@attributes":{
                "sequenceId":"1",
                "longitude":"0.117823",
                "latitude":"52.205299"
            }
        },
        {
            "@attributes":{
                "sequenceId":"2",
                "longitude":"0.131405",
                "latitude":"52.221050"
            }
        },
        {
            "@attributes":{
                "sequenceId":"3",
                "longitude":"0.147448",
                "latitude":"52.199619"
            }
        }
    ]
}

Sample XML (GML) result:

Sample of GML formatted output (when using &useDom=1).

<?xml version="1.0"?>
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:cs="http://www.cyclestreets.net/schema/xml/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengeospatial.net//wfs/1.0.0/WFS-basic.xsd">
	<gml:featureMember>
		<cs:route>
			<gml:LineString srsName="EPSG:4326">
				<gml:coordinates>0.117867,52.205288 0.117872,52.205441 0.117904,52.205482 0.117978,52.205502 0.118032,52.205448 0.118107,52.205437 0.118507,52.205463 0.118734,52.205505 0.118932,52.20557 0.11916,52.20565 0.119246,52.205681 0.119653,52.205841 0.120082,52.205971 0.120563,52.206089 0.120631,52.206085 0.120683,52.206078 0.12073,52.206059 0.120959,52.205765 0.121141,52.205536 0.121251,52.205444 0.121492,52.205345 0.121741,52.205292 0.121827,52.205273 0.122161,52.205009 0.122373,52.204815 0.122983,52.204117 0.123057,52.204041 0.123242,52.2038 0.123415,52.203579 0.123511,52.203476 0.124111,52.202835 0.124478,52.202457 0.124541,52.202419 0.124565,52.202385 0.124595,52.202335 0.124766,52.202145 0.125005,52.201889 0.125044,52.20187 0.125083,52.201862 0.125135,52.201859 0.125167,52.201862 0.125266,52.201885 0.128164,52.20216 0.12955,52.202301 0.130356,52.202389 0.130827,52.202194 0.131244,52.20229 0.131654,52.202339 0.13228,52.202076 0.132418,52.202019 0.132928,52.201805 0.133287,52.20166 0.134104,52.201328 0.134795,52.201027 0.135064,52.200916 0.135563,52.20071 0.136058,52.200508 0.136321,52.200405 0.136742,52.200253 0.136892,52.200195 0.137123,52.200104 0.137288,52.200035 0.138386,52.199593 0.138401,52.199581 0.13858,52.199516 0.139368,52.199215 0.139387,52.199207 0.139815,52.199059 0.140267,52.198929 0.141393,52.198555 0.142005,52.198376 0.142015,52.198376 0.142917,52.198116 0.143034,52.198082 0.143084,52.198071 0.143176,52.198288 0.143718,52.199577 0.143734,52.199615 0.143814,52.199593 0.145211,52.199341 0.145323,52.199333 0.145412,52.199303 0.146076,52.199188 0.146166,52.1992 0.14743,52.201195 0.147501,52.20137 0.147463,52.201561 0.147353,52.201736 0.147199,52.201836 0.147,52.201851 0.14705,52.201942 0.147017,52.202061 0.147167,52.202114 0.147386,52.202114 0.147506,52.202061 0.147635,52.20203 0.147788,52.202026 0.148368,52.20211 0.148448,52.202164 0.14863,52.202053 0.148542,52.202011 0.148537,52.201923 0.148601,52.201584 0.148498,52.201328 0.148237,52.200905 0.147489,52.19968</gml:coordinates>
			</gml:LineString>
			<cs:start>King's Parade</cs:start>
			<cs:finish>Thoday Street</cs:finish>
			<cs:start_longitude>0.117950</cs:start_longitude>
			<cs:start_latitude>52.205303</cs:start_latitude>
			<cs:startBearing>0</cs:startBearing>
			<cs:startSpeed>0</cs:startSpeed>
			<cs:finish_longitude>0.147324</cs:finish_longitude>
			<cs:finish_latitude>52.199650</cs:finish_latitude>
			<cs:crow_fly_distance>2099</cs:crow_fly_distance>
			<cs:event>depart</cs:event>
			<cs:whence>2010-11-10 17:19:20</cs:whence>
			<cs:speed>20</cs:speed>
			<cs:itinerary>343830</cs:itinerary>
			<cs:clientRouteId>0</cs:clientRouteId>
			<cs:plan>quietest</cs:plan>
			<cs:note>
			</cs:note>
				<cs:length>3281</cs:length>
				<cs:time>800</cs:time>
				<cs:busynance>5094</cs:busynance>
				<cs:quietness>64</cs:quietness>
				<cs:signalledJunctions>2</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:west>0.117950</cs:west>
				<cs:south>52.199650</cs:south>
				<cs:east>0.147324</cs:east>
				<cs:north>52.205303</cs:north>
				<cs:name>King's Parade to Thoday Street</cs:name>
				<cs:walk>1</cs:walk>
				<cs:type>route</cs:type>
				<cs:leaving>2010-11-10 17:19:20</cs:leaving>
				<cs:arriving>2010-11-10 17:32:40</cs:arriving>
			</cs:route>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.117867,52.205288 0.117872,52.205441 0.117904,52.205482 0.117978,52.205502</gml:coordinates>
				</gml:LineString>
				<cs:name>King's Parade</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>27</cs:distance>
				<cs:time>5</cs:time>
				<cs:busynance>40</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>1</cs:startBearing>
				<cs:turn>bear left</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.117867,52.205288 0.117872,52.205441 0.117904,52.205482 0.117978,52.205502</cs:points>
				<cs:distances>0,17,5,5</cs:distances>
				<cs:elevations>17,17,17,17</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.117978,52.205502 0.118032,52.205448 0.118107,52.205437 0.118507,52.205463 0.118734,52.205505</gml:coordinates>
				</gml:LineString>
				<cs:name>St Mary's Street, NCN 11</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>55</cs:distance>
				<cs:time>10</cs:time>
				<cs:busynance>79</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>148</cs:startBearing>
				<cs:turn>sharp right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.117978,52.205502 0.118032,52.205448 0.118107,52.205437 0.118507,52.205463 0.118734,52.205505</cs:points>
				<cs:distances>0,7,5,27,16</cs:distances>
				<cs:elevations>17,17,17,17,17</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.118734,52.205505 0.118932,52.20557 0.11916,52.20565 0.119246,52.205681 0.119653,52.205841 0.120082,52.205971 0.120563,52.206089</gml:coordinates>
				</gml:LineString>
				<cs:name>Market Street, NCN 11</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>141</cs:distance>
				<cs:time>39</cs:time>
				<cs:busynance>299</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>62</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.118734,52.205505 0.118932,52.20557 0.11916,52.20565 0.119246,52.205681 0.119653,52.205841 0.120082,52.205971 0.120563,52.206089</cs:points>
				<cs:distances>0,15,18,7,33,33,35</cs:distances>
				<cs:elevations>17,17,17,17,19,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.120563,52.206089 0.120631,52.206085 0.120683,52.206078 0.12073,52.206059</gml:coordinates>
				</gml:LineString>
				<cs:name>Sidney Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>13</cs:distance>
				<cs:time>3</cs:time>
				<cs:busynance>13</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>95</cs:startBearing>
				<cs:turn>bear right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Cycle Track</cs:provisionName>
				<cs:color>#ff0000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.120563,52.206089 0.120631,52.206085 0.120683,52.206078 0.12073,52.206059</cs:points>
				<cs:distances>0,5,4,4</cs:distances>
				<cs:elevations>19,19,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.12073,52.206059 0.120959,52.205765 0.121141,52.205536 0.121251,52.205444 0.121492,52.205345 0.121741,52.205292 0.121827,52.205273</gml:coordinates>
				</gml:LineString>
				<cs:name>Sidney Street</cs:name>
				<cs:flow>against</cs:flow>
				<cs:distance>121</cs:distance>
				<cs:time>18</cs:time>
				<cs:busynance>135</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>154</cs:startBearing>
				<cs:turn>bear right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.12073,52.206059 0.120959,52.205765 0.121141,52.205536 0.121251,52.205444 0.121492,52.205345 0.121741,52.205292 0.121827,52.205273</cs:points>
				<cs:distances>0,36,28,13,20,18,6</cs:distances>
				<cs:elevations>19,19,19,18,16,16,16</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.121827,52.205273 0.122161,52.205009 0.122373,52.204815 0.122983,52.204117 0.123057,52.204041 0.123242,52.2038 0.123415,52.203579 0.123511,52.203476 0.124111,52.202835 0.124478,52.202457</gml:coordinates>
				</gml:LineString>
				<cs:name>St Andrew's Street</cs:name>
				<cs:flow>against</cs:flow>
				<cs:distance>362</cs:distance>
				<cs:time>110</cs:time>
				<cs:busynance>695</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>142</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>1</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.121827,52.205273 0.122161,52.205009 0.122373,52.204815 0.122983,52.204117 0.123057,52.204041 0.123242,52.2038 0.123415,52.203579 0.123511,52.203476 0.124111,52.202835 0.124478,52.202457</cs:points>
				<cs:distances>0,37,26,88,10,30,27,13,82,49</cs:distances>
				<cs:elevations>16,15,15,17,17,17,18,18,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.124478,52.202457 0.124541,52.202419 0.124565,52.202385 0.124595,52.202335</gml:coordinates>
				</gml:LineString>
				<cs:name>Link between Regent Street and St Andrew's Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>16</cs:distance>
				<cs:time>9</cs:time>
				<cs:busynance>71</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>135</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.124478,52.202457 0.124541,52.202419 0.124565,52.202385 0.124595,52.202335</cs:points>
				<cs:distances>0,6,4,6</cs:distances>
				<cs:elevations>19,19,19,20</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.124595,52.202335 0.124766,52.202145 0.125005,52.201889</gml:coordinates>
				</gml:LineString>
				<cs:name>Regent Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>57</cs:distance>
				<cs:time>9</cs:time>
				<cs:busynance>68</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>151</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.124595,52.202335 0.124766,52.202145 0.125005,52.201889</cs:points>
				<cs:distances>0,24,33</cs:distances>
				<cs:elevations>20,20,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.125005,52.201889 0.125044,52.20187 0.125083,52.201862 0.125135,52.201859</gml:coordinates>
				</gml:LineString>
				<cs:name>Link with Regent Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>10</cs:distance>
				<cs:time>3</cs:time>
				<cs:busynance>13</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>129</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Unsegregated Shared Use</cs:provisionName>
				<cs:color>#ff8888</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.125005,52.201889 0.125044,52.20187 0.125083,52.201862 0.125135,52.201859</cs:points>
				<cs:distances>0,3,3,4</cs:distances>
				<cs:elevations>19,19,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.125135,52.201859 0.125167,52.201862 0.125266,52.201885</gml:coordinates>
				</gml:LineString>
				<cs:name>Link with Parkers Piece (east-west)</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>9</cs:distance>
				<cs:time>3</cs:time>
				<cs:busynance>12</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>79</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Unsegregated Shared Use</cs:provisionName>
				<cs:color>#ff8888</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.125135,52.201859 0.125167,52.201862 0.125266,52.201885</cs:points>
				<cs:distances>0,2,7</cs:distances>
				<cs:elevations>19,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.125266,52.201885 0.128164,52.20216 0.12955,52.202301 0.130356,52.202389</gml:coordinates>
				</gml:LineString>
				<cs:name>Parkers Piece (east-west)</cs:name>
				<cs:flow>against</cs:flow>
				<cs:distance>352</cs:distance>
				<cs:time>82</cs:time>
				<cs:busynance>456</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>81</cs:startBearing>
				<cs:turn>straight on</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Unsegregated Shared Use</cs:provisionName>
				<cs:color>#ff8888</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.125266,52.201885 0.128164,52.20216 0.12955,52.202301 0.130356,52.202389</cs:points>
				<cs:distances>0,200,96,56</cs:distances>
				<cs:elevations>19,18,17,18</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.130356,52.202389 0.130827,52.202194</gml:coordinates>
				</gml:LineString>
				<cs:name>Link between Parkers Piece (east-west) and Gonville Place</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>39</cs:distance>
				<cs:time>22</cs:time>
				<cs:busynance>38</cs:busynance>
				<cs:walk>1</cs:walk>
				<cs:startBearing>124</cs:startBearing>
				<cs:turn>bear right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Footpath</cs:provisionName>
				<cs:color>#008800</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.130356,52.202389 0.130827,52.202194</cs:points>
				<cs:distances>0,39</cs:distances>
				<cs:elevations>18,17</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.130827,52.202194 0.131244,52.20229 0.131654,52.202339</gml:coordinates>
				</gml:LineString>
				<cs:name>Link between Mill Road and Gonville Place</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>58</cs:distance>
				<cs:time>14</cs:time>
				<cs:busynance>73</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>70</cs:startBearing>
				<cs:turn>bear left</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Unsegregated Shared Use</cs:provisionName>
				<cs:color>#ff8888</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.130827,52.202194 0.131244,52.20229 0.131654,52.202339</cs:points>
				<cs:distances>0,30,28</cs:distances>
				<cs:elevations>17,17,17</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.131654,52.202339 0.13228,52.202076 0.132418,52.202019 0.132928,52.201805 0.133287,52.20166 0.134104,52.201328 0.134795,52.201027 0.135064,52.200916 0.135563,52.20071 0.136058,52.200508 0.136321,52.200405 0.136742,52.200253 0.136892,52.200195 0.137123,52.200104 0.137288,52.200035 0.138386,52.199593 0.138401,52.199581 0.13858,52.199516 0.139368,52.199215 0.139387,52.199207 0.139815,52.199059 0.140267,52.198929 0.141393,52.198555 0.142005,52.198376 0.142015,52.198376 0.142917,52.198116 0.143034,52.198082 0.143084,52.198071</gml:coordinates>
				</gml:LineString>
				<cs:name>Mill Road</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>916</cs:distance>
				<cs:time>220</cs:time>
				<cs:busynance>1499</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>124</cs:startBearing>
				<cs:turn>bear right</cs:turn>
				<cs:signalledJunctions>1</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Road</cs:provisionName>
				<cs:color>#33aa33</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.131654,52.202339 0.13228,52.202076 0.132418,52.202019 0.132928,52.201805 0.133287,52.20166 0.134104,52.201328 0.134795,52.201027 0.135064,52.200916 0.135563,52.20071 0.136058,52.200508 0.136321,52.200405 0.136742,52.200253 0.136892,52.200195 0.137123,52.200104 0.137288,52.200035 0.138386,52.199593 0.138401,52.199581 0.13858,52.199516 0.139368,52.199215 0.139387,52.199207 0.139815,52.199059 0.140267,52.198929 0.141393,52.198555 0.142005,52.198376 0.142015,52.198376 0.142917,52.198116 0.143034,52.198082 0.143084,52.198071</cs:points>
				<cs:distances>0,52,11,42,29,67,58,22,41,41,21,33,12,19,14,90,2,14,63,2,34,34,87,46,1,68,9,4</cs:distances>
				<cs:elevations>17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,18,20,20,19,19,18,18,19,19,19,18,18,18</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.143084,52.198071 0.143176,52.198288 0.143718,52.199577 0.143734,52.199615</gml:coordinates>
				</gml:LineString>
				<cs:name>Cavendish Road</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>177</cs:distance>
				<cs:time>33</cs:time>
				<cs:busynance>210</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>15</cs:startBearing>
				<cs:turn>turn left</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.143084,52.198071 0.143176,52.198288 0.143718,52.199577 0.143734,52.199615</cs:points>
				<cs:distances>0,25,148,4</cs:distances>
				<cs:elevations>18,18,18,18</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.143734,52.199615 0.143814,52.199593 0.145211,52.199341 0.145323,52.199333 0.145412,52.199303 0.146076,52.199188 0.146166,52.1992</gml:coordinates>
				</gml:LineString>
				<cs:name>St Philip's Road</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>173</cs:distance>
				<cs:time>49</cs:time>
				<cs:busynance>301</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>115</cs:startBearing>
				<cs:turn>turn right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.143734,52.199615 0.143814,52.199593 0.145211,52.199341 0.145323,52.199333 0.145412,52.199303 0.146076,52.199188 0.146166,52.1992</cs:points>
				<cs:distances>0,6,99,8,7,47,6</cs:distances>
				<cs:elevations>18,19,17,17,17,19,19</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.146166,52.1992 0.14743,52.201195 0.147501,52.20137 0.147463,52.201561 0.147353,52.201736 0.147199,52.201836 0.147,52.201851</gml:coordinates>
				</gml:LineString>
				<cs:name>Catharine Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>329</cs:distance>
				<cs:time>59</cs:time>
				<cs:busynance>383</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>21</cs:startBearing>
				<cs:turn>turn left</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.146166,52.1992 0.14743,52.201195 0.147501,52.20137 0.147463,52.201561 0.147353,52.201736 0.147199,52.201836 0.147,52.201851</cs:points>
				<cs:distances>0,238,20,21,21,15,14</cs:distances>
				<cs:elevations>19,16,15,15,15,15,16</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.147,52.201851 0.14705,52.201942</gml:coordinates>
				</gml:LineString>
				<cs:name>Link joining Roundabout, Cromwell Road, Catharine Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>11</cs:distance>
				<cs:time>2</cs:time>
				<cs:busynance>13</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>19</cs:startBearing>
				<cs:turn>bear right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.147,52.201851 0.14705,52.201942</cs:points>
				<cs:distances>0,11</cs:distances>
				<cs:elevations>16,16</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.14705,52.201942 0.147017,52.202061 0.147167,52.202114 0.147386,52.202114 0.147506,52.202061</gml:coordinates>
				</gml:LineString>
				<cs:name>Roundabout</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>50</cs:distance>
				<cs:time>22</cs:time>
				<cs:busynance>133</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>350</cs:startBearing>
				<cs:turn>bear left</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.14705,52.201942 0.147017,52.202061 0.147167,52.202114 0.147386,52.202114 0.147506,52.202061</cs:points>
				<cs:distances>0,13,12,15,10</cs:distances>
				<cs:elevations>16,16,13,13,15</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.147506,52.202061 0.147635,52.20203 0.147788,52.202026 0.148368,52.20211 0.148448,52.202164 0.14863,52.202053</gml:coordinates>
				</gml:LineString>
				<cs:name>Fairfax Road</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>85</cs:distance>
				<cs:time>19</cs:time>
				<cs:busynance>115</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>111</cs:startBearing>
				<cs:turn>sharp right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.147506,52.202061 0.147635,52.20203 0.147788,52.202026 0.148368,52.20211 0.148448,52.202164 0.14863,52.202053</cs:points>
				<cs:distances>0,9,10,41,8,17</cs:distances>
				<cs:elevations>15,15,15,13,13,14</cs:elevations>
			</cs:segment>
		</gml:featureMember>
		<gml:featureMember>
			<cs:segment>
				<gml:LineString srsName="EPSG:4326">
					<gml:coordinates>0.14863,52.202053 0.148542,52.202011 0.148537,52.201923 0.148601,52.201584 0.148498,52.201328 0.148237,52.200905 0.147489,52.19968</gml:coordinates>
				</gml:LineString>
				<cs:name>Thoday Street</cs:name>
				<cs:flow>with</cs:flow>
				<cs:distance>280</cs:distance>
				<cs:time>69</cs:time>
				<cs:busynance>448</cs:busynance>
				<cs:walk>0</cs:walk>
				<cs:startBearing>232</cs:startBearing>
				<cs:turn>sharp right</cs:turn>
				<cs:signalledJunctions>0</cs:signalledJunctions>
				<cs:signalledCrossings>0</cs:signalledCrossings>
				<cs:provisionName>Quiet Street</cs:provisionName>
				<cs:color>#000000</cs:color>
				<cs:type>segment</cs:type>
				<cs:points>0.14863,52.202053 0.148542,52.202011 0.148537,52.201923 0.148601,52.201584 0.148498,52.201328 0.148237,52.200905 0.147489,52.19968</cs:points>
				<cs:distances>0,8,10,38,29,50,145</cs:distances>
				<cs:elevations>14,14,14,14,14,16,17</cs:elevations>
			</cs:segment>
		</gml:featureMember>
	</wfs:FeatureCollection>

Sample generic XML result:

Here's a sample of generic XML formatted output (when using &useDom=0).

<?xml version="1.0" encoding="UTF-8"?>
<markers xmlns:cs="http://www.cyclestreets.net/schema/xml/">
	<marker start="King's Parade" finish="Thoday Street" start_longitude="0.117950" start_latitude="52.205303" startBearing="0" startSpeed="0" finish_longitude="0.147324" finish_latitude="52.199650" crow_fly_distance="2099" event="depart" whence="2010-11-10 16:39:50" speed="20" itinerary="343767" clientRouteId="0" plan="quietest" note="" length="3281" time="800" busynance="5094" quietness="64" signalledJunctions="2" signalledCrossings="0" west="0.117950" south="52.199650" east="0.147324" north="52.205303" name="King's Parade to Thoday Street" walk="1" type="route" leaving="2010-11-10 16:39:50" arriving="2010-11-10 16:53:10" coordinates="0.117867,52.205288 0.117872,52.205441 0.117904,52.205482 0.117978,52.205502 0.118032,52.205448 0.118107,52.205437 0.118507,52.205463 0.118734,52.205505 0.118932,52.20557 0.11916,52.20565 0.119246,52.205681 0.119653,52.205841 0.120082,52.205971 0.120563,52.206089 0.120631,52.206085 0.120683,52.206078 0.12073,52.206059 0.120959,52.205765 0.121141,52.205536 0.121251,52.205444 0.121492,52.205345 0.121741,52.205292 0.121827,52.205273 0.122161,52.205009 0.122373,52.204815 0.122983,52.204117 0.123057,52.204041 0.123242,52.2038 0.123415,52.203579 0.123511,52.203476 0.124111,52.202835 0.124478,52.202457 0.124541,52.202419 0.124565,52.202385 0.124595,52.202335 0.124766,52.202145 0.125005,52.201889 0.125044,52.20187 0.125083,52.201862 0.125135,52.201859 0.125167,52.201862 0.125266,52.201885 0.128164,52.20216 0.12955,52.202301 0.130356,52.202389 0.130827,52.202194 0.131244,52.20229 0.131654,52.202339 0.13228,52.202076 0.132418,52.202019 0.132928,52.201805 0.133287,52.20166 0.134104,52.201328 0.134795,52.201027 0.135064,52.200916 0.135563,52.20071 0.136058,52.200508 0.136321,52.200405 0.136742,52.200253 0.136892,52.200195 0.137123,52.200104 0.137288,52.200035 0.138386,52.199593 0.138401,52.199581 0.13858,52.199516 0.139368,52.199215 0.139387,52.199207 0.139815,52.199059 0.140267,52.198929 0.141393,52.198555 0.142005,52.198376 0.142015,52.198376 0.142917,52.198116 0.143034,52.198082 0.143084,52.198071 0.143176,52.198288 0.143718,52.199577 0.143734,52.199615 0.143814,52.199593 0.145211,52.199341 0.145323,52.199333 0.145412,52.199303 0.146076,52.199188 0.146166,52.1992 0.14743,52.201195 0.147501,52.20137 0.147463,52.201561 0.147353,52.201736 0.147199,52.201836 0.147,52.201851 0.14705,52.201942 0.147017,52.202061 0.147167,52.202114 0.147386,52.202114 0.147506,52.202061 0.147635,52.20203 0.147788,52.202026 0.148368,52.20211 0.148448,52.202164 0.14863,52.202053 0.148542,52.202011 0.148537,52.201923 0.148601,52.201584 0.148498,52.201328 0.148237,52.200905 0.147489,52.19968" />
	<marker name="King's Parade" flow="with" distance="27" time="5" busynance="40" walk="0" startBearing="1" turn="bear left" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.117867,52.205288 0.117872,52.205441 0.117904,52.205482 0.117978,52.205502" distances="0,17,5,5" elevations="17,17,17,17" />
	<marker name="St Mary's Street, NCN 11" flow="with" distance="55" time="10" busynance="79" walk="0" startBearing="148" turn="sharp right" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.117978,52.205502 0.118032,52.205448 0.118107,52.205437 0.118507,52.205463 0.118734,52.205505" distances="0,7,5,27,16" elevations="17,17,17,17,17" />
	<marker name="Market Street, NCN 11" flow="with" distance="141" time="39" busynance="299" walk="0" startBearing="62" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.118734,52.205505 0.118932,52.20557 0.11916,52.20565 0.119246,52.205681 0.119653,52.205841 0.120082,52.205971 0.120563,52.206089" distances="0,15,18,7,33,33,35" elevations="17,17,17,17,19,19,19" />
	<marker name="Sidney Street" flow="with" distance="13" time="3" busynance="13" walk="0" startBearing="95" turn="bear right" signalledJunctions="0" signalledCrossings="0" provisionName="Cycle Track" color="#ff0000" type="segment" points="0.120563,52.206089 0.120631,52.206085 0.120683,52.206078 0.12073,52.206059" distances="0,5,4,4" elevations="19,19,19,19" />
	<marker name="Sidney Street" flow="against" distance="121" time="18" busynance="135" walk="0" startBearing="154" turn="bear right" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.12073,52.206059 0.120959,52.205765 0.121141,52.205536 0.121251,52.205444 0.121492,52.205345 0.121741,52.205292 0.121827,52.205273" distances="0,36,28,13,20,18,6" elevations="19,19,19,18,16,16,16" />
	<marker name="St Andrew's Street" flow="against" distance="362" time="110" busynance="695" walk="0" startBearing="142" turn="straight on" signalledJunctions="1" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.121827,52.205273 0.122161,52.205009 0.122373,52.204815 0.122983,52.204117 0.123057,52.204041 0.123242,52.2038 0.123415,52.203579 0.123511,52.203476 0.124111,52.202835 0.124478,52.202457" distances="0,37,26,88,10,30,27,13,82,49" elevations="16,15,15,17,17,17,18,18,19,19" />
	<marker name="Link between Regent Street and St Andrew's Street" flow="with" distance="16" time="9" busynance="71" walk="0" startBearing="135" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.124478,52.202457 0.124541,52.202419 0.124565,52.202385 0.124595,52.202335" distances="0,6,4,6" elevations="19,19,19,20" />
	<marker name="Regent Street" flow="with" distance="57" time="9" busynance="68" walk="0" startBearing="151" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.124595,52.202335 0.124766,52.202145 0.125005,52.201889" distances="0,24,33" elevations="20,20,19" />
	<marker name="Link with Regent Street" flow="with" distance="10" time="3" busynance="13" walk="0" startBearing="129" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Unsegregated Shared Use" color="#ff8888" type="segment" points="0.125005,52.201889 0.125044,52.20187 0.125083,52.201862 0.125135,52.201859" distances="0,3,3,4" elevations="19,19,19,19" />
	<marker name="Link with Parkers Piece (east-west)" flow="with" distance="9" time="3" busynance="12" walk="0" startBearing="79" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Unsegregated Shared Use" color="#ff8888" type="segment" points="0.125135,52.201859 0.125167,52.201862 0.125266,52.201885" distances="0,2,7" elevations="19,19,19" />
	<marker name="Parkers Piece (east-west)" flow="against" distance="352" time="82" busynance="456" walk="0" startBearing="81" turn="straight on" signalledJunctions="0" signalledCrossings="0" provisionName="Unsegregated Shared Use" color="#ff8888" type="segment" points="0.125266,52.201885 0.128164,52.20216 0.12955,52.202301 0.130356,52.202389" distances="0,200,96,56" elevations="19,18,17,18" />
	<marker name="Link between Parkers Piece (east-west) and Gonville Place" flow="with" distance="39" time="22" busynance="38" walk="1" startBearing="124" turn="bear right" signalledJunctions="0" signalledCrossings="0" provisionName="Footpath" color="#008800" type="segment" points="0.130356,52.202389 0.130827,52.202194" distances="0,39" elevations="18,17" />
	<marker name="Link between Mill Road and Gonville Place" flow="with" distance="58" time="14" busynance="73" walk="0" startBearing="70" turn="bear left" signalledJunctions="0" signalledCrossings="0" provisionName="Unsegregated Shared Use" color="#ff8888" type="segment" points="0.130827,52.202194 0.131244,52.20229 0.131654,52.202339" distances="0,30,28" elevations="17,17,17" />
	<marker name="Mill Road" flow="with" distance="916" time="220" busynance="1499" walk="0" startBearing="124" turn="bear right" signalledJunctions="1" signalledCrossings="0" provisionName="Road" color="#33aa33" type="segment" points="0.131654,52.202339 0.13228,52.202076 0.132418,52.202019 0.132928,52.201805 0.133287,52.20166 0.134104,52.201328 0.134795,52.201027 0.135064,52.200916 0.135563,52.20071 0.136058,52.200508 0.136321,52.200405 0.136742,52.200253 0.136892,52.200195 0.137123,52.200104 0.137288,52.200035 0.138386,52.199593 0.138401,52.199581 0.13858,52.199516 0.139368,52.199215 0.139387,52.199207 0.139815,52.199059 0.140267,52.198929 0.141393,52.198555 0.142005,52.198376 0.142015,52.198376 0.142917,52.198116 0.143034,52.198082 0.143084,52.198071" distances="0,52,11,42,29,67,58,22,41,41,21,33,12,19,14,90,2,14,63,2,34,34,87,46,1,68,9,4" elevations="17,19,19,19,19,19,19,19,19,19,19,19,19,19,19,18,20,20,19,19,18,18,19,19,19,18,18,18" />
	<marker name="Cavendish Road" flow="with" distance="177" time="33" busynance="210" walk="0" startBearing="15" turn="turn left" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.143084,52.198071 0.143176,52.198288 0.143718,52.199577 0.143734,52.199615" distances="0,25,148,4" elevations="18,18,18,18" />
	<marker name="St Philip's Road" flow="with" distance="173" time="49" busynance="301" walk="0" startBearing="115" turn="turn right" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.143734,52.199615 0.143814,52.199593 0.145211,52.199341 0.145323,52.199333 0.145412,52.199303 0.146076,52.199188 0.146166,52.1992" distances="0,6,99,8,7,47,6" elevations="18,19,17,17,17,19,19" />
	<marker name="Catharine Street" flow="with" distance="329" time="59" busynance="383" walk="0" startBearing="21" turn="turn left" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.146166,52.1992 0.14743,52.201195 0.147501,52.20137 0.147463,52.201561 0.147353,52.201736 0.147199,52.201836 0.147,52.201851" distances="0,238,20,21,21,15,14" elevations="19,16,15,15,15,15,16" />
	<marker name="Link joining Roundabout, Cromwell Road, Catharine Street" flow="with" distance="11" time="2" busynance="13" walk="0" startBearing="19" turn="bear right" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.147,52.201851 0.14705,52.201942" distances="0,11" elevations="16,16" />
	<marker name="Roundabout" flow="with" distance="50" time="22" busynance="133" walk="0" startBearing="350" turn="bear left" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.14705,52.201942 0.147017,52.202061 0.147167,52.202114 0.147386,52.202114 0.147506,52.202061" distances="0,13,12,15,10" elevations="16,16,13,13,15" />
	<marker name="Fairfax Road" flow="with" distance="85" time="19" busynance="115" walk="0" startBearing="111" turn="sharp right" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.147506,52.202061 0.147635,52.20203 0.147788,52.202026 0.148368,52.20211 0.148448,52.202164 0.14863,52.202053" distances="0,9,10,41,8,17" elevations="15,15,15,13,13,14" />
	<marker name="Thoday Street" flow="with" distance="280" time="69" busynance="448" walk="0" startBearing="232" turn="sharp right" signalledJunctions="0" signalledCrossings="0" provisionName="Quiet Street" color="#000000" type="segment" points="0.14863,52.202053 0.148542,52.202011 0.148537,52.201923 0.148601,52.201584 0.148498,52.201328 0.148237,52.200905 0.147489,52.19968" distances="0,8,10,38,29,50,145" elevations="14,14,14,14,14,16,17" />
</markers>

Switching between route types or retrieving a previously-planned route

If a journey has already been planned you can re-use the journey's itinerary by specifying the journey's itinerary number and the new route type. This is useful if, for instance a user has requested the fastest route, but now wants to view the quietest route for the same start and finish points.

Example: Icon Route #860766: Buckingham Palace, via Horse Guards Parade to Westminster Abbey:

https://www.cyclestreets.net/api/journey.json?key=registeredapikey&plan=quietest&itinerary=860766

Apart from the key and the optional useDom these are the only required parameters in this usage:

itinerary int
If supplied it should identify a previously planned journey. The new journey's itinerary details are extracted from it. This is the same number that is tagged as cs:itinerary in the GML output, or as the attribute itinerary in the first marker tag of the generic XML output from the journey.xml API call.
plan string
The type of journey planned, currently one of shortest,fastest,quietest,balanced. If the specified plan for this itinerary exists already then it that is returned, otherwise a new route is calculated.

Return values, in detail

Returns markers that describe the route.

If &useDom=1 was set in the parameter list it will return GML formatted info, which is the preferred format.

The output contains a sections describing the route as a whole, and is followed by the detailed segments.

Route

start, finish string
Names of the ends of the route
start_longitude, start_latitude, finish_longitude, finish_latitude float
Co-ordinates of the ends of the route.
crow_fly_distance int
The distance, as the crow flies between the ends of the route, in metres.
When a route has intermediate waypoints this value is the sum of the crow fly distance between each pair of adjacent points.
event string
How the itinerary was planned, either leaving or arriving.
whence datetime
The departure/arrival time.
speed int
The desired cycling speed in km/h.
itinerary int
Corresponds to the url of this journey: https://www.cyclestreets/journey/itinerary/
plan string
The type of journey planned, currently one of shortest,fastest,quietest,balanced.
note string
If there was a problem planning the route, this is an explanation.
length int
The travelling distance of the route, in metres.
time int
The travelling time of the route, in seconds.
busynance int
A measure of the cost of busyness of the route, in metres.
quietness int
A measure of the cost of quietness of the route, a percentage value from 0 to 100.
walk int 0|1
Whether the rider is required to dismount for any section of the route.
west, south, east, north float
Bounds - western, southern, eastern and northern-most points of the route.
signalledJunctions, signalledCrossings int
Counts of these numbers of features on the whole route.
coordinates space separated pairs of longitude,latitude
Coordinates of the points along the route.
elevations string comma separated int
Elevation (in metres) of each of the points, relative to sea level.
distances string comma separated int
Distance between adjacent points in metres. (There will be one less value than the number of coordinates.)
grammesCO2saved int
Grammes of CO2 saved, see Icon /journey/help/faq/#co2
calories int
Number of kiloCalories burned on the journey, see Icon /journey/help/faq/#calories

Waypoint

These contain the resolved waypoints - which are the requested waypoints after they have been 'snapped' to the nearest point on the cycle network.

longitude float
Longitude of the resolved waypoint
latitude float
Latitude of the resolved waypoint
sequenceId tinyint
Index for the waypoint starting from 1.

Example:

<waypoint longitude="0.117950" latitude="52.205303" sequenceId="1"/>

Segment

These represent each stage of the journey - usually a whole street.

turn string
One of these values:
  • straight on
  • bear right
  • turn right
  • sharp right
  • double-back
  • sharp left
  • turn left
  • bear left
  • unknown
  • join roundabout
  • first exit
  • second exit
  • third exit
  • fourth exit
  • fifth exit
  • sixth exit
  • seventh or more exit
turnAngle (proposed feature) int in the range 0 to 360 inclusive
This could be the angle in degrees through which the rider has to turn themselves at the start of the next segment of the journey. E.g. if this value is 90 then that would be a right turn. A value of 360 should be interpreted as unknown.
startBearing (currently included but may change name) int in range 0 to 360 inclusive.
The bearing angle in degrees clockwise from North of the first bit of that segment of the route. A value of 360 should be interpreted as unknown.
distance int
The distance for this part of the route, in metres.
time int
The time for this part of the route, in seconds.
signalledJunctions, signalledCrossings int
Counts of these numbers of features on this bit of the route.
points string space-separated pairs of longitude,latitude WGS84 degrees
Detailed co-ordinates along the street.
distances string comma separated int
Distance between adjacent points in metres (first one is always zero).
elevations string comma separated int
Elevation (in metres) of each of the points, relative to sea level.
flow string with|against
It is recommended to ignore this rather technical output value and it will be discontinued in v2 as it is considered redundant. It indicates how the route should be followed through this way with regard to the 'resolved sense' of the way. The 'sense' of a way reflects how it has been defined in OpenStreetMap, i.e. it follows the increasing sequence_id. When a way has been marked with the tag oneway=-1 then CycleStreets processing flips it so that the increasing sequence matches the oneway flow. The resolved sense is after any flipping has occurred. In principle if the value of flow is 'against' and the way is marked as one way than it can be inferred that the route should be followed the 'wrong' way along this street - requiring a dismount.

Error response

In XML mode, if an error is detected it returns a single marker:

<markers><marker type="error" id="1" code="" description="" /></markers>

In that, code is an integer, and description can be displayed to the user.

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

My comments relate to: *






Your comments: *
URL of page: * https://www.cyclestreets.net/api/v1/journey/
How did you find out about CycleStreets?:
Your name:
Our ref: Please leave blank - anti-spam measure

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