Questions tagged [worldwind]

Worldwind is a geospatial graphical library open-sourced by NASA, available in .NET, Java, Java/Android and XCode, and based on OpenGL.

worldwind
Filter by
Sorted by
Tagged with
20 votes
1 answer
2k views

WorldWind line of sight

I've found this example of how to render line of sight in WorldWind: http://patmurris.blogspot.com/2008/04/ray-casting-and-line-of-sight-for-wwj.html (its a bit old, but it still seems to work). ...
mainstringargs's user avatar
14 votes
2 answers
739 views

WebWorldWind Renderable Position Update

I am trying to "move" renderables around the web worldwind globe on an interval. To illustrate the issue I am having, I made a small example. This works (but is inefficient): var myVar = ...
mainstringargs's user avatar
13 votes
1 answer
978 views

How to resize WorldWind Panel?

I want to put a WorldWindowGLJPanel into a Pane, and I want to make it resizable, but I can't, even when I call resize or setSize method. Here's what I'm doing : wwd = new WorldWindowGLJPanel(); wwd....
Evans Belloeil's user avatar
11 votes
3 answers
1k views

Worldwind Custom Renderable Picking Issue

I'm going through this tutorial Whenever my mouse hovers over the cube created with this code (my version below), the Atmosphere and Stars disappear. This is how it looks normally: This is how it ...
mainstringargs's user avatar
10 votes
2 answers
756 views

NASA Worldwind: How can I change the color of the speed leader for tactical symbols?

In NASA WorldWind, one can assign a "direction of travel" speed leader to the Milstd-2525 symbols. However, this speed leader is black, making it very difficult to see against the dark blue ocean ...
stix's user avatar
  • 1,138
9 votes
2 answers
1k views

WorldWind PointPlacemark Heading

In NASA WorldWind Java, I'm using PointPlacemark to represent an image because it stays the same size regardless of zoom level. The problem is that I want to set the heading on the Point Placemark ...
mainstringargs's user avatar
9 votes
1 answer
1k views

Find if location is land or water in WorldWind

