Failed to execute (OSMGPCreateNetworkDataset)

Oct 7, 2012 at 9:18 PM
Edited Oct 8, 2012 at 2:13 AM

Hi,

no success in running the new Create a Network Dataset from OSM Data feature.

OS is Win7 with ArcGIS Desktop 10.1 and MS SQL Express database (SDE Personal)

1. Download, Extract and Symbolize OSM Data (just a small area for testing purpose - see my other posts)

2. Create OSM Network Dataset (with the given DriveGeneric.xml Network Configuration File)

Messages
Executing: OSMGPCreateNetworkDataset "Database Servers\VIRTUALULTIMATE_SQLEXPRESS.gds\OSM (VERSION:dbo.DEFAULT)\OSM.DBO.TUBS" C:\OSM\DriveGeneric.xml "Database Servers\VIRTUALULTIMATE_SQLEXPRESS.gds\OSM (VERSION:dbo.DEFAULT)\OSM.DBO.TUBS\OSM.DBO.TUBS_nd"
Start Time: Sun Oct 07 21:57:01 2012
Extracting Edge Features
OSMGPAttributeSelector_osmtools
Error HRESULT E_FAIL has been returned from a call to a COM component.
   ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.IGeoProcessor2_Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)

   ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTool(String tool, IVariantArray paramArray, String messageName)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.ConvertRequiredTagsToAttributes(Boolean isEdge)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.ExtractEdgeFeatureClasses()

   ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTask(String messageName, Action task)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateNetworkDataset()

   ESRI.ArcGIS.OSM.GeoProcessing.OSMGPCreateNetworkDataset.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPCreateNetworkDataset).
Failed at Sun Oct 07 21:57:07 2012 (Elapsed Time: 6.00 seconds)

 

Similar problem with File Geodatabase

Creating Network Dataset

Exception HRESULT: 0x80042288
   ESRI.ArcGIS.Geodatabase.IDatasetContainer2.CreateDataset(IDEDataset DataElement)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateBuildableNDS()

   ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTask(String messageName, Action task)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateNetworkDataset()

   ESRI.ArcGIS.OSM.GeoProcessing.OSMGPCreateNetworkDataset.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPCreateNetworkDataset).
Failed at Mon Oct 08 05:10:08 2012 (Elapsed Time: 7 minutes 27 seconds)

 

Any ideas?

Thanks and Regards,

RL

Developer
Oct 8, 2012 at 6:42 PM
Edited Oct 8, 2012 at 6:46 PM

Now with Wiki Link: [discussion:398394] resolved do you still run into this issue?

Oct 13, 2012 at 9:55 PM
Edited Oct 14, 2012 at 9:15 AM

The Creating Network Dataset failure occurs also with a File Geodatabase. It's not related to the column name length problem. Also tried a .sde database connection - no luck.

It is possible to get the nd_roads created if manually running the osm attribute selector before running the create osm network dataset.

-------

Messages
Executing: OSMGPCreateNetworkDataset "Database Connections\Connection to C2DV64B_SQLEXPRESS.sde\OSM2.DBO.HB" C:\OSM\ArcGIS_Editor_for_OSM_2_1_Desktop_Beta2\DriveGeneric.xml "Database Connections\Connection to C2DV64B_SQLEXPRESS.sde\OSM2.DBO.HB\OSM2.DBO.HB_nd"
Start Time: Sun Oct 14 10:08:31 2012

Extracting Edge Features

Select_analysis

 

Extracting Junction Features

Select_analysis


Error HRESULT E_FAIL has been returned from a call to a COM component.
   ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.IGeoProcessor2_Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)

   ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTool(String tool, IVariantArray paramArray, String messageName)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.ExtractJunctionFeatureClasses()

   ESRI.ArcGIS.OSM.GeoProcessing.RunTaskManager.ExecuteTask(String messageName, Action task)

   ESRI.ArcGIS.OSM.GeoProcessing.NetworkDataset.CreateNetworkDataset()

   ESRI.ArcGIS.OSM.GeoProcessing.OSMGPCreateNetworkDataset.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPCreateNetworkDataset).
Failed at Sun Oct 14 10:08:57 2012 (Elapsed Time: 26.00 seconds)

-------

Thanks and Regards,

RL

Coordinator
Oct 30, 2012 at 11:55 PM

Hello RL,

Unfortunately ArcMap can hold onto the network dataset being created and cause a schema lock. The easiest way to resolve it may be to save ArcMap after the OSM Feature dataset is loaded, reopen the saved map, and then run the Create OSM Network dataset tool. Can you try this and see if that works?

Christine