Hello Cesiums,
#1. situation:
I’m creating a geometry drawing system on the globe with geometry objects. I’m using this tool:
https://github.com/leforthomas/cesium-drawhelper. (It a great tool to draw shape on the globe!)
So now I want to save the geometry of a circle (and other types) into a PostGIS database. I’m using a webservice for this. I want to save the geometry from Cesium in to the POSTGIS database as a GeoJSON text string.
#2. My Question:
How do I convert a Cesium Geometry (circle, polygon, etc) into a GeoJSON? (object on the client… (I’m using jquery / javascript))