Hello,
I’m using V2.3 of the API on local server and test it with postman.
I can block a road area with customizable routing and it works fine with Polygon type but i don’t know if it’s possible to define a block area only with one Point ? (or a LineString)
Areas with polygon : works
"areas": {
"my_area": {
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [[
[ -0.7127972099767277, 44.739707842549166 ],
[ -0.7123227673290969, 44.739995613498024 ],
[ -0.7123675389242864, 44.74001452855458 ],
[ -0.7128260195249365, 44.73973072600916 ],
[ -0.7127972099767277, 44.739707842549166 ]
]]
}
}
}
Areas with point : no error but doesn’t work
"areas": {
"my_area": {
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates":
[ -0.7487185935645827, 44.71070580340984 ]
}
}
}
I’ve tested also block_area parameter and it works with only one point.
Thanks for your answer