Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

How can one pass a variable into a mapfile using mapserver with pmapper I would like to learn how generate maps dynamically having different extent, layers, default settings, etc.. by varing a variable in just one mapfile.

This variable could have different values, e.g. depending from user&password login.

Thank You

share|improve this question

1 Answer 1

MapServer offers Runtime-Substitution that can help you define different values for the same mapfile configuration: http://mapserver.org/cgi/runsub.html

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.