You will need three tags within the LAYER one: CONNECTION "host=a port=b dbname=c user=d password=e" CONNECTION TYPE POSTGIS DATA "the_geom FROM your_table_name"
IC Carlos Ruiz --- On Wed, 8/6/08, ramses2k <[EMAIL PROTECTED]> wrote: From: ramses2k <[EMAIL PROTECTED]> Subject: [mapserver-users] mapserver+postgres To: mapserver-users@lists.osgeo.org Date: Wednesday, August 6, 2008, 7:23 AM Hi All, I'm new to mapserver, and tried out some examples (itasca, gmap, p.mapper, openlayers). I want to build a mapping application, where I can query points on mouseclick, that are located in a postgres/postGis Database. So far the examples I tried out only deal with shapefiles. Do you have an example for me to start out for? regards_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users