[mapserver-users] Database connection in postgresql
Alexandre Dube
adube at mapgears.com
Tue Mar 3 05:58:41 PST 2009
rohan phatak wrote:
> Hello friends,
> I am using map server application in which i am displaying my
> map in web browser. I am creating button in that browser and on
> that button i want to attach my database connection means if i click
> this button the database/tables should be open so how to proceed that?
I'm not sure what/why you're trying to accomplish that, but you could
take a look at this (1). You might be interested.
> And my next question how to connect shape file to the
> postgresql in mapserver??
If you mean : "how do I connect mapserver to a postgis table" :
http://mapserver.org/input/vector/postgis.html
If you mean : "how do I transform my shapfile to a postgis table" : use
the shp2pgsql tool.
http://www.postgis.org/documentation/manual-1.3/ch04.html#id2743056
> THANKS IN ADVANCE.
Regards,
Alexandre
(1) http://geo.openplans.org/geoext/drake/tags/v0.1/apps/drake/drake1.html
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the MapServer-users
mailing list