<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Oct 10, 2008 at 3:21 PM, Eric Lemoine <span dir="ltr"><<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>></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'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 <<a href="mailto:ignacio.talavera@gmail.com">ignacio.talavera@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Hi, I'm trying to load a georss layer using this sample<br>
> <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>
> the sample with my own layer using EPSG 32721 SRS. I create a simple georss<br>
> file with coordinates in my SRS<br>
> OL add the layer in the layerswitcher control but it doesn't show it in the<br>
> map.<br>
><br>
> Do I have to change the georss file to specify that I'm not using WS84?<br>
><br>
> Here is the georss File<br>
><br>
> *<?xml version="1.0" encoding="UTF-8"?><br>
> <rss xmlns:content="<a href="http://purl.org/rss/1.0/modules/content/" target="_blank">http://purl.org/rss/1.0/modules/content/</a>" xmlns:rdf="<br>
> <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>" xmlns:dc="<br>
> <a href="http://purl.org/dc/elements/1.1/" target="_blank">http://purl.org/dc/elements/1.1/</a>" xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"<br>
> xmlns:taxo="<a href="http://purl.org/rss/1.0/modules/taxonomy/" target="_blank">http://purl.org/rss/1.0/modules/taxonomy/</a>" xmlns:georss="<br>
> <a href="http://www.georss.org/georss" target="_blank">http://www.georss.org/georss</a>" xmlns:geo="<br>
> <a href="http://www.w3.org/2003/01/geo/wgs84_pos#" target="_blank">http://www.w3.org/2003/01/geo/wgs84_pos#</a>" version="2.0"><br>
> <channel><br>
> <title>Sample Feed (created with ROME)</title><br>
> <link><a href="http://rome.dev.java.net" target="_blank">http://rome.dev.java.net</a></link><br>
> <description>This feed has been created using ROME</description><br>
> <item><br>
> <title>ROME v1.0</title><br>
> <link><a href="http://wiki.java.net/bin/view/Javawsxml/Rome01" target="_blank">http://wiki.java.net/bin/view/Javawsxml/Rome01</a></link><br>
> <description>Initial release of ROME</description><br>
> <pubDate>Thu, 02 Oct 2008 19:54:33 GMT</pubDate><br>
> <guid><a href="http://wiki.java.net/bin/view/Javawsxml/Rome01" target="_blank">http://wiki.java.net/bin/view/Javawsxml/Rome01</a></guid><br>
> <dc:date>2008-10-02T19:54:33Z</dc:date><br>
> <georss:point>573377.2825 6136843.2713</georss:point><br>
> </item><br>
> </channel><br>
> </rss>*<br>
><br>
> Thanks Nacho<br>
><br>
</div></div></blockquote></div><br></div>