PDAL / wrench

Point cloud processing made easy!
GNU General Public License v3.0
68 stars 9 forks source link

Wrench fails to write required key datetime if it cannot be determined from the file. #21

Closed kylemann16 closed 1 year ago

kylemann16 commented 1 year ago

https://github.com/PDAL/wrench/blob/main/src/vpc.cpp#L371-L372

In the creation of a VPC, which is at its core a STAC ItemCollection, Wrench fails to write the required key datetime if the date cannot be parsed

I think either an exception should be thrown, or a default datetime should be written to the VPC.

STAC Item Schema for reference: https://schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json