cesium-unreal icon indicating copy to clipboard operation
cesium-unreal copied to clipboard

Add support for loading and interacting with GeoJSON data in Blueprint

Open azrogers opened this issue 8 months ago • 1 comments

The companion to CesiumGS/cesium-native#1154. This PR adds blueprint functions for loading and interacting with GeoJSON data. In particular, it provides the ability to load GeoJSON from a string or from Cesium ion, the ability to query nodes, and the ability to obtain primitives as values usable in Unreal.

One note is that access to the properties of a vector node requires blueprint functionality for interacting with JSON objects. I elected to push this responsibility onto the JSON Blueprint Utilities plugin, which is an official Unreal plugin but not enabled by default. Returning the FJsonObjectWrapper struct from a method is supported without this plugin enabled, but users will have to enable that plugin if they want to be able to do anything with it.

azrogers avatar Apr 09 '25 20:04 azrogers

@kring @j9liu I think that's all the review comments taken care of, minus the #include question (are we committing to angle bracket includes in Unreal)?

azrogers avatar Jun 13 '25 17:06 azrogers

Looks like we still have some VectorDocuments: image

kring avatar Jun 27 '25 14:06 kring

There's a lot of "vector document" in a bunch of other places as well, including filenames and parameter names (which matter because they're shown as output in names in Blueprint). Can I bug you to do a pass over the code to replace all those occurrences, and then I'll look for any that might have been missed while I'm reviewing?

kring avatar Jun 27 '25 15:06 kring

@kring I believe I've caught all of them, let me know if you find any others.

azrogers avatar Jun 27 '25 15:06 azrogers

Thanks @azrogers!

kring avatar Jul 01 '25 15:07 kring