You can query PostGIS and use a PHP script to return the results as KML, GML, GeoJson- and add that layer directly in OpenLayers. -- View this message in context: http://n2.nabble.com/PostGIS-layer-tp4777953p4797746.html Sent from the OpenLayers Users mailing list archive at Nabble.com.