1

I need to convert the below polygon to a GeoJSON object,

"Polygon":"146.90805846452713 -42.942663073539734, 147.01517516374588 -42.87627762556076, 147.15525084733963 -42.745309352874756, 147.03989440202713 -42.5898035466671, 147.08933287858963 -42.466334521770477, 147.16623717546463 -42.289817214012146, 147.15799742937088 -42.2268003821373, 147.22940856218338 -42.212562054395676, 147.26718145608902 -42.091744154691696, 147.20950323343277 -41.977504372596741, 147.03646856546402 -42.095820367336273, 146.85519415140152 -41.95095506310463, 146.88540655374527 -41.8241830766201"

Expected output: "geoPolygon": { "type":"Polygon", "coordinates":[[ [146.90805846452713,-42.942663073539734], [147.01517516374588 ,-42.87627762556076]...... ]] }

closed as off-topic by Jochen Schwarze, Fran Raga, TomazicM, LaughU, whyzar Aug 7 at 12:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – Jochen Schwarze, Fran Raga, TomazicM, LaughU, whyzar
If this question can be reworded to fit the rules in the help center, please edit the question.