sumo icon indicating copy to clipboard operation
sumo copied to clipboard

How to convert json file to xml?

Open fengbaozhiling1 opened this issue 7 months ago • 2 comments

I have two files: flow.JSON and roadnet.JSON. I want to know how to convert the JSON files to xlm (e.g., .rou file and .xml file)? Thank you in advance!

fengbaozhiling1 avatar May 16 '25 01:05 fengbaozhiling1

flow.json roadnet.jsonThese are my files

LMCAV avatar May 16 '25 03:05 LMCAV

netconvert has the potential to load shape files (.shp, .shx, .dbf) and potentially also for loading .geojson.

However, there seems to be something wrong with your roadnet.json file insofar it cannot be loaded by QGIS (tested with version 3.22). Can you provide a valid .geojson file?

namdre avatar May 16 '25 06:05 namdre