G'day Carlo. I do something like this by retrieving values from the database and generating sed commands to convert a "template" mapfile into an individual's mapfile.
Perl etc could be used instead of sed. HTH, Stephen On Wednesday 26 April 2006 14:32, MAPSERVER-USERS automatic digest system wrote: > Date: Tue, 25 Apr 2006 18:53:10 +0200 > From: Carlo Tronnberg <[EMAIL PROTECTED]> > Subject: Map file content partially or completely read from database > Dear List! > > I got the task to implement a web user management system where each > user = can access a customized map server and modify some of the map > settings. There are different groups and roles in each group. Some > are local = administrators for their groups and can create and modify > the privileges = and the basic settings of the map server for their > users. All users can = modify/customize their own settings and save > them in the database. > > For this reason I estimate the only way is to solve this through a = > database. Since I am already using PostgreSQL for my PostGIS layers, > the = choice of database is trivial. > > The user will have to login before he/she can access the system, thus > = the user is known at loading the map files. > > Question: Has anyone created such a system to read some (or all) data > = from a database to memory instead of the map file? If so, how could > this = be done? > > I hope somebody can help me with this. > > Greetings, > > Carlo Tr=F6nnberg ======================================================================== This email is for the person(s) identified above, and is confidential to the sender and the person(s). No one else is authorised to use or disseminate this email or its contents. Stephen Davies Consulting Voice: 08-8177 1595 Adelaide, South Australia. Fax: 08-8177 0133 Computing & Network solutions. Mobile:0403 0405 83
