Hi Adi Saputra
I'm sorry.
Generate mobilty files for NS simulator from Open street Map using SUMO
sumo
OSM - Open street Map (osmWebWizard.py)
Step 1 :Create the Sumo-gui or Sumo configuration file using :
$] cd sumo/tools
$] python osmWebWizard.py
Select the cars, buses, motorcycles, etc.
and generate the scenario,
sumo-gui automatically pops up.
Step 2: Create the mobility.tcl
$] sumo -c osm.sumocfg --fcd-output trace.xml
$] cd && cd sumo/tools
$] python traceExporter.py -i trace.xml --ns2mobility-output=mobility.tcl
Now check the number of nodes in the mobility.tcl file which is very important.