Thanks for this.  I think a wiki page comparing these various XML type
formats with links to various examples eould be extremely usefull - for
me at least!<br><br>I&#39;ve had a go at creating this - probably entirely
incorrect but perhaps you could correct / add to this?&nbsp; I&#39;ve marked
things with ??? where I am unsure about something or examples seem to
be broken or where a simple change would improve the usefulness of the
example considerably.
<br><br><a href="http://trac.openlayers.org/wiki/XML" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://trac.openlayers.org/wiki/XML</a><br><br>I
don&#39;t want to blunder in and mess up your wiki, but I think maybee a
main &#39;features&#39; or &#39;overview&#39; page would be good linking from the
documentation page - <a href="http://trac.openlayers.org/wiki/Documentation" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://trac.openlayers.org/wiki/Documentation</a> which could then link to things such as this&nbsp; XML page
<span class="e" id="q_1151deef20fa2ffe_1"><br><br><br><div><span class="gmail_quote">On 19/09/2007, <b class="gmail_sendername">
Christopher Schmidt</b> &lt;<a href="mailto:crschmidt@metacarta.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">crschmidt@metacarta.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Wed, Sep 19, 2007 at 10:43:33AM +0100, mike wrote:<br>&gt; Hi,<br>&gt;<br>&gt; Is there any documentation of the merits / purpose and intended future<br>&gt; developments of the various XML layers such as GeoRSS, GML, KML etc?
<br><br>Well, the versions in 2.4 were very minimal: Primarily designed to get<br>people started. Specifically, KML had no polygon support, and was<br>readonly, GeoRSS was write only, etc. The resutl of this, however, was
<br>that in 2.5 we got both of those fixed: GeoRSS is now a full Atom/RSS<br>GeoRSS Simple parser, KML supports all KML 2.1 Geometries, etc.<br><br>I have no idea if our GML parser is *valid*, but it has always been the<br>

most complete, I believe because its development was funded as part of<br>Cameron Shorter&#39;s OWS Testbed work. (I could be wrong on this.)<br><br>&gt; They seem to be very similar and almost interchangable, and I&#39;m
<br>&gt; finding this a bit confusing.<br><br>Some day in the distant future, when OpenLayers does everything you need<br>and new features are just a memory, all Vector Formats will have a<br>complete mapping of their formats into OpenLayers constructs as best as
<br>the client is able. (This does mean that there are many things that they<br>will be missing -- For example, we will not be representing the altitude<br>of KML features in OpenLayers, so far as I can predict.)<br><br>
At the moment, they are as complete as people have wanted to make them,
<br>and no more. In some casees (GML, via OGC, and soon I believe KML via<br>the OWS-5 work), specific Formats have gotten a boost due to outside<br>funding of development, thus they may be more complete. In other cases<br>

(GeoJSON) the spec is relatively complete and simple in and of itself,<br>and the authors of the spec happen to be OpenLayers contributors.<br><br>&gt; For example, I&#39;m using GeoRSS to draw markers, and KML to draw lines.
<br>&gt; However, this excellent GeoRSS Serialise example seems to be an edit /<br>&gt; draw component for lines and polys:<br>&gt; <a href="http://dev.openlayers.org/sandbox/ahocevar/sldRenderer/examples/georss-serialize.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://dev.openlayers.org/sandbox/ahocevar/sldRenderer/examples/georss-serialize.html</a><br><br>There&#39;s actually probably no reason that you *have* to use GeoRSS to<br>draw markers anymore: it could be done with just a little bit of styling
<br>work on a vector layer. It&#39;s not trivial yet, because there is no<br>pressing business case telling me why I should do it, and presumably no<br>one else has had one either.<br><br>&gt; Equally, KML boasts support for styles, although this is not
<br>&gt; implemented yet, and if we are accepting the Google definition, then<br>&gt; KML should support both markers and lines / polys.<br><br>I&#39;m assuming when you say &quot;KML boasts support&quot;, you don&#39;t mean within
<br>OpenLayers, but in general. If we accept that, we should also support<br>Photo Overlays and 3D. We can&#39;t do that :)&nbsp;&nbsp;However, mapping the full<br>set of KML data that *can* be represented into OpenLayers is the<br>

eventual goal: just not neccesarily a high priority.<br><br>&gt; Is there a twiki page for this or a good resource I could refer to?<br>&gt; I&#39;m considering developing this further and I&#39;d like to make sure I&#39;m
<br>&gt; doing the right thing before I start...&nbsp;&nbsp;Also if anyone if actively<br>&gt; developing in this area I&#39;d be very interested to discuss and see if I<br>&gt; can help.<br><br>Not really. Docs are the weakest point on the project, but if you have
<br>specific questions I&#39;m glad to answer them, and you can turn them into a<br>wikipage. Also, I&#39;m often on IRC, <a href="http://irc.freenode.net/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
irc.freenode.net</a>, #openlayers, as are<br>40+ other extremely intelligent contributors to the project, many of
<br>whom would be glad to help.<br><br>&gt; My other point is about combined layers - I&#39;d like to create a layer in the<br>&gt; layerswitcher which shows markers and lines / polys (i.e. SVG I assume).&nbsp;&nbsp;Is<br>&gt; it possible to make a combined layer or wrap two layers into one in some
<br>&gt; way?<br><br>Several. But it&#39;s likely that you just want to use a Vector layer with<br>an externalGraphic: see the vector-features.html page for styling<br>examples. (The only time this wouldn&#39;t be true is if you were required
<br>to support Safari 2.)<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta</blockquote></div></span><br>