Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Overview
OpenStreetMap (OSM) is a collaborative 'volunteered geographic information' project designed to create a free editable geographic database of the world. OSM is not an original geographic data source but a repository of registered contributor's inputs from manual surveys, GPS devices, aerial photography and other free sources. (Read more about OSM at its Wikipedia article.)This page describes a workflow for acquiring and using OSM data as a shapefile. It is not the only way OSM has no content or tagging quality control but OSM volunteers tend to be dedicated toward contributing good quality data.
The information in this document is incomplete and suggestions (in the comments box below) for enhancing this page are welcomed.
Acquiring OSM data
OSM ArcMap layerThis document describes the following selected sources:
Source | Remarks |
---|---|
OSM download | Raw data. |
ArcMap basemap | Background image for ArcMap. Symbology cannot be changed. Data cannot be interrogated. See ArcMap basemap below. |
Free shapefiles for predetermined areas. (Custom areas and configurations available commercially.) See 'Geofabrik' below. | |
BBBike | Free shapefiles for user-specified areas. See 'BBBike' below. |
Free global land polygons, water polygons, coast lines (and antarctic ice!) shapefiles. See 'osmdata' below. |
ArcMap basemap
The easiest way to incorporate OSM data with ArcMap is to add the 'OpenStreetMap' basemap layer. Image Removed
Image AddedClick Add data > Add basemap...Image Removed
Select OpenStreetMap > Add
Image Removed
Image Removed
ArcGIS will add an OSM layer to the active frameThe resultant basemap
Large scale sample from Venezuela.
The symbolization and content of the ArcGIS OSM layer cannot be changed. It may be preferable to acquire and use OSM data as a shapefile
OSM raw data downloads
The OSM site allows direct downloads of the raw data in
OSM shapefile sources
BBBike
GeofabrikA
Geofabrik Downloads is a free source of OSM data that can be obtained as a shapefile is Geofabrik Downloads. Links to others are available here on the OSM website. shapefiles for most of the world.
The Geofabrik download page offers extracts of each continent, and links to sub-regional extracts. Most continental extracts are only available in .pbf or .bz2 formats but the the continental pages have sub-regional extracts that are mostly available also as shapefiles. (Conversion of .pbf files to shapefiles is described below.) Geofabrik downloads contain all OSM data except each feature's contribution metadata.
Most available Geofabrik extracts were acquired from OSM in the previous two days. (The download pages document the actual acquisition date.) This could be critical during a sudden-onset crisis for which contributors make timely updates.
Example Geofabrik download resource options:
Global download page containing extracts and links to continent pages such as:
Central America download page containing .pbf, .bz2, and in most cases shapefile extracts, and links to sub-region pages such as:
Jamaica download page containing .pbf and shapefile extracts
Some locations are not available in sub-regional extracts. For instance, Bermuda is only available as part of the North America extract - and only as a .bpf or .bz2 file.
Using Geofabrik data
Geofabrik extract documentation. (This link contains the file version number. If it is broken due to a new version, please inform FIS in the comments below.)
ArcMap
point features
places
points of interest
pofw_a
pofw_a
buildings
landuse
natural_a
places_a
places
pofw
railways
roads
traffic_a
traffic
transport_a
transport
water
waterways
Geofabrik .pbf extracts opened with QGIS deliver 'lines', 'multilinestrings', 'multipolygons', 'other_relations', and 'points' layers. These can be exported to shapefiles with topologically unstructured overlapping features. The 'multipolygons' layer, for instance, has fields like 'aeroway', 'boundary' and 'natural'. Features are tagged in one or more of these fields so 'natural', for instance, can contain features tagged as 'water', 'beach', 'coastline', among others. A water polygon layer could therefore be created from the 'multipolygons' layer of the .pbf file with a filter or definition query for 'natural' = 'water'.
Geofabrik extracts that are not available as shapefiles can be imported into QGIS for subsequent use and / or conversion. But if a Geofabrik extract is available as a shapefile it may be an easier and and more reliable way of preparing the desired features. Image Removed
Image AddedGeofabrik shapefile 'multpolygons' extract filtered for 'natural' = 'water'Image Removed
Geofabrik shapefile 'multilinestrings'. Note that only some of the water polygon edges seem to be included as a 'multilinestring'.
extract filtered for 'natural' = 'water'
The line features marking the lake with an island (clearly visible in the ArcMap basemap rendering) is has no tags in the 'waterway' or any other field.
Nevertheless the Geofabrik
Other OSM shapefile sources
Links to others are available here on the OSM website.
Outputs/ResourcesText should include: Essential Reading, Additional Readings, Templates. Examples, Tutorials
Image Addedosmdata Jamaica water_polygons
Image Addedosmdata Jamaica land_polygons
Image Addedosmdata Saint Lucia lines