[mapserver-users] Connecting to PostGIS only one time for all the layers

Emilio Ponce yosoycore at gmail.com
Mon Apr 21 14:08:08 EDT 2008


I want to connect only one time to a PostGIS database, in order to
improve the efficiency of my mapfile. Now I'm connecting in every
layer with this lines:

"
CONNECTIONTYPE postgis
CONNECTION "host= ... "
DATA "the_geom from comarcas
"

Is there a way to do this only one time in all the mapfile using more
than one layer?

-- 
Emilio


More information about the mapserver-users mailing list