<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Oct 10, 2008 at 3:21 PM, Eric Lemoine <span dir="ltr">&lt;<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi. Where do you set the projection? In the options passed to the map<br>
constructor? Or in those passed to the WMS layer constructor? It<br>
should be set in the map options for the GeoRSS layer to pick it up.</blockquote><div><br>I set the projection in map options but not in the layer georss<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Or: did you check that the GeoRSS file is effectively loaded? (i&#39;m<br>
thinking about a bad proxy configuration or something). Eric</blockquote><div><br>Yes the file it loaded correctly because it adds a new layer in the layerswitcher control.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
2008/10/10, Ignacio Talavera &lt;<a href="mailto:ignacio.talavera@gmail.com">ignacio.talavera@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; Hi, I&#39;m trying to load a georss layer using this sample<br>
&gt; <a href="http://openlayers.org/dev/examples/georss.html" target="_blank">http://openlayers.org/dev/examples/georss.html</a>. I replace the layer:basic of<br>
&gt; the sample with my own layer using EPSG 32721 SRS. I create a simple georss<br>
&gt; file with coordinates in my SRS<br>
&gt; OL add the layer in the layerswitcher control but it doesn&#39;t show it in the<br>
&gt; map.<br>
&gt;<br>
&gt; Do I have to change the georss file to specify that I&#39;m not using WS84?<br>
&gt;<br>
&gt; Here is the georss File<br>
&gt;<br>
&gt; *&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&gt; &lt;rss xmlns:content=&quot;<a href="http://purl.org/rss/1.0/modules/content/" target="_blank">http://purl.org/rss/1.0/modules/content/</a>&quot; xmlns:rdf=&quot;<br>
&gt; <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" target="_blank">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&quot; xmlns:dc=&quot;<br>
&gt; <a href="http://purl.org/dc/elements/1.1/" target="_blank">http://purl.org/dc/elements/1.1/</a>&quot; xmlns:gml=&quot;<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>&quot;<br>
&gt; xmlns:taxo=&quot;<a href="http://purl.org/rss/1.0/modules/taxonomy/" target="_blank">http://purl.org/rss/1.0/modules/taxonomy/</a>&quot; xmlns:georss=&quot;<br>
&gt; <a href="http://www.georss.org/georss" target="_blank">http://www.georss.org/georss</a>&quot; xmlns:geo=&quot;<br>
&gt; <a href="http://www.w3.org/2003/01/geo/wgs84_pos#" target="_blank">http://www.w3.org/2003/01/geo/wgs84_pos#</a>&quot; version=&quot;2.0&quot;&gt;<br>
&gt; &nbsp; &lt;channel&gt;<br>
&gt; &nbsp; &nbsp; &lt;title&gt;Sample Feed (created with ROME)&lt;/title&gt;<br>
&gt; &nbsp; &nbsp; &lt;link&gt;<a href="http://rome.dev.java.net" target="_blank">http://rome.dev.java.net</a>&lt;/link&gt;<br>
&gt; &nbsp; &nbsp; &lt;description&gt;This feed has been created using ROME&lt;/description&gt;<br>
&gt; &nbsp; &nbsp; &lt;item&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;title&gt;ROME v1.0&lt;/title&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;link&gt;<a href="http://wiki.java.net/bin/view/Javawsxml/Rome01" target="_blank">http://wiki.java.net/bin/view/Javawsxml/Rome01</a>&lt;/link&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;description&gt;Initial release of ROME&lt;/description&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;pubDate&gt;Thu, 02 Oct 2008 19:54:33 GMT&lt;/pubDate&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;guid&gt;<a href="http://wiki.java.net/bin/view/Javawsxml/Rome01" target="_blank">http://wiki.java.net/bin/view/Javawsxml/Rome01</a>&lt;/guid&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;dc:date&gt;2008-10-02T19:54:33Z&lt;/dc:date&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;georss:point&gt;573377.2825 6136843.2713&lt;/georss:point&gt;<br>
&gt; &nbsp; &nbsp; &lt;/item&gt;<br>
&gt; &nbsp; &lt;/channel&gt;<br>
&gt; &lt;/rss&gt;*<br>
&gt;<br>
&gt; Thanks Nacho<br>
&gt;<br>
</div></div></blockquote></div><br></div>