Ticket #2760 (assigned enhancement)
Rendering large maps with only partial data available.
| Reported by: | nnikolov | Owned by: | sdlime |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | MapServer C Library | Version: | 5.2 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Backgrownd:
In our work, we render maps covering the entire world. We have mapfile describing the rules for rendering every part of the globe. Sometimes however, we want to render a region a country or a continent, without the need to having the entire mapdata set, but at the same time, using the existing mapfile (for the entire world). Mapserver has already the ability to deal with some missing data (IGNORE_MISSING_DATA compile option). However, it can’t cope with missing data for an entire layer.
Proposal:
The proposal is to implement an additional compile option (IGNORE_MISSING_LAYER) allowing the map rendering to proceed, even if an entire layer can’t be rendered. The layer will be simply ignored. The change is very simple (two lines of code) in mapdraw.c file (lines 445 and 454) and of course Makefile.(see attachments).

