Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using an IconLayer in NASA World Wind (Java SDK) to show positioned items on a map which works fine except for when several are in a group and start to overlay one another. The display of the icons in a group like that is not so much of a problem as I need to allow the end user to easily select the correct icon in that "pile" easily. A workaround would be to allow for a right-click on an icon in that group would generate a context menu that shows a list of the items in that "pile" so they could select the one they want.

Creating a context menu on right-click is easy enough but I do not see how I could create a buffer from that point to do a simple geometry relationship like "contains" in NASA World Wind. I have searched the API a bit and have not seen anything that looks like it has potential so I was hoping that someone here might now of either how to do this in NASA World Wind or a simple way of including or achieving this functionality.

share|improve this question
up vote 1 down vote accepted

So it turns out that there is functionality built into NASA World Wind to handle this situation but it is not very straight forward or easy to find in my opinion. After digging more through the SDK there is an example application that details what must be done in order to enable "deep picking". Here is a link to the Deep Picking example application Java Doc:

The key for getting this to work is to ensure that the World Wind Scene Controller has Deep Pick enabled and that Batch Picking is disabled for all layers/renderers that you are interested in getting back as results in the pick list.

A side note on geometry relationships is that there is a class called Sector in NASA World Wind that looks promising for some basic functionality like contains, intersection, union ...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.