Opened 22 years ago
Closed 22 years ago
#159 closed defect (fixed)
Inline symbols are lost when saving a mapfile
Reported by: | dmorissette | Owned by: | jlacroix |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: | pspencer@… |
Description
If we load a mapfile and then save it back using MapServer's msSaveMap() then inline symbol definitions are lost. I think the solution is to add an 'inline' flag in the symbolObj to mark inline symbols as we parse them from the mapfile, and then implement a writeSymbol() in mapfile.c to write back all the inline symbols in msSaveMap(). Do you agree with that change, Steve? If we do it then we should apply that change to both 3.6.1 and 3.7 since it is required by our MapLab suite.
Change History (2)
comment:2 by , 22 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
A inline flag is added in mapserver 3.6 and 3.7. msSaveMap() now call writeSymbol(). If the symbol was declare in the mapfile, the writeSymbol function save the symbol in the new mapfile.
Note:
See TracTickets
for help on using tickets.