<P>
Hi All!<BR>
<BR>
Anybody uses openmap as front end and postgis as back end.<BR>
<BR>
Pl. give me idea - how to connect openmap with postgis and display map?<BR>
<BR>
Thanks &amp; regards,<BR>
Amrita<BR>
<BR>
<BR>
On Tue, 27 Nov 2007 Nicolas Ribot wrote :<BR>
&gt; &gt; Hello,<BR>
&gt; &gt;<BR>
&gt; &gt; I have a table which contains a column 'tablename'. In this column, the<BR>
&gt; &gt; names of my geo tables are stored.<BR>
&gt; &gt; I want do write a query which deletes all geo tables in my database which<BR>
&gt; &gt; names don't appear in the column 'tablename' of this admin table. Has<BR>
&gt; &gt; someone any idea?<BR>
&gt; &gt;<BR>
&gt;<BR>
&gt;Hello<BR>
&gt;<BR>
&gt;If your geo tables were created with addGeometryColumns, or if you<BR>
&gt;have updated the geometry_columns metadata table, then you have the<BR>
&gt;list of all geo tables in it.<BR>
&gt; &gt;From it, and from your custom table, you should be able to build the<BR>
&gt;list of geo tables that are not in your custom table.<BR>
&gt;I think a pl/pgsql function is the easiest way to do this: for each<BR>
&gt;geo table stored in the geometry_columns that is not in your admin<BR>
&gt;table, generate a &quot;drop table...&quot; statement.<BR>
&gt;<BR>
&gt;If you do not use geometry_columns table (which is bad), you will have<BR>
&gt;to look at the Postgresql system tables to list all the tables having<BR>
&gt;a geometric column, then filtering out those registered in your admin<BR>
&gt;table.<BR>
&gt;(i do not remember the name of such tables, but PostgreSQL<BR>
&gt;documentation may help)<BR>
&gt;<BR>
&gt;HTH<BR>
&gt;Nico<BR>
&gt;_______________________________________________<BR>
&gt;postgis-users mailing list<BR>
&gt;postgis-users@postgis.refractions.net<BR>
&gt;http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>

</P>
<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font-family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1846186_1839156/1845568/1?PARTNER=3&OAS_QUERY=null target=new '><img src =http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1846186_1839156/creative_1845568.gif  alt='mobiles'  border=0></a></td></TR></Table>