Opened 21 years ago

Last modified 21 years ago

#419 assigned enhancement

option to ignore missing layers at run-time

Reported by: pkishor@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: 4.1
Severity: minor Keywords:
Cc:

Description

If a layer defined in the mapfile doesn't exist on the hard-disk, MapServer throws an exception. 
This can be disabled by configuring "-DIGNORE_MISSING_DATA" at compile time. It would be 
useful to have this as an option switchable during run-time so that MapServer (and MapScript) can 
be made to work under strict or tolerant mode.

Change History (2)

comment:1 by sdlime, 21 years ago

Cc: morissette@… added
It's a good idea, should be easy to add too. I'd propose adding a LAYER level 
flag

comment:2 by sdlime, 21 years ago

Status: newassigned
Version: 4.04.1
Whoops, this form is a bit sensitive. As I was saying. I'd propose adding a 
LAYER level attribute to control this. For some upcoming work I've got here I'd 
like that level of control. The alternative would be something at the MAP level 
but layerObj's persist all the way to the shapefile opening code (I think) and 
may be the better spot. Anyway, I'll have a look...
Note: See TracTickets for help on using tickets.