Hi Community,
I have been provided with GEOJSON data, and I’d like to transpose the coordinates of the GEOJSON file to a path2D.
How should I proceed?
Thank you very much!
Best
Hi Community,
I have been provided with GEOJSON data, and I’d like to transpose the coordinates of the GEOJSON file to a path2D.
How should I proceed?
Thank you very much!
Best
Godot has a json parser that will turn your geojson into a tree of dictionaries and arrays (dicts for objects, arrays for… arrays…). You should be able to iterate over that and feed the results into the path.