Cloud Optimized GeoTIFF Validator is a Spring Boot application designed to validate Cloud Optimized GeoTIFF (COG) files. It ensures that the files are structured correctly and meet the COG specifications.
Clone the repository and build the project using Maven.
git clone https://github.com/batugane/cog-validator-java.git
cd cog-validator-java
mvn install
After building the project, you can run the application with the following command:
java -jar target/cog-validator-java-0.0.1.jar /path/to/your/file.tif
Replace /path/to/your/file.tif
with the path to the GeoTIFF file you want to validate.
java -jar cog-validator-java-0.0.1.jar example.tif
The application will output whether the file is a valid Cloud Optimized GeoTIFF and list any errors or warnings found during validation.
This project was inspired by cog_validator by Even Rouault.