RSS weather GraphicTracker


Purpose
This sample demonstrate the use of GraphicTracker to simplify visualization of dynamic elements in Map and Globe.
 
In this sample, GraphicTracker is used to draw an RSS weather feed from Yahoo! services.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/USZipCodeData.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Start Visual Studio, open the solution file, and build the project.
  2. Open the application (ArcMap, ArcGlobe, or a MapControl or GlobeControl application) to add the command.
  3. Open the Customize dialog box, find the Weather category, and drag the Add RSS Weather command onto your toolbar.
  4. Alternatively, click the Add from file button on the Customize dialog box, browse to RSSWeatherGraphicTracker.tlb, then drag the Add RSS Weather command onto your toolbar.
  5. Add any data type to serve as a background for the sample, such as ArcGIS Online StreetMap data.
  6. Click Add RSS Weather to connect the RSS feed and show the information geographically.

Additional information

The same command and code works in the ArcMap, ArcGlobe, MapControl, and GlobeControl applications.

RSSWeatherGraphicTracker/RSSWeather.cs Main implementation class that connects the RSS feed and visualizes the information on the Map or Globe using GraphicTracker.
RSSWeatherGraphicTracker/AddRSSWeather.cs Command that toggles the RSS feed on and off.
Download the C# files
RSSWeatherGraphicTracker/RSSWeather.vb Main implementation class that connects the RSS feed and visualizes the information on the Map or Globe using GraphicTracker.
RSSWeatherGraphicTracker/AddRSSWeather.vb Command that toggles the RSS feed on and off.
Download the VB.NET files

Download the files for all languages




Additional Requirements
  • The user must have administrator access rights since the sample creates a temporary folder.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime: 3D
ArcView: 3D Analyst ArcView: 3D Analyst
ArcEditor: 3D Analyst ArcEditor: 3D Analyst
ArcInfo: 3D Analyst ArcInfo: 3D Analyst