How to display PlaceNode without overlap but show everything?

classic Classic list List threaded Threaded
3 messages Options
Bin.L Bin.L
Reply | Threaded
Open this post in threaded view
|

How to display PlaceNode without overlap but show everything?

I have a question in display PlaceNode. In my project, I use PlaceNode to diaplay the aircraft's name and other information, It can move with the aircraft. But when the aircraft's number increase, the PlaceNode overlap each other.
I need to display all of this PalceNode, How can I auto set them position to display all of the information without overlap? Or there are other methods to display this in OsgEarth?

Thx!
osgearth for aircraft display
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: How to display PlaceNode without overlap but show everything?

Bin,
Unforntunately, osgEarth does not have a mechanism for automatically moving labels to prevent or minimize overlap. This may be available in the future but right now it does not exist.
Glenn Waldron / Pelican Mapping
Bin.L Bin.L
Reply | Threaded
Open this post in threaded view
|

Re: How to display PlaceNode without overlap but show everything?

Hi gwaldron
Thanks for your reply.
Our company had written such a similar program three years ago. I have seen the video of his program. He did implement such a function. So this feature can indeed be implemented, But I don't know how to display it. Now my boss wants me to achieve the same functionality. maybe I can use osg::Text?
Bin
osgearth for aircraft display