worldwind

Interpolating irregularly located data to

坚强是说给别人听的谎言 提交于 2020-02-04 00:41:09
问题 I am trying to display a colored surface in Worlwind Java, where the colors depend on latitude/longitude located values (e.g temperature) from a set of irregularly located data. I'm using the example found in the gov.nasa.worldwindx.examples.analytics package. There is a class Interpolator2D there but it doesn't seem to be able to compute irregularly located data. As far as I know I'm missing only one thing in order to do that : a way to generate a grid of regularly placed points from a set

Drawing a portion of a hemisphere airspace

≯℡__Kan透↙ 提交于 2020-01-16 04:22:09
问题 I am trying to use WorldWind's SphereAirspace to construct a particular 3D airspace. The 3D shape I am trying to construct is a hemisphere cut parallel to the ground at two places, suppose at height h1 and h2 from the ground. The base of hemisphere is parallel to the ground. Found I don't have enough reputation to post an image, you can see the image here: http://forum.worldwindcentral.com/showthread.php?45274-Drawing-a-portion-of-a-hemisphere-airspace Thought of two solutions: 1.) Get

How to hide (or remove) a pre-configured layer from the layers-panel in WorldWind

笑着哭i 提交于 2019-12-24 15:18:59
问题 I would like to hide one of the "standard" layers (such as Stars, atmosphere, nasa blue marble and so on) in the layer panel, and to visualize and to make enabled/disabled by ticks only layers added by me. Naturally, the hidden layers have to be always active. Is it possible? 回答1: If you want to remove layers programmatically use @sayyedbagher solution. Another solution is changing the initial settings of WorldWind by providing an xml file containing initial settings (including initial layers

Catching UnknownHostException of RetrievalUrl in WorldWindJava 2.1 in Netbeans

巧了我就是萌 提交于 2019-12-24 00:52:53
问题 I use WorldWindGlCanvas in a netbeans TopComponent. When top component is opened WorldWInd try to connect to some url (for example worldwind20.arc.nasa.gov). If there is not internet connection UnknowHostException is occured and a dialog is shown to show this exception. I want to catch this exception. Note that I know that worldwind could work offline and I can set it work offline but I want to set worldwind online so that it use online tiles when internet connection is provided and it uses

Worldwind - Shapes are always displayed on top of images?

醉酒当歌 提交于 2019-12-23 15:47:31
问题 I have two layers added to the layerlist of WorldWindowGLJPanel. One of them is RenderableLayer which contain shapes and the other is BasicTiledImageLayer containing raster images. (One layer contains one object). The problem is when i change the order of layers with layermanager panel, only the order of objects that have the same type of layer changes and shapes are always displayed on top of images no matter which order they have. Is there a way to correct this? Screenshots: And my code is

Disable globe movement on click in World Wind

ぃ、小莉子 提交于 2019-12-13 13:53:05
问题 I am trying to disable movement of the globe on mouse click in World Wind. I expected to be able to do: void disableGlobeDrag(WorldWindowGLCanvas ww) { ww.addMouseMotionListener(new MyMouseMotionListener()); } where MyMouseMotionListener consumes all of the mouse events. This is not working so instead I have to do: void disableGlobeDrag(WorldWindowGLCanvas ww) { for(MouseMotionListener l : ww.getMouseMotionListeners()) { if(l.getClass().toString().equals("class gov.nasa.worldwind.awt

How to give WMS URL for Geoserver in worldwind Android?

匆匆过客 提交于 2019-12-13 05:43:52
问题 How to give geoserver url for Worldwind in Android? In desktop version I give http://localhost:8090/geoserver/WorldWind/wms?service=WMS and it is working for me, but same url does not work in Qglobe Android Application code. As it is not showing list of getcapabilities in wms and shows error in WWXML class. It shows following error in console 02-25 14:36:35.805: W/System.err(333): at gov.nasa.worldwind.util.WWXML.openEventReaderURL(WWXML.java:450) 02-25 14:36:35.805: W/System.err(333): at gov

Why Worldwind globe is not showing in simulator?

99封情书 提交于 2019-12-13 05:13:03
问题 Recently I have been struggling with showing worldwind globe on simulator. I have found that on running the app in device it shows exact round globe as expected but on simulator it shows following output. I am not able to understand why this is happening. Any workaround on this? I have already put internet and external storage permission in AndroidMenfiest.xml . <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.qq

2D graph animation on WorldWindJava canvas?

与世无争的帅哥 提交于 2019-12-11 23:40:59
问题 Perhaps there are some of you using NASA's worldwind in WWJ form. I just started and set up everything in NetBeans, so that the latest WWJ runs there with jogl and co. I tested it with basic demo code. My aim is to display a graph on the WWJ canvas, that will be updated regularly and will be animated in this way. It will be a 2D graph of a dataset, that will be computed in the background and the WWJ programm has to read and display it. Do you have some tips and EASY examples/tutorials for how

tracking mouse position on Java WorldWind

拜拜、爱过 提交于 2019-12-11 13:23:13
问题 I am trying to add a mouse listener to my globe using addMouseListener . It does not show any error, I am even able to add a mouseClicked(MouseEvent e) , and still no errors. But finally when I am trying to get the current position using worldWindowGLCanvas1.getCurrentPosition() it shows NULL, even if I am clicking on the globe or outside... Can someone help me with doing this? Don't worry about extra spaces. I have modified since the website was not accepting my question :) 回答1: I'm not sure