samgis / tests /events /get_parsed_bbox_prompts_single_rectangle.json
aletrn's picture
[test] lambda_handler: add test rectangle and multi prompts cases
560617a
raw
history blame
1.03 kB
{
"input": {
"bbox": {
"ne": {
"lat": -20.756702460787714,
"lng": 156.13847182385842
},
"sw": {
"lat": -45.55296601778451,
"lng": 111.13847182385842
}
},
"prompt": [
{
"id": 665,
"type": "rectangle",
"data": {
"ne": {
"lat": -39.71220032784001,
"lng": 149.33022207241362
},
"sw": {
"lat": -44.092362655875746,
"lng": 143.26567640979061
}
}
}
],
"zoom": 5,
"source_type": "Satellite",
"url_tile": "http://localhost:8000/lambda_handler/{z}/{x}/{y}.png"
},
"output": {
"bbox": [
[
-20.756702460787714,
156.13847182385842
],
[
-45.55296601778451,
111.13847182385842
]
],
"prompt": [
{
"data": [
731,
503,
869,
637
],
"type": "rectangle"
}
],
"zoom": 5
}
}