Converting OpenStreetMap (OSM) layers to Shape files using Spatial Desktop Manager software

Task

Demonstrate how to convert OpenStreetMap (OSM) layers to shapefiles.

Steps

– Define and export the area of interest in OpenStreetMaps;

– Open with Spatial Manager Desktop version and convert to shapefile.

Spatial Manager Desktop version is a subscription based software but users can download a one month free trial to practice.

 

Procedure

Browse to and launch OpenStreetMap. Locate area of interest, for the demo, it is the Ibadan area. Click on Export.

Capture-6

 

The area in red box will display the bounding coordinates of the area of interest displayed on the map. If the extents are satisfactory, then click Export (where the cursor finger is)

Capture-7

 

A download message box will appear. Click Ok to download the file to the PC.

Capture-8

 

2. Opening the OSM file with Spatial Desktop Manager and converting to shapefile

Copy the downloaded OSM file from downloads and paste in a working folder in the C drive. Spatial Desktop Manager can only access files in the C or D drives. For the demo, the file was renamed –Ibadan.osm during the copy and paste process.

Launch the Spatial Manager Desktop version . In the directory, navigate to where to the Folder in C: where the file is saved.

Capture-9

Right Click on the File and click Load in new document.

Capture-10

The User is prompted to select or deselect parameters that will be loaded with the file. For the demo, all parameters are accepted.

Capture-11

The file is opened and the map from OSM is displayed.

Capture-12

Right Click on the File > Export features

Capture-13

In the Export features window, it prompts user to set parameters for the source data.

Capture-14

Then prompts the User to select a destination for the file. In the lower part of the window (red boxed), name the file and select the type. for the demo, name is ibadanOSM and the Type is SHP.

Capture-15

Select an allowed geometry type. Here the user will pick a geometry type. For data with all geometry types, this process of export will be done more than once. For the demo, it will be polyline features.

Capture-16

 

The CRS for the shapefile is requested. the default from OSM is WGS84 so for the demo, the coordinates are transformed to have projection. WGS84/UTM zone 31N.

Capture-1

After all these parameters are filled in, the user is prompted to run the task. A message window appears to give the results of the processing. If executed properly, a OSM file is converted and saved as a shape file.

Capture-18

 

The ibadanosm shapefile is loaded into QGIS as a layer.

Capture-20

 

Using the identifier tool, one will observe the attribute data of the features were also exported along.

Capture-21

 

Now users can download recent vector data on areas of interest within cities and towns and update their GIS data.

Hope you enjoyed the post. Keep practicing along.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s