World Wind Forums

Go Back   World Wind Forums > WorldWind Development (Other) > Add-on & Script Development

Add-on & Script Development Creating add-ons and scripts for World Wind.

Reply
 
Thread Tools Display Modes
Old 09-28-2007, 08:23 PM   #1
AlexG
Junior Member
 
Join Date: Nov 2005
Posts: 11
AlexG
Default Image Layer Failing to show Image in WW

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>
AlexG is offline   Reply With Quote
Old 09-28-2007, 08:42 PM   #2
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
withak
Default

I bet it's something to do with all those refreshing options. Where did the xml come from exactly?
withak is offline   Reply With Quote
Old 10-01-2007, 12:39 PM   #3
AlexG
Junior Member
 
Join Date: Nov 2005
Posts: 11
AlexG
Default

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.
AlexG is offline   Reply With Quote
Old 10-02-2007, 12:46 PM   #4
AlexG
Junior Member
 
Join Date: Nov 2005
Posts: 11
AlexG
Default

I found the problem. There was a file named improperly.
AlexG is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 07:33 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.