Ticket #2785 (closed enhancement: fixed)
Move IGNORE_MISSING_DATA to run-time configuration
| Reported by: | pramsey | Owned by: | pramsey |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | woodbri, dmorissette, jmckenna, mko |
Description
Currently Mapserver has only compile-time control of behavior when files referenced in tile indexes are missing, via the IGNORE_MISSING_DATA define, and that behavior is applied globally.
Under this RFC, the missing data behavior will be defined:
- at run time
- on a per-layer basis
As well, the option to "fail on a missing layer" will be added to the WMS client code, which currently defaults to an "ignore on a missing layer".
All changes will preserve the current default behavior in cases where new behavior is not requested by the user: missing data in tileindexes will continue to cause failure and missing WMS layers will continue to be ignored.
A PROCESSING instruction "IGNORE_MISSING_DATA" will be added, and checked at run time in place of the current #ifndef IGNORE_MISSING_DATA blocks.
At the same time, this ticket (#2722) can probably be tracked down and resolved.
People who previously compiled with --enable-ignore-missing-data will have to add IGNORE_MISSING_DATA directives to their map files instead.

