Hi all,
I have .shp data sets (100+) which I read with feature reader. The attributes’ values are saved as list ,attribute “ID” for shopA.shp has values as {0, 2, 4, 8} and another attribute “Desc_”: {cake, bread, drink}, my aim is to save them as json file so the json will look:
{
"uuid" : "1b2299d1-b97a-48d9-9a99-9994491ebb34",
"path_directory_windows" : "O:\\M\\A\\B\\",
"members" : [
{
"base_name" : "shopA.shp",
"created" : "20240225",
“attributes” : [
“ID”: “long”, “0, 2, 4, 8”, min = 0, max = 8, mean = 3.5, median = 3, mode = None,
“Desc” : char(256), “cake, bread, drink”
]
},
{
"uuid" : "322299d1-b94a-48d9-9a99-99944912bb34",
"path_directory_windows" : "O:\\M\\A\\C\\",
"members" : [
{
"base_name" : "shopB.shp",
"created" : "20240225",
“attributes” : [
“ID”: “long”, “1, 2, 3, 4”, min = 1, max = 4, mean = 2.5, median = 2.5, mode = None,
“Desc” : char(256), “cake, orange, apple”
]
},
Thank you so much in advance.
Mag