samgis / src /utilities

Commit History

[fix] handle source types with additional parameters other than x,y,z; set default source_type = OpenStreetMap.Mapnik
54cbf5f

aletrn commited on

[refactor] prepare openapi swagger: rename RawRequestInput type to ApiRequestBody, add ApiResponseBodyFailure and ApiResponseBodySuccess types
2d0111c

aletrn commited on

[fix] handle mapping source_type to url_tile on executing samexporter_predict()
d4c6f14

aletrn commited on

[fix] resolve wrong bbox order in case rectangle prompt
29a1b89

aletrn commited on

[feat] add support for multi-prompt, both of type point and rectangle
f10156a

aletrn commited on

[refactor] get constants from env variables, handle possible exceptions on tiles download/merge/crop
c05e7c7

aletrn commited on

[refactor] download raster tiles with contextily.tile.bounds2img()
924419a

aletrn commited on

[refactor] don't import complete modules, use only "from" syntax
fd9de0f

aletrn commited on

[doc] update some docstring and typing hints
9c09a5a

aletrn commited on

[doc] update some docstrings
3209d49

aletrn commited on

[refactor] clean download_extent function
ddd32eb

aletrn commited on

[test] using local tile http server in lambda_handler "real" test case
4e35839

aletrn commited on

[test] add test cases for download_extent
7a8b84d

aletrn commited on

[docs] fix typo
426f043

aletrn commited on

[docs] add more docs content
6f2f547

aletrn commited on

[feat] add test case for get_response
9205f9c

aletrn commited on

[test] add test cases, add function utility base64_encode()
142642e

aletrn commited on

[feat] add input parsing and validation with pydantic, refactor code
85dd36a

aletrn commited on

[test] add get_parsed_bbox_points test case, refactor test structure
238719b

aletrn commited on

[feat] add first working use of pydantic input validation
dcc25fd

aletrn commited on

[refactor] refactor and remove unused code, remove unused deps
4d26ef2

aletrn commited on

[feat] wip workflow from request to response
6d1f220

aletrn commited on

[feat] handle prompt point as lat-lng coordinates
9271aef

aletrn commited on

[debug] add geopandas and rasterio to convert the FastSAM mask prediction into a geojson
2f5b9e0

aletrn commited on

[debug] add missing types
6978dd2

aletrn commited on

[debug] first test on lambda for fastsam prediction
fa76f5f

aletrn commited on

[debug] first test on lambda for tms2geotiff functions
ee50e01

aletrn commited on

[debug] add debug logs, set os.environ['MPLCONFIGDIR']
3d82071

aletrn commited on

[refactor] rename predictor.py, move ROOT folder to /tmp to avoid RO filesystem errors
e945b1f

aletrn commited on

[feat] re-add samgeo with segment-anything-fast
7d6e00c

aletrn commited on

[refactor] refactor error responses
28ea6eb

aletrn commited on

[fix] handle cases with b64encoded body, add test payload
8ef9cc0

aletrn commited on

[fix] try handling cases with b64encoded body
da5737b

aletrn commited on

[fix] fix request, prepare run on aws lambda
f2a79fa

aletrn commited on

[feat] revert to aws lambda - wip
243f395

aletrn commited on

[feat] reformat code, log context request id
25c63a5

aletrn commited on

[fix] reformat code, use input from request
14effdf

aletrn commited on

[feat] handle requests with errors
59ebac7

aletrn commited on