[MapServer-users] How to check if file is ready before loading with MAP file?
Carlos Neves (LREC)
cneves at lrec.pt
Wed Nov 5 01:35:18 PST 2025
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
More information about the MapServer-users
mailing list