![]() |
|
|||||||
| Add-on & Script Development Creating add-ons and scripts for World Wind. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Nov 2005
Posts: 11
![]() |
I am trying to create a layer that will Display NOAA radar data in WW. I used the XML from the site to create a bounding box to show a radar image. I can see the layer in the layer manager but when I click the image layer Doppler radar it will not stay checked and will uncheck itself instantly. Is there another way to do this with XML? Could my bounding box be to large for the image? Do I have to use a jpeg format for the image or can I use a .GIF or .PNG?
Thanks for the help Here is the code I am using to create this layer <?xml version='1.0' encoding='UTF-8'?> <LayerSet Name='Radar' ShowOnlyOneLayer='false' ShowAtStartup='true' RefreshTimer='30000' AutoReset='True' Enabled='True' Refresh='30' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='C:\Progra m Files\NASA\World Wind 1.4\Config\Earth\LayerSet.xsd'> <ImageLayer ShowAtStartup="true"> <Name>'Doppler Radar'</Name> <DistanceAboveSurface>50</DistanceAboveSurface> <BoundingBox> <North> <Value>43.445</Value> </North> <South> <Value>41.374677</Value> </South> <West> <Value>-86.4266</Value> </West> <East> <Value>-81.660644</Value> </East> </BoundingBox> <TexturePath>C:\Program Files\NASA\World Wind 1.4\Add-ons\Radar\NOR.jpeg</TexturePath> <Opacity>200</Opacity> <TerrainMapped>false</TerrainMapped> </ImageLayer> </LayerSet> |
|
|
|
|
|
#2 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
I bet it's something to do with all those refreshing options. Where did the xml come from exactly?
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2005
Posts: 11
![]() |
I used the template from this site to create this XML. I am getting the Images from the NOAA website. But as a test I am trying to layer a single image to make sure it will work in WW.
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2005
Posts: 11
![]() |
I found the problem. There was a file named improperly.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Plugin: My favorite Icons - Add Icons/Favorite | canosso | Add-ons & Scripts | 26 | 03-02-2010 03:06 AM |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 04:37 AM |
| Path to walk for creating single image layer | Hactic | Image Serving & GIS | 7 | 06-11-2007 12:04 PM |
| Preparing map/imagery tiles for custom image layer | gohyongkwang | Image Serving & GIS | 6 | 06-16-2006 09:45 AM |