Display GeoPoint via 'Cesium GeoJson Document Raster Overlay'

Hi,

In my project, we have a use case where we need to display a GeoJSON Feature collection that contains points, polylines, and polygons.

I saw that the ‘CesiumGeoJsonDocumentRasterOverlay’ supports both Lines and polygons, but not points.

Is it by design? Can someone make a PR to add a default style for displaying Geo Points, same as is done in Cesium JS ( Sandcastle | CesiumJS )?

Thanks!

@azrogers, @Kevin_Ring, @janine any thoughts or road map on this direction?
If a PR is done regarding this issue will it be accepted?

@asaf.masa Currently I’m working on other vector work, not related to the GeoJsonDocumentRasterOverlay but which uses some of the same systems. This work will require adding support for points so I’m expecting we’ll have the ability to show points on a raster overlay by next release! Whether the modifications for supporting points in Cesium for Unity make it into next release is less clear but it shouldn’t be too long after at least.

The main reason we didn’t implement points in our original raster overlay is that exactly what it means to display a point is unclear. CesiumJS can display points as circles like in the example you shared, but you can also add pins using the PinBuilder. Support for points in the next release will be displaying points as circles (with configuration for point radius, fill color, and outline color), but if there’s some other way you’re looking to display points let me know as that’d be useful information for future work!

@azrogers Thanks for the reply.
I have some use cases in my application

  1. I need to draw a Feature collection as lines, polygons, and points with a specific custom style for each type (a circle is good enough for some scenarios)

    1. Custom style per object that will override the “Collection style” - for example, all cubes are blue, but several will be shown as red
    2. Option - We will have the ability to attach prefabs to the component that will be drawn instead of points (clamped to ground, etc.)
  2. I need to place “sprites” instead of some of the points (via the style)

  3. I need to place a pin “indicator” as in the attached image (the “pin” can get 3D behavior, can be behind the structure, etc.)

  4. I need the ability to “select” the GeoJSON Feature by clicking on it to use its data in my app, access its properties, and to select it also from code (from a panel)

  5. I need the ability to “attach” a sprite and text to a polygon/polyline/point drawing (attached image example)

As you can see, I have a lot of requirements :sweat_smile: , and I really like to know what from the above is in your roadmap.

Or if we need to open a list of feature requests on the Cesium-Unity repo.