How many regions does the custom model supports? I am using it to avoid some areas, and I have tried to use more than one region/polygon inside the 3D coordinates array in the FeatureCollection! It seems to work initially…
I was expecting to avoid all regions in the featureCollection, is not that right?
But for some reason, sometimes it avoids only the first region and completly ignores the others?
Example:
{
"speed": [
{
"if": "in_custom1",
"multiply_by": "0.5"
},
{
"if": "in_custom1",
"limit_to": "1"
}
],
"priority": [
{
"if": "in_custom1",
"multiply_by": "0"
}
],
"areas": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "custom1",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-46.670824,-23.510283],
[-46.647865,-23.529092],
[-46.679021,-23.518625],
[-46.670824,-23.510283]
],
[
[-46.771592,-23.566614],
[-46.769361,-23.553087],
[-46.714601,-23.515015],
[-46.696576,-23.521466],
[-46.771592,-23.566614]
],
[
[-46.714857,-23.587119],
[-46.73992,-23.592466],
[-46.760669,-23.569354],
[-46.728247,-23.56982],
[-46.714857,-23.587119]
],
[
[-46.66428,-23.57661],
[-46.66971,-23.58173],
[-46.67624,-23.57347],
[-46.67248,-23.56969],
[-46.66428,-23.57661]
]
]
}
}
]
}
}