Skip to content
Snippets Groups Projects
fix_geotiffs.py 518 B
Newer Older
import argparse
from geotiff_processor.geotiff_handler import Geotiff2epsg4326

def main(zip_path):
    handler = Geotiff2epsg4326(zip_path)
    handler.process()

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description='Reproject GeoTIFF files in a ZIP archive to EPSG:4326.')
    parser.add_argument('zip_path', type=str, help='Path to the ZIP file containing GeoTIFFs.')
    args = parser.parse_args()

    print("Processing file at path:", args.zip_path)  # Debug print