when running the planet stactool I get the following error:
Saving STAC collection at /Users/julianblau/Work/rsdata-stac-tools/test-id/collection.json...
Traceback (most recent call last):
File "/usr/local/bin/stac", line 8, in <module>
sys.exit(run_cli())
File "/usr/local/lib/python3.9/site-packages/stactools/cli/cli.py", line 38, in run_cli
cli(prog_name="stac")
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/stactools/planet/commands.py", line 83, in convert_command
convert_order(manifest,
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/stactools/planet/commands.py", line 32, in convert_order
collection.save(catalog_type=catalog_type)
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/pystac/catalog.py", line 862, in save
item.save_object(
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/pystac/stac_object.py", line 418, in save_object
stac_io.save_json(dest_href, self.to_dict(include_self_link=include_self_link))
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/pystac/stac_io.py", line 256, in save_json
txt = self.json_dumps(json_dict, *args, **kwargs)
File "/Users/julianblau/Library/Python/3.9/lib/python/site-packages/pystac/stac_io.py", line 124, in json_dumps
return orjson.dumps(json_dict, option=orjson.OPT_INDENT_2, **kwargs).decode(
TypeError: Type is not JSON serializable: Affine
Hi all,
when running the planet stactool I get the following error:
My dependencies:
Any ideas what could cause this ?
Thanks in advance.