- Name: panama-copc
- Package:
stactools.panama_copc - stactools-panama-copc on PyPI
- Owner: @jjfrench @omshinde
- STAC extensions used:
pip install stactools-panama-copcDescription of the command line functions
For generating STAC items from COPC files, use the following command:
stac panamacopc create-item <source><destination>
stac panamacopc create-item tests/data/230526_200655.copc.laz examplesFor converting LAS files to COPC.LAZ, use the '--copc' flag to first generate the COPC file and then generate the STAC item using the COPC.LAZ destination location:
stac panamacopc create-item <source><destination> --copc
stac panamacopc create-item tests/data/230526_200655.laz examples -copcUse stac panama-copc --help to see all subcommands and options.
We use pre-commit to check any changes. To set up your development environment:
pip install -e '.[dev]'
pre-commit installTo check all files:
pre-commit run --all-filesTo run the tests:
pytest -vvIf you've updated the STAC metadata output, update the examples:
scripts/update-examples