Opened 20 years ago
Last modified 19 years ago
#797 new enhancement
variables in MAP file
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | FUTURE |
Component: | MapServer C Library | Version: | 4.3 |
Severity: | minor | Keywords: | |
Cc: |
Description
In my opinion it would be a nice enhancement to be able to define variables in your MAP file which you can use throughout the MAP file. E.g. DEFINE WMS_URL "http://www.vz.geodan.nl:8080" LAYER CONNECTION "%WMS_URL%/ms4w/apps/zeegras/map/zeegras_server.map&" Or any other syntax. This can lighten configuration. Ofcourse this can be done by using a scripting environment, but not everybody wants to use a scripting environment to get this done. Thoughts?
Change History (3)
comment:2 by , 20 years ago
Hi Steve, this especially comes in handy when using MAP files as the configuration file for Chameleon. These MAP files are read by php_mapscript and determine which layers will be present in the Chameleon application. Bart
Note:
See TracTickets
for help on using tickets.