[Mapserver-users] Changing PostGIS connection string on the fly
David Mitchell
david.mitchell at telogis.com
Tue Feb 17 13:25:15 PST 2004
I have a layer that connects to a postgis datasource. In a file with ~30
layers, it can get tedious having to go through every layer and change
the connection string by hand (yes, search and replace works fine, but
there has to be a better way). I want to be able to set the connection
string dynamically.
I've tried using the cgi variable like so:
...&map_water_connection=%22user=postgres+dbname=world+host=dbserver%22
and in a number of variations on the theme, but to no avail. Ideas?
Thanks
--
David Mitchell
Software Engineer
Telogis
NOTICE:
This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law. If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.
More information about the MapServer-users
mailing list