[MapServer-users] How to check if file is ready before loading with MAP file?
Jan Hartmann
j.l.h.hartmann at gmail.com
Wed Nov 5 02:31:29 PST 2025
With MapScript that would be very easy
> Op 5 nov 2025 om 10:44 heeft Carlos Neves (LREC) via MapServer-users <mapserver-users at lists.osgeo.org> het volgende geschreven:
>
> Hi List,
>
> I have Mapserver running loading heavy Geotiffs files. I run a periodic background C script to make dynamic geotiffs files but sometimes the Geotiff files are not ready (they are still in building process) when Mapserver load it and stops displays maps.
>
> In PHP I can check that with "md5_file" function comparing the two files. I'm considering if there is any trick to do it with MAP files using a command like: "IF geotiff file not exist or not ready load another"
>
>
> Any ideas would be appreciated.
>
> Best Regards,
>
> Carlos
>
>
>
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list