Opened 20 years ago
Closed 20 years ago
#619 closed defect (fixed)
Document new config option
Reported by: | dmorissette | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | 4.2 release |
Component: | Documentation - MapServer | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: | jdoyon@… |
Description
Frank added a new CONFIG mechanism to the mapfile, and this still needs to be documented. Here is the note sent to mapserver-dev by Frank on 2004-03-13: --- Folks, I have added the CONFIG keyword for use in the MAP object in a .map file. It takes two arguments, a key and a value. The PROJ_LIB key will attempt to force PROJ.4 to use the provided value for looking up files like the epsg file, and the datum shift files. I am hoping that setting the PROJ_LIB variable will be the main use of this keyword for most people, helping them avoid having to set external environment variables. Any other value will be passed on to CPLSetConfigOption(). This provides customized control of some GDAL and OGR driver behaviours. Details on such options would be found in specific GDAL driver documentation. My main reason for implementing all this is because it is needed for controlling some behaviour of the OGR DODS driver. In addition to adding the CONFIG keyword in map file parsing, I also add a setConfigOption() and getConfigOption() method in mapscript.i, and documented them in mapscript.txt. I even tested them briefly in a python mapscript script. I am getting the hang of MapScript! I haven't updated the mapfile reference yet, but I intend to do that soon. Changes all committed. Whack me if I screwed something up. Best regards,
Change History (3)
comment:1 by , 20 years ago
Milestone: | → 4.2 release |
---|
comment:2 by , 20 years ago
Status: | new → assigned |
---|
Note:
See TracTickets
for help on using tickets.