Creating indexes
Once the radiance tooling has been used to prepare a car file (or if you have downloaded a car file externally), you can generate indexes from this car file by using the faithful-cli
:
Examples
faithful-cli index all <car-file> <output-dir>
: Generate all required indexes for a CAR file.faithful-cli index gsfa <car-file> <output-dir>
: Generate the gsfa index for a CAR file.
NOTES:
You need to have the CAR file available locally.
The
cid_to_offset_and_size
index has an older version, which you can specify withcid_to_offset
instead ofcid_to_offset_and_size
.
Flags:
--tmp-dir=/path/to/tmp/dir
: Where to store temporary files. Defaults to the system temp dir. (optional)--verify
: Verify the indexes after generation. (optional)--network=<network>
: Network to use for the gsfa index. Defaults tomainnet
(other options:testnet
,devnet
). (optional)
Last updated