I'm using Turf.js to generate circle geometry from point and radius, using the circle functions. Example:
c = turf.circle([0.0, 0.0], 100, {steps:1000, units:'kilometers'})
The returned result is Feature
object, and the only way I managed to represent the geometry is by applying c.geometry.coordinates
which returns an array.
However, my goal is to generate a WKT or at least a GeoJSON, but I haven't found a way to do so. Does anyone know how to do it with turf.js or alternatively know of a way to get a WKT representation of a circle with center and radius as inputs?