Opened 20 years ago

Closed 20 years ago

#498 closed defect (fixed)

msSaveMap Labelformat grid feature

Reported by: mschulz@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: unspecified
Severity: minor Keywords:
Cc: sgillies@…

Description

msSaveMap is not quoting the format string of the grid attribute labelformat. 
Thus, a saved map cannot be reloaded, a parse error is raised.
Fix is to change mapfile.c:628 to quote the labelformat string:
fprintf( stream, "        LABELFORMAT \"%s\"\n",                pGraticule-
>labelformat                 );

Cheers, Michael

Change History (2)

comment:1 by sgillies@…, 20 years ago

Cc: sgillies@… added

comment:2 by dmorissette, 20 years ago

Cc: morissette@… added
Resolution: fixed
Status: newclosed
Fixed. I have applied the quotes in the 4.1 CVS.
Note: See TracTickets for help on using tickets.