Hi Christopher,<br><br>> Rather than making something up and supporting it in OpenLayers, I would<br>> like to see a general consensus on what is 'acceptable'. Personally, I<br>> would rather see reuse of the KML specification's visualization
<br>> techniques, which I would be happy to support in OpenLayers. <br><br>I would strongly support the idea of supporting KML in OpenLayers, particularly now that Google are standardising KML through OGC. It would potentially open up a very large number of datasets for visualisation in OL. I might even be able to contribute some development effort to this...
<br><br>Best wishes,<br>Jon<br><br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">To the GeoRSS list:<br><br>These questions came up on the OpenLayers users list, but they are
<br>general questions on use of GeoRSS more than OpenLayers implementation<br>questions. If you have thoughts on the answers to these questions, I<br>would love to hear them. Please follow up to the GeoRSS list.<br><br>Thanks.
<br><br>On Mon, Jan 15, 2007 at 03:56:34PM +0100, Yves Jacolin wrote:<br>> Hi,<br>><br>> I would like to load a GeoRSS url with several channels. For each channel, I<br>> would like a sp?cific layer in the layer control bar. But the actual geoRSS
<br>> javascript file load all items in one layer.<br>><br>> Do you have any ideas to modify the georss.js file to load one layer for each<br>> channel nodes ?<br><br>Multiple channels in one RSS file is, as far as I'm aware, a violation
<br>of the RSS specification. If you can point to a place where this type of<br>behavior is defined, we can investigate adding support for it.<br><br>If I were to implement it, I would probably simply add multiple layers,
<br>one for each channel (and having multiple files to contain that data).<br>Is there a reason that doesn't work for you?<br><br><br>> Furthermore, do you know if it is "possible" to add an icon tags for example
<br>> to modify icons for each item ? I modified my georss.xml response to get<br>> something like :<br>> <item><br>> <title>titre</title><br>> <link>link</link><br>> <description>Some description</description>
<br>> <geo:lat>48</geo:lat><br>> <geo:long>2</geo:long><br>> <icons>points.png</icons><br>> </item><br><br>This type of definitions is a misuse of the RSS format -- adding new
<br>terms should be done in a seperate namespace. At the moment, there is no<br>standardized mechanism for describing visualization of GeoRSS data.<br><br>Rather than making something up and supporting it in OpenLayers, I would
<br>like to see a general consensus on what is 'acceptable'. Personally, I<br>would rather see reuse of the KML specification's visualization<br>techniques, which I would be happy to support in OpenLayers. If a
<br>general consensus is reached -- or even if a specification is created<br>and documented, such that future users can look up how to include<br>styling/visualization information into their GeoRSS feed by looking at a<br>
web page -- I would be much more comfortable than with an ad-hoc<br>implementation.<br><br>> And copy-paste the part where icon is loaded from the test.js file. Does<br>> GeoRSS allow to add its own tag ?<br><br>There is no GeoRSS support for changing the markers built into the core.
<br>You can change the *default* Marker for OpenLayers, by modifying the<br>defaultIcon variable, similar to the code at the end of Marker.js:<br><br><a href="http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Marker.js#L126">
http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Marker.js#L126</a><br><br>but I assume you want different icons per-location, which would require<br>support in OpenLayers that we do not currently provide.
<br><br>I'm CCing this message to the GeoRSS list,<br><a href="http://lists.eogeo.org/mailman/listinfo/georss">http://lists.eogeo.org/mailman/listinfo/georss</a> , as discussion on this<br>topic is wider than the implementation in OpenLayers: The two issues at
<br>hand are whether GeoRSS supports multiple channels per file, and whether<br>there is a standard definition for describing styling information for a<br>feature. If a consensus is reached, I will bring the conversation back
<br>to the OpenLayers list.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br><br clear="all"><br>-- <br>--------------------------------------------------------------
<br>Dr Jon Blower Tel: +44 118 378 5213 (direct line)<br>Technical Director Tel: +44 118 378 8741 (ESSC)<br>Reading e-Science Centre Fax: +44 118 378 6413<br>ESSC Email: <a href="mailto:jdb@mail.nerc-essc.ac.uk">
jdb@mail.nerc-essc.ac.uk</a><br>University of Reading<br>3 Earley Gate<br>Reading RG6 6AL, UK<br>--------------------------------------------------------------