Select to view content in your preferred language

ArcGIS Explorer Online and kml version 2.3

1495
4
02-27-2012 07:06 AM
SanLefo
Emerging Contributor
Hello all.
As i have understood, ArcGIS Explorer Online curently supports Silverlight v.2.2.
I really need the refreshMode-onInterval code in kml files' services, which is supported in Silverlight version 2.3.
Is there a roadmap for upgrading ArcGIS Explorer Online to support Silverlight 2.3?

Thank you
0 Kudos
4 Replies
ShellyGill2
Regular Contributor
Hi,

Explorer Online does use the Silverlight 2.2 API yes - however, it's not using the Kml layer from there, so I dont think this matters for your issue. The ArcGIS Online map viewer and Explorer Online both use the same back end service to turn KML into features that can be displayed in a web map - this service supports a refreshMode of OnInterval, and also a ViewRefreshMode of OnStop (refresh when navigating stops). There is some information on display problems with KML in the Troubleshooting help topic here - http://help.arcgis.com/en/arcgisexplorer/help/#/Troubleshooting/01560000004p000000/:
[INDENT]Why does my KML layer not display as expected?
Explorer Online supports placemarks, ground overlays, time-enabled KML layers, network links, and refreshing by interval (using the RefreshMode value of OnInterval) and after navigation stops (using the ViewRefreshMode value of OnStop). If your KML file contains other types of content, Explorer Online may not display those elements as expected; for example, Explorer Online does not display screen overlays, and images included in pop-up windows must have Width and Height attributes defined in order o be displayed.
You will see a spinner icon in the Layers and Layer Details panels when KML is being added to the map, and when network links are being downloaded.[/INDENT]

Your issue that you originally reported on the ArcGIS API for Silverlight forum was forward to me by a colleague, but unfortunately the service you mentioned in that post is now not responding to test against. Is this your service, and if so can you check it's running? We'll test the refreshing of this data if we can access it.

Thanks,

Shelly
0 Kudos
SanLefo
Emerging Contributor
Hello Shelly,

thank you for your reply. Yes there was a power problem with the Server which now is solved.
I have read the thread about kml of course, but found now solution. This is thekml code i am using
to feed aircrafts' positions in Arcgis explorer online:

<?xml version="1.0" encoding="utf-8"?>
<kml xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.opengis.net/kml/2.3">
  <NetworkLink>
    <open>1</open>
    <name>AIRCRAFTS</name>
        <Url>
    <refreshMode>onInterval</refreshMode>
    <refreshInterval>30</refreshInterval>
    <viewRefreshMode>onStop</viewRefreshMode>
    <viewRefreshTime>5</viewRefreshTime>
      <href>http://92.118.182.164:65201</href>
          </Url>
  </NetworkLink>
</kml>

If you use the above mentioned link, you can see real time data directly in your browser.
Seems like sometimes the view refresh mode is working, thought.

Thank you for your help.
0 Kudos
ShellyGill2
Regular Contributor
This is thekml code i am using to feed aircrafts' positions in Arcgis explorer online


Unfortunately I'm still unable to get this working if I use this KML - I get a 400 error code back, indicating the wrong URL.

Seems like sometimes the view refresh mode is working


It is possible that the updates to your data you are currently seeing are being triggered after changes to the extent of your map - can you confirm if that's the case (confirm that you don't see the updates if you leave the map extent completely unchanged and just wait for the interval refresh)?

We suspect there might be an issue with the interval refreshing if you leave the map extent completely unchanged, as the URL that's being requested would be exactly the same and could return cached data. If I can access your server then I can test a change to correct this issue.
0 Kudos
SanLefo
Emerging Contributor
Thank you for the effort.
I don't know why you can't access my servers. I am attaching 3 pictures showing:
1. Raw data in my browser
2. Settings and layout in Google Earth
3. Layout in Arcgis Explorer Online.

The latter map's id is: http://www.arcgis.com/explorer/?open=c0138e6599004081a91843db55cfcab4.
I have made it Public, so you may access it from Arcgis Explorer Online too.
You are right thought, seems that if i change the map's extend, then i see the new positions of the aircrafts. I have tested and published 4 different time intervals, 10, 15, 20, 30 secs with the same results.

Thanks, again.
0 Kudos