I know in WorldWind Java you can find out the elevation and a particular location with something like this: public Double getPositionElevationMeters(Double lat, Double lon) { double elevation = ...
mainstringargs's user avatar
9 votes
1 answer
1k views

WorldWind Java Google Earth Like Zoom

I've created an input handler for NASA Worldwind that I'm trying to replicate Google Earth like zooming with. I'm trying to make zoom towards the mouse cursor, instead of the center of the screen (...
mainstringargs's user avatar
9 votes
2 answers
337 views

WorldWind color at pick point

I'm trying to figure out a way to programmatically get the visual color (not the picking color) of the point where a user clicks on a WorldWind AnalyticSurface. Looking at AnalyticSurface and ...
mainstringargs's user avatar
8 votes
2 answers
18k views

Example WorldWind application encounters AbstractMethodError when started

I've been tasked with creating an application using the WorldWind API, and to familiarize myself with the API, I tried running the "HelloWorldWind" example app. When I do, I get the following error ...
MBraedley's user avatar
  • 431
7 votes
1 answer
662 views

Worldwind Line from Symbol to Terrain

Worldwind's Point PlaceMark renderable has the feature to drop a line from the Placemark down to the terrain by calling setLineEnabled as in this screenshot: What I'm trying to do is add a line like ...
mainstringargs's user avatar
6 votes
1 answer
7k views

How to use World Wind Java SDK offline

I'm trying to use World Wind, it is really good and very easy to edit. But in my condition, the application is needed to be run offline. So we can run the WorlWind offline ? http://worldwind....
ibrahimyilmaz's user avatar
6 votes
2 answers
688 views

Overriding a method in statically created objects

All, Due to a bug in a library I'm using, I need to override the dispose() method on all objects extending a certain class and make it a NO-OP. I know that if I'm making new instances of the classes ...
I82Much's user avatar
  • 27.2k
6 votes
2 answers
427 views

WorldWind Sphere Line Intersection Bug?

I'm seeing what appears to be contradictory behavior out of WorldWind's Sphere-Line intersection logic. I create a Sphere and Line and they intersect but then the intersection returns null (scan code ...
Jason's user avatar
  • 2,599
6 votes
1 answer
408 views

Worldwind PointPlacemark Pitch

I'm trying to figure out why the setPitch in the PointPlacemarkAttributes does not seem to work correctly. I believe this JOGL code in PointPlacemark.java is where things are going wrong: ...
mainstringargs's user avatar
6 votes
1 answer
2k views

Exact position by mouse click in WorldWind

I am having problems into getting the position (lat/lon) when I click on the globe. Everywhere on SO (and other websites) suggests to use the getCurrentPosition method. Unfortunately, this returns ...
Alessandro Ruffolo's user avatar
5 votes
2 answers
4k views

Setting the zoom level of worldwind map

I am trying to setup a layer using worldwind java and i want to render icons on the map at their specific geo locations. I have that working but i want to be able to zoom to where all the icons are. ...
MBU's user avatar
  • 5,048
5 votes
2 answers
2k views

Elevation Angle between Positions [closed]

I'm using Java NASA WorldWind, and I have two objects with different elevations and positions. How can I find the elevation angle between the objects taking into account the curvature of the earth? ...
mainstringargs's user avatar
5 votes
4 answers
2k views

Can't use World Wind Java into a maven project because of dependencies

I a am trying to use World Wind Java into a Maven project. First method would be to take their SDK here and all dependencies in build path. But I want to make it more maven compliant. First dependency:...
RandomCoder's user avatar
  • 6,734
5 votes
2 answers
4k views

Nasa Worldwind: How do you fix these weird run time exceptions?

Nasa Worldwind SDK has some examples that I wish to run. There are two ways I am trying to run the examples provided in the SDK: Create an Eclipse project using the entire SDK source folder. point ...
Trevor Boyd Smith's user avatar
5 votes
2 answers
882 views

How to draw a line with elevation representation in WorldWind

I want to draw a line on the globe with elevation representation, something like this : I know I can use polyline to represent a line, but how can fill the space below the line ?
Evans Belloeil's user avatar
5 votes
1 answer
2k views

OpenGL ATI vs NVIDIA GLSL issues

4 Separate Laptops, all running Ubuntu 11.04. One with an ATI Card, running GLX 1.4, OpenGl 3.3, GLSL 3.3, runs as expected. GLXINFO: name of display: :0.0 display: :0 screen: 0 direct rendering: ...
Dwight's user avatar
  • 360
5 votes
1 answer
5k views

WorldWind - Runnable jar : no gluegen-rt in java.library.path

I'm working with WorldWind Java and Eclipse. I am trying to export a runnable jar from my project in Eclipse. The export goes well but when I try to run the jar I got this error : Exception in ...
Autar's user avatar
  • 1,589
4 votes
2 answers
5k views

Adding a custom component to NetBeans GUI builder! (WorldWind)

Ok, I'm trying to add the World Wind globe from NASA to a GUI window created by NetBeans GUI builder. My sample code instantiates its own window, and the GUI builder would like me not to edit the ...
The Ox's user avatar
  • 43
4 votes
3 answers
2k views

Disable globe movement on click in World Wind

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 ...
Chris K's user avatar
  • 1,723
4 votes
0 answers
695 views

Worldwind Render Order of Surface Shapes and Tactical Symbols

Essentially, I would like Surface Shapes to be rendered on top of Tactical Symbols by default. Here is the problem recreated in a Worldwind Example public class TestApp extends ApplicationTemplate { ...
Steve's user avatar
  • 1,011
3 votes
2 answers
1k views

KML Direction of Movement Line

I've been working with NASA WorldWind and Google Earth. I'm using a KML placemark for the icon, and I'm hoping to replicate a Header/Leader Line in KML. I want a leader line similar to how the ...
mainstringargs's user avatar
3 votes
1 answer
1k views

How to explain API-centric architecture?

In my work I have mentioned that World Wind Java has API-centric architecture. I did this because of many articles mentioning it. He opposed with a question "What does it really mean API-centric ...
MichalB's user avatar
  • 3,301
3 votes
1 answer
292 views

JLabel resizes when redrawing other components

I'm having a problem with my Java layout. I'm trying to place a JLabel across the very top follow by a grid of five WorldWindowGLCanvas's. Something like: ---------------------------------------------...
Brandon's user avatar
  • 137
3 votes
2 answers
397 views

How to find bounding box lat longs of worldwind current view?

I'm working with worldwind and I'm trying to find the cordinates upper left, upper right, lower left, lower right of the current worldwind view. When I say cordinates i'm looking for the +/- 90 ...
Jeremy's user avatar
  • 965
3 votes
1 answer
2k views

Using Custom Shaders in WorldWind Java / JOGL

or Creating an IR effect in WorldWind Java I need to emulate an infrared (IR) view in WorldWind, and I'm not sure about the best way to go about this. I should point out that I do not need to ...
Aaron Novstrup's user avatar
3 votes
1 answer
983 views

Worldwind - Shapes are always displayed on top of images?

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 ...
orkan's user avatar
  • 522
3 votes
0 answers
363 views

World Wind Java SDK 2.0 Netbeans 8 MCVE Project

After spending time on research and following the tutorials / recommendations, I’m still not able to start my project using NASA World Wind SDK 2 in Netbeans 8 on a 32-bit Windows 7 machine. Due to ...
SSchuette's user avatar
  • 609
3 votes
0 answers
144 views

What is the hotspot offset?

When I'm trying to add a label to a TacticalSymbol in Worldwind, it has an Offset field for the offset of the label, and a second Offset field for a hotspot. What does this hotspot offset do? How ...
z  -'s user avatar
  • 7,140
3 votes
0 answers
552 views

Interpolating irregularly located data to

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 ...
Autar's user avatar
  • 1,589
3 votes
0 answers
10k views

What does "network: Cache entry not found [url: ...]" mean exactly?

Shortly I cannot figure out what is the common reason of network: Cache entry not found [url: ...] message's appearence in Java console during applet running in web browser. I've get that this one ...
ezze's user avatar
  • 4,023
2 votes
4 answers
2k views

Viewing code in a JAR file

I am a Java beginner, using Eclipse. I am trying to understand the NASA World Wind package. Specifically code that looks like this: protected WorldWindow wwd; protected StatusBar statusBar; ...
Kyle Wright's user avatar
2 votes
1 answer
1k views

How to remove the worldmap from nasa worldwind

I am working on a project related with nasa worldwind. Can anybody explain me that ,hw can I remove the worldmap ,which is located at the top left of screen.
Geek coder's user avatar
2 votes
1 answer
848 views

Restrict Camera View in WorldWind Java

I've been searching through documentation and examples, but I don't see any good demos showing me what I would like to do: How do I restrict the view in World Wind Java to a specific region? As in ...
Chase Sandmann's user avatar
2 votes
1 answer
623 views

Java NASA Worldwind Polygon with Internal Border

So im aiming to make a system where you draw a surface polygon and it essentially makes a dashed border around the polygon. The issue is I want this border to be a set size, meaning each dash should ...
crychair's user avatar
  • 337
2 votes
1 answer
349 views

Efficiently render large number of polygon in World Wind

I have very large number of polygons and I want to render them on world wind. So was I was using their Polygon class as follows: ShapeAttributes normalAttributes = new BasicShapeAttributes(); ...
zelta's user avatar
  • 105
2 votes
3 answers
1k views

Get Position from AWT canvas coordinates in WorldWind

I want to write a transformer for converting svg basic types into worldwind shapes like polyline, polygon etc. Since svg gives coordinates on canvas and I need to convert them to position, I am ...
sanjay's user avatar
  • 354
2 votes
1 answer
1k views

How to use add layer for PointPlacemarks?

I am using World Wind for an application I am building for my employer. I've been following a tutorial recommended by the official website, but while it's very simple to follow it is not very detailed....
Rudi Kershaw's user avatar
  • 12.6k
2 votes
1 answer
112 views

Use Bing in Worldwind Android

Use Bing Imagery in Worldwind Android How can i use bing imagery in Worldwind Android? is this the right way? WmsLayerConfig config = new WmsLayerConfig(); config.serviceAddress = "http://www....
Shaine Yap's user avatar
2 votes
1 answer
473 views

Remove Default WMS Layer From WorldWind Java

How do you remove the default WMS Layer from a basic WorldWind Java application? If I remove it like so, my application is still trying to reach the public WorldWind WMS servers: import gov.nasa....
Agricola's user avatar
  • 592
2 votes
1 answer
523 views

Catching UnknownHostException of RetrievalUrl in WorldWindJava 2.1 in Netbeans

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 ...
hadi.mansouri's user avatar
2 votes
1 answer
2k views

World Wind Java fails to retrieve WMS resources

I've downloaded the WorldWindJava SDK and run the HelloWorldWind example. However I get the following error every time: Oct 21, 2016 2:16:48 PM gov.nasa.worldwind.util....
Maps's user avatar
  • 135
2 votes
1 answer
755 views

How to add widgets(Textfield,Combobox etc.) in world wind NASA

I am trying to work with world wind NASA, instead of selecting layer that comes in the left pane by default, I want to provide drop down so that I can select particular country /state from it and then ...
DigvijaySingh Chauhan's user avatar
2 votes
1 answer
3k views

Conflict when using both java.endorsed.dirs and java.library.path

I have an existing java application that utilizes CORBA. As a result, it uses the java.endorsed.dirs command line parameter to point to the directory that contains the CORBA libraries we are using. ...
jhadley's user avatar
  • 422
2 votes
1 answer
697 views

Implement XYZ tile layer in NASA Worldwind

I'm using the NASA Worldwind API to put a virtual globe in my Android app. I would like to be able to implement an XYZ tile layer in my application, but there are no examples that I can find of this. ...
dave823's user avatar
  • 1,201