On Mon, Dec 05, 2011 at 01:10:34PM +0100, Michał Drożdż wrote: > Thanks! > > Both solutions sound great!:) Beware of the regexp solution as ST_Extent output might change to include a SRID in PostGIS-2.0. --strk; ,------o-. | __/ | Thank you for PostGIS-2.0 Topology ! | / 2.0 | http://www.pledgebank.com/postgistopology `-o------'