Opened 17 years ago
Last modified 13 years ago
#2115 closed defect
AGG palette formatoption requires absolute path — at Initial Version
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
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.
Note:
See TracTickets
for help on using tickets.