How to use OpenStreetMap data (.osm.pbf) in ArcMap using Data Interoperability

This article tells you how to comsume OpenStreetMap data locally in ArcGIS for Desktop using the Data Interoperability extension.

 

Getting the Raw Data & Initial Processing

OpenStreetMap data can be downloaded using the export option on the OpenStreetMap site. 

Once youve downloaded the data it will be in a '.osm.pbf' file format; however, in order to get the data into a Data Interoperability-firendly format, you will need to use a freely-available tool called OsmConvert.

Once you have downloaded the tool, double click the .exe file to run it.

Type 'a' and press enter. If the OSMconvert tool and the OSM data are in the same folder, type the name of the OSM file and press enter. Follow the instructions and enter '1' to convert to a different file and the '1' again for the output file to be in .osm format. 


Processing the Data in Data Interoperability

To use the Data Interoperability extension, open up a new ArcMap document. Select the Customize menu, click on 'Extensions' and tick the box beside Data Interoperability.

*TIP* To make the tool run quicker, go to the Geoprocessing tab, click on 'Geoprocessing Options…' and make sure the 'Overwrite the outputs of geoprocessing operations' box is ticked and that the 'Enable' box is not ticked.

Open up ArcToolbox, go into the Data Interoperability Tools and open the 'Quick Import' tool:


Click the button to the right of the 'Input Dataset' input:

Click the button to the right of 'Reader Format', find 'OpenStreetMap (OSM) XML', select it and click OK.

Select the button to the right of 'Dataset' and add the converted .osm file.

When this is added, click on the parameters box, and check that 'Use Broad Feature Types, e.g. "highway", "tourism", "landuse" ’ is selected, and 'Close Off Default Areas Even if "area" Tag is Not Set'. Click OK for the parameters window and the 'Specify Data Source' window.

The 'Output Staging Geodatabase' input should update automatically with a new file geodatabase (.gdb), *Please make sure that you take note of where this geodatabase is located*

Click OK to run the tool.

The tool may take some time to run. When it is complete, the data should either appear in your Table of Contents, or you can scroll to where the Geodatabase was created in the Catalog window of ArcMap.