Data format Issue

141
0
09-09-2019 04:09 AM
GauravChadha
New Contributor

Hi,

I converted few KML files to shape files using QGIS converter and uploaded them in arcgis developers. As a result, i am receiving the output in JSON format from arcgis developers. For all objects ie Fibers, i am getting the paths data in one same json format except one object ie fiber xyz.

Could you please suggest me why is it happening that, for all the fibers , i am getting the paths data in same json format and for one fiber ie XYZ, i am getting the data in different json format. Below are the JSON formats,

For all the Fibers, i am getting the data in below format,

"paths" :
[
[
[-87.427424, 38.2190792],
[-87.428667, 38.2183435]
],
[
[-87.425678, 38.2201152],
[-87.427424, 38.2190792]
],
[
[-87.424853, 38.2206039],
[-87.425678, 38.2201152]
],
[
[-87.424433, 38.2208647],
[-87.424853, 38.2206039]
]
]

For fiber ie XYZ, i am getting the data in below format,


"paths" :
[
[
[-87.410158, 38.2193616],
[-87.410166, 38.2182176],
[-87.410168, 38.2162132],
[-87.410169, 38.2159912],
[-87.410179, 38.2152055],
[-87.410176, 38.2148121],
[-87.410176, 38.2148203]
],
[
[-87.410176, 38.2148121],
[-87.410176, 38.2147504],
[-87.410183, 38.2144032],
[-87.410194, 38.2137483],
[-87.41018, 38.2122079],
[-87.410182, 38.2115922],
[-87.410183, 38.2113663],
[-87.410184, 38.2111324],
[-87.410198, 38.20896]
]
]


I want the paths data in one format for all the fibers including above XYZ fiber as well.
Kindly suggest!

Thanks,
Gaurav

0 Kudos
0 Replies