I am having a difficulty to use network analysis in ArcGIS because of unavailable network datasets. So, I googled it and realized that it is possible by using OpenStreetMap. However I don't know how to create a network dataset from OSM in qgis and then incorporate it to ArcGIS. I am a very beginner so please let me know in details.
QGIS cannot convert OSM data into a routable graph.
There are other tools which specialize on this task:
Both convert OSM data into a routable graph for import into PostGIS. From there, you can export in a format that you can feed into ArcGIS.
Assuming you have ArcMap and a Network Analyst extension (as mentioned in your question) it is possible to use OSM data for routing without using qgis. The most important is that you need to generate a routable network (called "network dataset" in esri world). Eva Peters created a tool called OSM2NetworkDataset which converts OSM datasets (*.osm) into a routable network for ArcMap. OSM2NDS is compatible with the recent ArcMap version (10.2.2). You can download it here. I recommend to use the commande line version (osm2nds_ArcGIS_10.0_console_1.1.1.jar) by following the installation instructions.
A sample batch-file could look like this ("PAUSE is the second line!):
"C:\Program Files (x86)\Java\jre6\bin\java" -Xmx1024m -cp "C:\Program Files (x86)\ArcGIS\Desktop10.2\java\lib\arcobjects.jar";"C:\osm2nds\osm2nds_arcgis_10.0_console_1.1.1.jar" org.n52.osm2nds.core.userinterface.console.Main C:\osm2nds\berlin_routing.osm C:\osm2nds\Parameters_Motorcar_v1.1.xml C:\osm2nds berlin_Motorcar C:\osm2nds\berlin_motorcar.log PAUSE
Copy these lines into a text editor of your choice, adjust the paths and save as "*.bat".
The only limiting factor is the size of the network as osm2nds will crash if your OSM datatset is too big. However, cities with up to 500.000 inhabitants were never a problem for me.
You can also use our free OSM converter from www.routeware.dk, which can create routable datasets in SHP format. Output is formatted to be easy to use with our own software, but with a few field updates, you can also use it with Network Analyst.
I think I got an easier way to accomplish it in ArcGIS with OpenStreetMap data.
It works for me but I don't know if it's 100% without an error. Please do it to help us to know if it's safe or not.
Before starting your Network analysis, dissolve your OSM road data by one field (same value for all classes).
Ex: Add field Net then make same value for the column Ex: FieldCalulator : Net = 0.
after that, you will have one shapefile with one line.
Use it while creating your NetworkDataSet.
but for the area, I use we do not have big routes or bridge or something like that.......