Hey,
the payload itself looks correct. The only problem is the order of the coordinates in the geometry
or the bbox
parameter.
If you know that the geometry
is correct, then just change the order of latitude and longitude of the bbox
.
bbox: c0_0, c0_1, c1_0, c1_1
=>
bbox: c0_1, c0_0, c1_1, c1_0
If you know that the bbox
is correct, change the order in the geometry
.
geometry: POLYGON ((c0_0 c0_1, c_1_0 c1_1, c2_0 c2_1, c3_0 c3_1, c4_0 c4_1))
=>
geometry: POLYGON ((c0_1 c0_0, c_1_1 c1_0, c2_1 c2_0, c3_1 c3_0, c4_1 c4_0))
This forum post might help you as well: How to get sentinel hub image overlay only for the bounds of drawer polygon in React leaflet
Hope this helps.
Cheers