how to make roads in open_street_map ready for network_analyze in Arcgis-10.1 Details: I'v download an osm map of my town I saved the street lines as polyline shapefile I opend them in arcgis-10.1 I made the network dataset and add it to arcmap When I try to make a network anlyse to find the shortest route for 3 or 4 points I got an error message that the lines (street polylines) are not snapped well. So I can find the shortest route for some points (where the polylines are snapped well) but can't do that for far away points. Now Is there any way to solve this problem?? Can I do any kind of "automatic" snapping for all the polylines??
I really think you should have a look at ESRI's "ArcGIS Editor for OpenStreetMap". It includes a tool to build Network Datasets from OSM data:
Shapefiles are kind of "deprecated" in the world of ArcGIS. I recommend using the tools included in the toolbox, and a File Geodatabase for storage of the data, which gives you much more options.
Note ESRI is currently working on a new release of the toolbox, with quite a lot of fixes. It may be worth waiting for that, and upgrading to ArcGIS 10.3 or so in the process...
The lines in your shapefile aren't connected properly and thats why the error is occuring.
You can solve the issue in a few different ways. The first one is trying to build the network dataset. If the network dataset (ND) contains unconnected lines or edges it'll raise an error. If you click on the Show Build Errors button you'll get an overview of the unconnected lines (see screenshot). Edit your shapefile in order to connect them.
The second solution is to create a topology of the shapefile. Here is a nice tutorial: http://www.esri.com/news/arcwatch/1112/learn-how-to-create-a-map-topology-in-arcgis101.html