<div dir="ltr"><br><br><div class="gmail_quote">2008/7/12 Christopher Schmidt &lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Jul 11, 2008 at 04:37:40PM +0200, Fabio D&#39;Ovidio wrote:<br>
&gt; I have a vector Layer on the map. I fill it with a feature read using<br>
&gt; Format.GeoRSS parser<br>
<br>
</div>Why? That&#39;s more difficult than what I mentioned, which does all that<br>
for you and saves you the effort of mucking with HTTP requests.</blockquote><div><br>Because I need to include GML into GeoRSS Envelope and so I must use Format.GeoRSS, not Layer.GeoRSS.<br><br>&nbsp;</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>
If you really really want to do that, what you&#39;re looking to learn about<br>
is XMLHttpRequest, possibly via OpenLayers.loadURL, but your problem<br>
isn&#39;t about GeoRSS, it&#39;s about loading remote data. (We try to wrap<br>
these things up so that you don&#39;t have to worry about it.)</blockquote><div><br>Ok, but If I try as u suggested me (like in the previous mails) i have an error about geometry type.. <br><br><div id=":34" class="ArwC7c ckChnd">
The error is on /Format/GeoRSS.js:<br>
geometry has no properties<br>
if (geometry.CLASS_NAME == &quot;OpenLayers.Geometry.Polygon&quot;) {.......<br><br><br>..so I think I must change my map layer and use a GML. I&#39;ll try tomorrow at office.<br>Thanks again<br><br>Fabio <br></div><br><br>
</div></div></div>