<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Feb 18, 2006, at 11:03 PM, MAPSERVER-DEV automatic digest system wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><B>From: </B></FONT><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">"cholmes (sent by Nabble.com)" &lt;<A href="mailto:lists@NABBLE.COM">lists@NABBLE.COM</A>&gt;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><B>Date: </B></FONT><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">February 18, 2006 12:07:17 PM MST</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><B>Subject: </B></FONT><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><B>Re: KML anyone</B></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">We've actually made some good progress in KML support in GeoServer, but one</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">thing that we found is that KML output is actually better geared for WMS</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">instead of WFS.<SPAN class="Apple-converted-space">  </SPAN>Why?<SPAN class="Apple-converted-space">  </SPAN>Because KML is really a display format.<SPAN class="Apple-converted-space"> </SPAN></FONT>If you just</P></BLOCKQUOTE><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">use WFS, then your kml will look quite boring, since it's just the data.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>okay, you've lost me.  i guess i don't know the distinction you are trying to make. i am generating style info along with my KML, but guess i don't know enough about WFS to know whether this is appropriate (it sounds like not, if i interpret your statement correctly).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i guess i took the approach as path of least resistance, given that i was using mapgml.c as my starting point, and it seemed simpler to produce it from a WFS request than to patch it in elsewhere (that doesn't make the choice correct!)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>is KML only a display format or is it only a display format if all you use it for is display? (i use it other programs and manipulate it as data, although admittedly, it does end up being pushed back to GE for display).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>is WFS restricted to contain no style information, or is it that GML provides no style information?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i'd appreciate further insights (as i said, i'm not that knowledgeable about WFS issues).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Instead it should follow the same rendering rules as the WMS style, using</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">either the mapserver rendering language or SLD (as GeoServer does).<SPAN class="Apple-converted-space">  </SPAN>With</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">this you can request a style, and have it appear the same as a jpeg or as</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">KML in your google earth.</FONT></P></BLOCKQUOTE><BR><BLOCKQUOTE type="cite"> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">We do lack the z-coordinate stuff though, we basically just put in a dummy 0</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">coordinate for the required z, but it ends up looking fine, you just can't</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">do the crazy 3d stuff.</FONT></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>i'm already using WMS layers to overlay onto GE. what i was trying to do was get at providing the z-coordinate info, when available.</DIV><DIV><BR><BLOCKQUOTE type="cite"> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Chris</FONT></P> </BLOCKQUOTE></DIV><BR></BODY></HTML>