Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1820 closed enhancement (wontfix)

Make MS give an error if raster images defined in TILEINDEX are not found

Reported by: tpievila@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc:

Description

Currently MS gives you an error if the TILEINDEX isn't found, but silently
ignores if the raster files defined in the index are not found. Would make
debugging simple problems a lot faster if MS would tell what's wrong...

Change History (4)

comment:1 by sdlime, 18 years ago

Tomi: The behavior is intentional since it is quite common to have tiling 
setups where some data simply isn't available for each tile.

There is a compile-time option --disable-ignore-missing-data that can be set to 
trigger those error messages. I suppose we could consider making that a runtime 
option. I'll leave the bug open for that possibility.

Steve

comment:2 by tpievila@…, 18 years ago

Runtime option would be better, since I (like many users) use a precompiled package included in my Linux 
distribution. I would think that it would be quite easy to do a new tileindex if some of the data is missing, 
but I haven't encountered such situation so I wouldn't know.

comment:3 by sdlime, 18 years ago

Resolution: wontfix
Status: newclosed
I checked the source for mapraster.c and see that if you set DEBUG TRUE at
either the map or layer lebel then MapServer will output messages about missing
tiles in any case. This should give you what you need. Marking as WONTFIX...

Please try it and let me know if that's not the case and we can re-open.

Steve

comment:4 by sdlime, 18 years ago

One last note. I did apply Frank's tile debugging statements to mapshape.c as
well so support is uniform.

Steve
Note: See TracTickets for help on using tickets.