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 is a geospatial graphical library open-sourced (NASA Open Source Agreement) by NASA, available in .NET, Java, Java/Android and XCode, and based on OpenGL.

NASA says: "World Wind lets you zoom from satellite altitude into any place on Earth. Leveraging Landsat satellite imagery and Shuttle Radar Topography Mission data, World Wind lets you experience Earth terrain in visually rich 3D, just as if you were really there."

145 questions
20
votes
1 answer

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). This is the class used in the example (slightly…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
14
votes
2 answers

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 = setInterval(myTimer, 5000); function myTimer() { …
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
13
votes
1 answer

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.setPreferredSize(new java.awt.Dimension(300,…
Evans Belloeil
  • 2,413
  • 7
  • 43
  • 76
11
votes
3 answers

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 looks when I hover over the cube (Look at the…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
10
votes
2 answers

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 background. I have tried changing the internal color…
stix
  • 1,140
  • 13
  • 36
9
votes
2 answers

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 and have it stay on that compass heading even when…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
9
votes
1 answer

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 (like it does by default). I've got it somewhat…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
9
votes
2 answers

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 PickedObjectList I'm not sure of what API calls I need to…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
9
votes
1 answer

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 = getWorldWindCanvas().getModel().getGlobe() …
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
8
votes
2 answers

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 stack: Exception in thread "main"…
MBraedley
  • 422
  • 2
  • 10
  • 24
7
votes
1 answer

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 this that also works with the Tactical Symbol…
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
6
votes
1 answer

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.arc.nasa.gov/java/
ibrahimyilmaz
  • 18,331
  • 13
  • 61
  • 80
6
votes
1 answer

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: Double heading = getActiveAttributes().getHeading(); …
mainstringargs
  • 13,563
  • 35
  • 109
  • 174
6
votes
2 answers

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 for comment: // *** This is where it gets…
Jason
  • 2,579
  • 1
  • 17
  • 19
6
votes
1 answer

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 the position of the top pickable object which…
Alessandro Ruffolo
  • 1,575
  • 1
  • 16
  • 34
1
2 3
9 10