Select to view content in your preferred language

GeoRSS Error

951
3
09-21-2012 08:04 AM
TanyaOwens
Frequent Contributor
I get the following error when I try to load a GeoRSS feed - any suggestions?

Error in reading the RSS feed.
   at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)
   at ESRI.ArcGIS.Client.Layer.Initialize()
   at ESRI.ArcGIS.Client.Toolkit.DataSources.GeoRssLayer.loader_LoadFailed(Object sender, RssLoadFailedEventArgs e)
   at ESRI.ArcGIS.Client.Toolkit.DataSources.GeoRssLoader.wc_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)
   at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)
   at System.Net.WebClient.OpenReadOperationCompleted(Object arg)
0 Kudos
3 Replies
TanyaOwens
Frequent Contributor
Anyone else have trouble with GeoRSS feeds?
0 Kudos
KatherineDalton
Esri Regular Contributor
Hi Tanya,

How are you adding the GeoRSS feed (it has to be done programmatically)? Can you try using the following feed just to test? I just tried this one and it seems to be working: http://earthquake.usgs.gov/earthquakes/catalogs/7day-M5.xml

Also, from the API Reference, "Only GeoRSS-simple feeds are supported. Geometries are returned in Geographic WGS84. If you are displaying the feed on top of a map in a different projection, they must be reprojected manually when the graphics collection gets features added."

Can you check that you are using a GeoRSS-simple feed?

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
TanyaOwens
Frequent Contributor
Thanks Kathy,

The earthquake feed works fine for me. I am not sure if the one I am using is simple or not (how do you tell?). I thought the projection might be an issue so I set it up for the base map and the layer to have the same projection. I also tried to bring the feed into one of my API web application an received the following error:

"An unhandled exception ('Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Exception: Error in reading the RSS feed. --->
System. Security.SecurityException ---> System.Security.SecurityException:"

Which I had for something similar when the client access policy doesn't have my computer listed. We are working on seeing if that is the problem.

I also came across this post for the api:http://forums.arcgis.com/threads/22714-More-on-GeoRSS...?highlight=georss. I am not sure if this is a problem in the viewer but I will let you know if the client access policy allows me to use it in the viewer.

-Tanya
0 Kudos