<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">All,<br><br>PostgreSQL can output as KML using the AsKML function. Hope this helps you to, at <br>least, generate KML files.<br><br><div><strong><font color="#0000bf">IC Carlos Ruiz</font></strong></div><div><strong><font color="#0000bf"></font></strong>&nbsp;</div><br><br>--- On <b>Tue, 9/23/08, Bob Basques <i>&lt;Bob.Basques@ci.stpaul.mn.us&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Bob Basques &lt;Bob.Basques@ci.stpaul.mn.us&gt;<br>Subject: Re: [mapserver-users] KML for WMS Service<br>To: damarmo@gmail.com, mapserver-users@lists.osgeo.org<br>Date: Tuesday, September 23, 2008, 7:48 AM<br><br><pre>All,<br><br>I don't think I'm answering your question directly, but I've<br>learned a few things about how Google earth imports WMS data directly, and that<br>in turn showed me how to
 export the layers from Google Earth into KML.  So now I<br>can write the appropriate KML output.<br><br>GE will import WMS services directly, but it's user interface leave a bit<br>to be desired on the operational side.  I've been toying around with the<br>same ideas though, where MapServer provides the result as a KML for GE use.<br><br>So, my next step would be to make use of a MapServer template to generate the<br>KML code (using the WMS export from GE as a starting point).  But this is where<br>I stopped in the steps, got other more pressing stuff at the moment.<br><br>bobb<br><br><br><br>&gt;&gt;&gt; "David Martinez Morata" &lt;damarmo@gmail.com&gt;<br>09/23/08 4:00 AM &gt;&gt;&gt;<br>Hi list.<br>I just a little question.<br><br>How I can create a KML file to show my WMS server in Google Earth?<br><br>Thanks<br><br>_______________________________________________<br>mapserver-users mailing
 list<br>mapserver-users@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/mapserver-users<br></pre></blockquote></td></tr></table><br>