Description
From the CLI Interface doc:
Starting from an order description:
To create an order from an order description, use the
--like
option. This
option supports a file, stdin, and order id. Stdin can be used as input to
only one of the--like
and--clip
options.If
--like
option is provided, all other options are not required. If they
are provided, they will override the corresponding entry in the order
description passed to--like
.To create an order using an order id and override the item IDs:
$ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \ planet orders request \ --like --id 20200922_183724_23_106a,20200922_183722_17_106a
To the item ids can also be read from a saved search:
$ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \ planet orders request --like - --search-id 897802165e8d4bd587e342a4b399eda6
To create an order using an order id and clip to an AOI:
$ planet orders get 49b8d32e-2fba-4924-bd38-f7344aa48d91 > \ planet orders request --like - --clip aoi.geojson
Note that if the order description contains a tool chain with more tools
than just clip, using--clip
will override the entire tool chain, not just
the clip tool.