3d ellipse render

30 views
Skip to first unread message

arianna w

unread,
Feb 23, 2024, 10:00:30 AM2/23/24
to OpenSphere
Good morning,

I'm trying to render a geojson with a combination of point and 3d ellipse data. What needs to be done to configure this?

Thanks!
Arianna

William Wall

unread,
Feb 23, 2024, 11:21:57 AM2/23/24
to arianna w, OpenSphere
Given a point geometry with the properties SEMI_MAJOR, SEMI_MINOR (numbers in nautical miles), and ORIENTATION (degrees), you can:

- open the file
- select the layer
- change its style to "Ellipse"
- select a Fill Style and bump the slider up a bit (or you won't be able to see it)
- select a Border style
- select the "Show Ellipsoids" checkbox

(and obviously you need to be in 3D rather than 2D)

Here is a screenshot showing that.

If your question was more about how to do this programmatically, please let me know.

Screenshot 2024-02-23 at 9.20.47 AM.png


--
You received this message because you are subscribed to the Google Groups "OpenSphere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensphere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opensphere/14a39657-9e7f-4702-8d9b-57b776febae9n%40googlegroups.com.
Message has been deleted

William Wall

unread,
Feb 23, 2024, 3:22:37 PM2/23/24
to arianna w, OpenSphere
That layer looks like it contains a lot more than just point geoms, and I would need a small example file for comparison.

You also must have the 3 properties I mentioned as part of those points, which you can check by right-clicking the point and selecting Feature Info.

On Fri, Feb 23, 2024, 10:11 arianna w <arian...@gmail.com> wrote:
Hello,

I'm presently using the example version of Opensphere (https://master-branch-opensphere-ngageoint.surge.sh/), have put it in 3d mode, and as the attachment indicates I don't see ellipse as a dropdown option. Would it make more sense to render the geojson ellipse as a polygon geometry object?

Thank you in advance for any insights you can provide. Please let me know if you need any other details from me. 

Best,
Arianna

--
You received this message because you are subscribed to the Google Groups "OpenSphere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensphere+...@googlegroups.com.
Screenshot 2024-02-23 at 1.21.49 PM.png

arianna w

unread,
Feb 26, 2024, 10:35:40 AM2/26/24
to OpenSphere
Here is a sample: 

conf_ellipsoid95.length is in meters which is a 2D representation of ellipsoid length
conf_ellipsoid95.orient is in degrees off north which is a 2D representation of ellipsoid orientation

{
  "type": "FeatureCollection",
  "features": [
{
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          0.18,
          0.53012072519204,
          0
        ]
      },
      "properties": {
        "model_id": "test"}
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          0.17088920818288,
          0.52381556655405,
          0
        ]
      },
      "properties": {
        "model_id": "test2",
         "estimates": [
              {
                "conf_ellipsoid95": {
                  "length": [
                    11890.090356263534,
                    1.556283341982103,
                    1.5556266054579904
                  ],
                  "orient": [
                    0.8669847692218672,
                    1.2232269381312904,
                    2.680058700595287
                  ]
}
  }
]
}
}
]
}

Dave Kumar

unread,
Feb 29, 2024, 7:48:09 AM2/29/24
to arianna w, OpenSphere
Did you get help on this ?

--
You received this message because you are subscribed to the Google Groups "OpenSphere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opensphere+...@googlegroups.com.


--

Dhiraj "Dave" Kumar

CTO|Problem resolution thru Innovative solutions

EAIVision LLC

001-.314.583.2795 | 

dave....@EAIVision.com

image.png

arianna w

unread,
Feb 29, 2024, 7:55:37 AM2/29/24
to Dave Kumar, OpenSphere
Does the schema I'm building have to conform to the below schema as well? 
Hide quoted text

On Mon, Feb 26, 2024 at 4:12 PM William Wall <william....@gmail.com> wrote:
To my knowledge, OpenSphere has never supported nested JSON properties in that manner. It can only read a flatter properties format like this:

{
      "type": "Feature",
      "properties": {
            "semi_major": 11890,
            "semi_major_units": "m",
            "semi_minor": 1.556,
            "semi_minor_units": "m",
            "orientation": 45
      }
}
Reply all
Reply to author
Forward
0 new messages