Ticket #2115 (closed defect: fixed)
AGG palette formatoption requires absolute path
| Reported by: | jmckenna | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | 5.0 |
| Severity: | normal | Keywords: | |
| Cc: | assefa, zjames, warmerdam, tbonfort, aboudreault |
Description (last modified by warmerdam) (diff)
Relative paths to the AGG palette file do not work:
OUTPUTFORMAT
NAME "agg/png24"
MIMETYPE "image/png; mode=24bit"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE "RGB"
FORMATOPTION "PALETTE_FORCE=TRUE"
FORMATOPTION "PALETTE=palette.txt"
END
causes this error: msImageCreateWithPaletteGD(): Unable to access file. Error opening palette file palette.txt
It should be relative to the location of the mapfile.
Change History
Note: See
TracTickets for help on using
tickets.
