File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -51,22 +51,22 @@ containing a task parameter ``item_id`` and generates a STAC Item with this ID.
5151 # override from Task
5252 def process (self , ** kwargs : Any) -> list[dict[str , Any]]:
5353 item = Item(
54- id = self .task_options[" item_id" ],
55- geometry = {
56- " type" : " Polygon" ,
57- " coordinates" : [
58- [
59- [100.0 , 0.0 ],
60- [101.0 , 0.0 ],
61- [101.0 , 1.0 ],
62- [100.0 , 1.0 ],
63- [100.0 , 0.0 ],
64- ]
65- ],
66- },
67- bbox = None ,
68- datetime = datetime.now(timezone.utc),
69- properties = {},
54+ id = self .task_options[" item_id" ],
55+ geometry = {
56+ " type" : " Polygon" ,
57+ " coordinates" : [
58+ [
59+ [100.0 , 0.0 ],
60+ [101.0 , 0.0 ],
61+ [101.0 , 1.0 ],
62+ [100.0 , 1.0 ],
63+ [100.0 , 0.0 ],
64+ ]
65+ ],
66+ },
67+ bbox = None ,
68+ datetime = datetime.now(timezone.utc),
69+ properties = {},
7070 )
7171
7272 self .logger.debug(f " Created Item with id ' { item.id} ' " )
You can’t perform that action at this time.
0 commit comments