samgis-lisa-on-zero / tests /events /lambda_handler_single_rectangle.json
alessandro trinca tornidor
[feat] prepare entire docker build with nvidia GPU on hf space cloning https://huggingface.co/spaces/aletrn/samgis
0914710
raw
history blame
14.1 kB
{
"input": {
"body": "{\"bbox\": {\"ne\": {\"lat\": 39.011714588834074, \"lng\": 15.093841552734377}, \"sw\": {\"lat\": 38.278078995562105, \"lng\": 13.687591552734377}}, \"prompt\": [{\"id\": 177, \"type\": \"rectangle\", \"data\": {\"ne\": {\"lat\": 38.53522722490621, \"lng\": 14.99362733037227}, \"sw\": {\"lat\": 38.43525285806002, \"lng\": 14.88925562059887}}}], \"zoom\": 10, \"source_type\": \"OpenStreetMap\"}",
"isBase64Encoded": false
},
"output": {
"statusCode": 200,
"header": {
"Content-Type": "application/json"
},
"isBase64Encoded": false,
"body": "{\"n_predictions\": 1, \"geojson\": \"{\\\"type\\\": \\\"FeatureCollection\\\", \\\"features\\\": [{\\\"id\\\": \\\"0\\\", \\\"type\\\": \\\"Feature\\\", \\\"properties\\\": {\\\"raster_val\\\": 255.0}, \\\"geometry\\\": {\\\"type\\\": \\\"Polygon\\\", \\\"coordinates\\\": [[[14.953079223632812, 38.523995694180016], [14.958572387695312, 38.523995694180016], [14.958572387695312, 38.52292129553698], [14.959945678710936, 38.52292129553698], [14.959945678710936, 38.52184688085497], [14.961318969726562, 38.52184688085497], [14.961318969726562, 38.51969800337459], [14.962692260742188, 38.51969800337459], [14.962692260742188, 38.51325098601253], [14.964065551757814, 38.51325098601253], [14.964065551757814, 38.50035521924391], [14.962692260742188, 38.50035521924391], [14.962692260742188, 38.49498130154396], [14.964065551757814, 38.49498130154396], [14.964065551757814, 38.491756758498475], [14.965438842773436, 38.491756758498475], [14.965438842773436, 38.48960698295985], [14.966812133789062, 38.48960698295985], [14.966812133789062, 38.48853207113846], [14.96818542480469, 38.48853207113846], [14.96818542480469, 38.487457143282526], [14.970932006835938, 38.487457143282526], [14.970932006835938, 38.48638219939222], [14.973678588867186, 38.48638219939222], [14.973678588867186, 38.485307239467645], [14.976425170898438, 38.485307239467645], [14.976425170898438, 38.48423226350895], [14.977798461914064, 38.48423226350895], [14.977798461914064, 38.48315727151629], [14.979171752929686, 38.48315727151629], [14.979171752929686, 38.482082263489794], [14.980545043945312, 38.482082263489794], [14.980545043945312, 38.47778207104824], [14.979171752929686, 38.47778207104824], [14.979171752929686, 38.47670698285465], [14.977798461914064, 38.47670698285465], [14.977798461914064, 38.47563187862807], [14.975051879882812, 38.47563187862807], [14.975051879882812, 38.47455675836862], [14.972305297851562, 38.47455675836862], [14.972305297851562, 38.47240646975171], [14.970932006835938, 38.47240646975171], [14.970932006835938, 38.46810570012969], [14.969558715820314, 38.46810570012969], [14.969558715820314, 38.46703046764412], [14.96818542480469, 38.46703046764412], [14.96818542480469, 38.46595521912682], [14.966812133789062, 38.46595521912682], [14.966812133789062, 38.46487995457791], [14.965438842773436, 38.46487995457791], [14.965438842773436, 38.46380467399753], [14.964065551757814, 38.46380467399753], [14.964065551757814, 38.46272937738583], [14.961318969726562, 38.46272937738583], [14.961318969726562, 38.461654064742945], [14.959945678710936, 38.461654064742945], [14.959945678710936, 38.45305098649397], [14.961318969726562, 38.45305098649397], [14.961318969726562, 38.44337129717807], [14.959945678710936, 38.44337129717807], [14.959945678710936, 38.441220078788945], [14.958572387695312, 38.441220078788945], [14.958572387695312, 38.44014444555173], [14.957199096679688, 38.44014444555173], [14.957199096679688, 38.439068796286286], [14.95445251464844, 38.439068796286286], [14.95445251464844, 38.43799313099272], [14.948959350585938, 38.43799313099272], [14.948959350585938, 38.439068796286286], [14.946212768554686, 38.439068796286286], [14.946212768554686, 38.44014444555173], [14.943466186523438, 38.44014444555173], [14.943466186523438, 38.441220078788945], [14.94209289550781, 38.441220078788945], [14.94209289550781, 38.44337129717807], [14.94071960449219, 38.44337129717807], [14.94071960449219, 38.44659800454641], [14.939346313476562, 38.44659800454641], [14.939346313476562, 38.44874906264676], [14.937973022460938, 38.44874906264676], [14.937973022460938, 38.45197552957671], [14.93659973144531, 38.45197552957671], [14.93659973144531, 38.4541264273813], [14.935226440429688, 38.4541264273813], [14.935226440429688, 38.45520185223857], [14.933853149414062, 38.45520185223857], [14.933853149414062, 38.457352653862344], [14.932479858398436, 38.457352653862344], [14.932479858398436, 38.45842803062857], [14.93110656738281, 38.45842803062857], [14.93110656738281, 38.459503391364166], [14.928359985351562, 38.459503391364166], [14.928359985351562, 38.46057873606902], [14.925613403320312, 38.46057873606902], [14.925613403320312, 38.461654064742945], [14.91874694824219, 38.461654064742945], [14.91874694824219, 38.46272937738583], [14.916000366210938, 38.46272937738583], [14.916000366210938, 38.46380467399753], [14.913253784179686, 38.46380467399753], [14.913253784179686, 38.46487995457791], [14.911880493164062, 38.46487995457791], [14.911880493164062, 38.46595521912682], [14.910507202148438, 38.46595521912682], [14.910507202148438, 38.46703046764412], [14.90913391113281, 38.46703046764412], [14.90913391113281, 38.46810570012969], [14.907760620117186, 38.46810570012969], [14.907760620117186, 38.469180916583376], [14.906387329101562, 38.469180916583376], [14.906387329101562, 38.470256117005015], [14.905014038085936, 38.470256117005015], [14.905014038085936, 38.471331301394514], [14.903640747070314, 38.471331301394514], [14.903640747070314, 38.47240646975171], [14.902267456054688, 38.47240646975171], [14.902267456054688, 38.47348162207645], [14.900894165039062, 38.47348162207645], [14.900894165039062, 38.47455675836862], [14.899520874023436, 38.47455675836862], [14.899520874023436, 38.47670698285465], [14.898147583007812, 38.47670698285465], [14.898147583007812, 38.48960698295985], [14.899520874023436, 38.48960698295985], [14.899520874023436, 38.49283162221544], [14.900894165039062, 38.49283162221544], [14.900894165039062, 38.49713091673101], [14.902267456054688, 38.49713091673101], [14.902267456054688, 38.50357937743226], [14.903640747070314, 38.50357937743226], [14.903640747070314, 38.5100272608203], [14.905014038085936, 38.5100272608203], [14.905014038085936, 38.51325098601253], [14.906387329101562, 38.51325098601253], [14.906387329101562, 38.51432552900132], [14.907760620117186, 38.51432552900132], [14.907760620117186, 38.51647456686519], [14.90913391113281, 38.51647456686519], [14.90913391113281, 38.51754906173998], [14.910507202148438, 38.51754906173998], [14.910507202148438, 38.5186235405765], [14.913253784179686, 38.5186235405765], [14.913253784179686, 38.51969800337459], [14.916000366210938, 38.51969800337459], [14.916000366210938, 38.52077245013413], [14.91874694824219, 38.52077245013413], [14.91874694824219, 38.52184688085497], [14.93659973144531, 38.52184688085497], [14.93659973144531, 38.52077245013413], [14.946212768554686, 38.52077245013413], [14.946212768554686, 38.52184688085497], [14.95033264160156, 38.52184688085497], [14.95033264160156, 38.52292129553698], [14.953079223632812, 38.52292129553698], [14.953079223632812, 38.523995694180016]]]}}, {\\\"id\\\": \\\"1\\\", \\\"type\\\": \\\"Feature\\\", \\\"properties\\\": {\\\"raster_val\\\": 0.0}, \\\"geometry\\\": {\\\"type\\\": \\\"Polygon\\\", \\\"coordinates\\\": [[[13.686904907226562, 39.012248122243356], [13.686904907226562, 38.2775399676114], [15.09452819824219, 38.2775399676114], [15.09452819824219, 39.012248122243356], [13.686904907226562, 39.012248122243356]], [[14.953079223632812, 38.523995694180016], [14.953079223632812, 38.52292129553698], [14.95033264160156, 38.52292129553698], [14.95033264160156, 38.52184688085497], [14.946212768554686, 38.52184688085497], [14.946212768554686, 38.52077245013413], [14.93659973144531, 38.52077245013413], [14.93659973144531, 38.52184688085497], [14.91874694824219, 38.52184688085497], [14.91874694824219, 38.52077245013413], [14.916000366210938, 38.52077245013413], [14.916000366210938, 38.51969800337459], [14.913253784179686, 38.51969800337459], [14.913253784179686, 38.5186235405765], [14.910507202148438, 38.5186235405765], [14.910507202148438, 38.51754906173998], [14.90913391113281, 38.51754906173998], [14.90913391113281, 38.51647456686519], [14.907760620117186, 38.51647456686519], [14.907760620117186, 38.51432552900132], [14.906387329101562, 38.51432552900132], [14.906387329101562, 38.51325098601253], [14.905014038085936, 38.51325098601253], [14.905014038085936, 38.5100272608203], [14.903640747070314, 38.5100272608203], [14.903640747070314, 38.50357937743226], [14.902267456054688, 38.50357937743226], [14.902267456054688, 38.49713091673101], [14.900894165039062, 38.49713091673101], [14.900894165039062, 38.49283162221544], [14.899520874023436, 38.49283162221544], [14.899520874023436, 38.48960698295985], [14.898147583007812, 38.48960698295985], [14.898147583007812, 38.47670698285465], [14.899520874023436, 38.47670698285465], [14.899520874023436, 38.47455675836862], [14.900894165039062, 38.47455675836862], [14.900894165039062, 38.47348162207645], [14.902267456054688, 38.47348162207645], [14.902267456054688, 38.47240646975171], [14.903640747070314, 38.47240646975171], [14.903640747070314, 38.471331301394514], [14.905014038085936, 38.471331301394514], [14.905014038085936, 38.470256117005015], [14.906387329101562, 38.470256117005015], [14.906387329101562, 38.469180916583376], [14.907760620117186, 38.469180916583376], [14.907760620117186, 38.46810570012969], [14.90913391113281, 38.46810570012969], [14.90913391113281, 38.46703046764412], [14.910507202148438, 38.46703046764412], [14.910507202148438, 38.46595521912682], [14.911880493164062, 38.46595521912682], [14.911880493164062, 38.46487995457791], [14.913253784179686, 38.46487995457791], [14.913253784179686, 38.46380467399753], [14.916000366210938, 38.46380467399753], [14.916000366210938, 38.46272937738583], [14.91874694824219, 38.46272937738583], [14.91874694824219, 38.461654064742945], [14.925613403320312, 38.461654064742945], [14.925613403320312, 38.46057873606902], [14.928359985351562, 38.46057873606902], [14.928359985351562, 38.459503391364166], [14.93110656738281, 38.459503391364166], [14.93110656738281, 38.45842803062857], [14.932479858398436, 38.45842803062857], [14.932479858398436, 38.457352653862344], [14.933853149414062, 38.457352653862344], [14.933853149414062, 38.45520185223857], [14.935226440429688, 38.45520185223857], [14.935226440429688, 38.4541264273813], [14.93659973144531, 38.4541264273813], [14.93659973144531, 38.45197552957671], [14.937973022460938, 38.45197552957671], [14.937973022460938, 38.44874906264676], [14.939346313476562, 38.44874906264676], [14.939346313476562, 38.44659800454641], [14.94071960449219, 38.44659800454641], [14.94071960449219, 38.44337129717807], [14.94209289550781, 38.44337129717807], [14.94209289550781, 38.441220078788945], [14.943466186523438, 38.441220078788945], [14.943466186523438, 38.44014444555173], [14.946212768554686, 38.44014444555173], [14.946212768554686, 38.439068796286286], [14.948959350585938, 38.439068796286286], [14.948959350585938, 38.43799313099272], [14.95445251464844, 38.43799313099272], [14.95445251464844, 38.439068796286286], [14.957199096679688, 38.439068796286286], [14.957199096679688, 38.44014444555173], [14.958572387695312, 38.44014444555173], [14.958572387695312, 38.441220078788945], [14.959945678710936, 38.441220078788945], [14.959945678710936, 38.44337129717807], [14.961318969726562, 38.44337129717807], [14.961318969726562, 38.45305098649397], [14.959945678710936, 38.45305098649397], [14.959945678710936, 38.461654064742945], [14.961318969726562, 38.461654064742945], [14.961318969726562, 38.46272937738583], [14.964065551757814, 38.46272937738583], [14.964065551757814, 38.46380467399753], [14.965438842773436, 38.46380467399753], [14.965438842773436, 38.46487995457791], [14.966812133789062, 38.46487995457791], [14.966812133789062, 38.46595521912682], [14.96818542480469, 38.46595521912682], [14.96818542480469, 38.46703046764412], [14.969558715820314, 38.46703046764412], [14.969558715820314, 38.46810570012969], [14.970932006835938, 38.46810570012969], [14.970932006835938, 38.47240646975171], [14.972305297851562, 38.47240646975171], [14.972305297851562, 38.47455675836862], [14.975051879882812, 38.47455675836862], [14.975051879882812, 38.47563187862807], [14.977798461914064, 38.47563187862807], [14.977798461914064, 38.47670698285465], [14.979171752929686, 38.47670698285465], [14.979171752929686, 38.47778207104824], [14.980545043945312, 38.47778207104824], [14.980545043945312, 38.482082263489794], [14.979171752929686, 38.482082263489794], [14.979171752929686, 38.48315727151629], [14.977798461914064, 38.48315727151629], [14.977798461914064, 38.48423226350895], [14.976425170898438, 38.48423226350895], [14.976425170898438, 38.485307239467645], [14.973678588867186, 38.485307239467645], [14.973678588867186, 38.48638219939222], [14.970932006835938, 38.48638219939222], [14.970932006835938, 38.487457143282526], [14.96818542480469, 38.487457143282526], [14.96818542480469, 38.48853207113846], [14.966812133789062, 38.48853207113846], [14.966812133789062, 38.48960698295985], [14.965438842773436, 38.48960698295985], [14.965438842773436, 38.491756758498475], [14.964065551757814, 38.491756758498475], [14.964065551757814, 38.49498130154396], [14.962692260742188, 38.49498130154396], [14.962692260742188, 38.50035521924391], [14.964065551757814, 38.50035521924391], [14.964065551757814, 38.51325098601253], [14.962692260742188, 38.51325098601253], [14.962692260742188, 38.51969800337459], [14.961318969726562, 38.51969800337459], [14.961318969726562, 38.52184688085497], [14.959945678710936, 38.52184688085497], [14.959945678710936, 38.52292129553698], [14.958572387695312, 38.52292129553698], [14.958572387695312, 38.523995694180016], [14.953079223632812, 38.523995694180016]]]}}]}\", \"n_shapes_geojson\": 2, \"duration_run\": 11.861821174621582, \"message\": \"ok\", \"request_id\": \"test_invoke_id\"}"
}
}