How to make a dataframe into a geojson or dictionary format

name latlong
A1 16.83333333,109.395;17.30083333,110.1211111;20.84333333,111.5;20.64416667,110.9083333

according to linestring, so I guess I should make brackets around my coordinates? "type": "LineString", "coordinates": [ [30.0, 10.0], [10.0, 30.0], [40.0, 40.0] ] }



Read more here: https://stackoverflow.com/questions/68463034/how-to-make-a-dataframe-into-a-geojson-or-dictionary-format

Content Attribution

This content was originally published by dewinterbinich at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: