<div>To have an easy and quick acces to the various projects we have had over the years I would like to have a table with in it polygons representing the areas in which work was done. It seems to me that a view would be easiest as this is updated automatically. I came up with this script:</div>
<div> </div><div>CREATE OR REPLACE VIEW project_overview AS <br> SELECT geometry_columns.f_table_name AS table, geometry_columns.f_geometry_column AS geometrycol, st_estimated_extent('public', geometry_columns.f_table_name, geometry_columns.f_geometry_column) AS extent<br>
   FROM geometry_columns<br>  WHERE geometry_columns.f_table_name::text <> 'project_overview';</div><div> </div><div>which works fine, save that the type of the column extent is not geometry. Therefore autocad and quantum GIS cannot acces the information</div>
<div>Is there a way to change this in the definition of the view, or to bypass the problem by using a second view? As a newby I'm stuck at this point.</div><div>Also suggestions for different setups solving my problem would be appreciated. Because of our use of autocad we are restricted to PostGIS 1.5 on postgres 9.0.</div>
<div> </div><div>Thanks</div><div>Dale Rudrum</div>