Error while using "Create OSM network dataset"

Apr 4, 2013 at 11:30 PM
The "create OSM network dataset" tool is not succesfull. I gives this text in the dialogue:
"....Adding Network Attributes
Creating Network Dataset
Exception from HRESULT: 0x80042288
at ESRI.ArcGIS.Geodatabase.IDatasetContainer2.CreateDataset(IDEDataset DataElement)
at ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateBuildableNDS()
at ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTask(String messageName, Action task)
at ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateNetworkDataset()
at ESRI.ArcGIS.OSM.GeoProcessing.OSMGPCreateNetworkDataset.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPCreateNetworkDataset).
Failed at Fri Apr 05 00:20:57 2013 (Elapsed Time: 11,00 seconds)
``` Is it possible to help me?

Thanks a lot
Apr 5, 2013 at 4:46 PM
Hello jorisw,
Something to try if you haven't already (and you'll want to try with a clean OSM gdb, not one that has parts of the unsuccessful network dataset in it):

1) Verify that background geoprocessing is not enabled (see The tool will not work if Background geoprocessing is enabled.

2) Verify that the name of the feature dataset and the root name of the feature classes contained are the same. E.g., feature dataset name could be mydataset, and the contained feature classes would be mydataset_osm_pt, mydataset_osm_ln, mydataset_osm_ply. This is the default behavior when you load an OSM file, but if you make a copy of the feature dataset, then its possible that the name of the feature dataset doesn't match the name of the feature classes, and this may cause a conflict.

3) After you Load the OSM File into the GDB (either with Load OSM File tool or Download, Extract, and Symbolize model), close ArcMap before you run the Create OSM Network Dataset tool. Then reopen and try. Sometimes ArcMap will hold on to the files and prevent them from being modified - closing and reopening often releases those holds.

If you try these and still get problems, let us know.