Ticket #353 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

save output format

Reported by: assefa Owned by: assefa
Priority: high Milestone:
Component: MapServer C Library Version: 4.0
Severity: normal Keywords:
Cc:

Description

e-mail discussion on this subject

We just realized the output formats are not written into the map file when It 
is saved. I realize that saving the imagetype is enough (to recreate the same 
mapfile) for default output formats, but we end up loosing some specific user 
defined format options.
 I guess there are several ways to adress this :

  - write only the current output format used in the map file
  - write all the output formats
  - write back only output formats that are user defined (loaded from map file 
or create by mapscript) . In trhis case we would also write current one if 
diffrent from the user defined.


Answer from morissette@dmsolutions.ca

Agreed it should be #3, and this may require that we add a hidden flag
to the outputFormatObj to tell whether this is one of the default output
formats, or whether it was user-defined (in the mapfile or via
MapScript).  Something similar had been done in the symbolObj to
differentiate between symbols that are inline in the mapfile and those
coming from an external SYMBOLSET.

Change History

Changed 10 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed
Commited to CVS. Implemented as suggestion #3.

Changed 10 years ago by dmorissette

  • cc lacroix@… added

Changed 10 years ago by dmorissette

*** Bug 250 has been marked as a duplicate of this bug. ***
Note: See TracTickets for help on using tickets.