Restrict u-turns on multi-digitized roads

20
0
04-05-2020 12:47 PM
Highlighted
New Contributor

Hi,

I'm using the Routing API. Is there any way to restrict U-turns on multi-digitized roads using this API?

For example the follow request still gives me a route with a U-turn (on a multi-digitized road).

stops = {
    "type": "features",
    "features": [{
            "geometry": {
                "x": -73.73452,
                "y": 45.567098,
                "spatialReference": {
                    "wkid": "4326"
                }
            }
        },
        {
            "geometry": {
                "x": -73.73689,
                "y": 45.568559,
                "spatialReference": {
                    "wkid": "4326"
                }
            }
        }
    ]
}

restrictUTurns = esriNFSBNoBacktrack

Reply
0 Kudos
0 Replies