OpenStreetMap (OSM) is a free, editable map of the world, created and maintained by volunteers and available for use under an open license. Anyone can use OSM to provide maps, directions, and geographic context to users around the world. In the 12 years of OSM’s existence, editors have created and modified several billion features (physical things on the ground like roads or buildings). As new users join the open mapping community, more and more valuable data is being added to OpenStreetMap, requiring increasingly powerful tools, interfaces, and approaches to explore its vastness.

Regular OSM data archives are made available in Amazon S3 in a few different formats (ORC, PBF). This includes both snapshots of the current state of data in OSM as well as historical archives and changesets.  

All data are housed in the Amazon S3 US-East region and can be accessed by any tool that supports S3, including the AWS Command Line Interface.

To see all the files available:

aws s3 ls osm-pds

To download a planet file in PBF format:

aws s3 cp s3://osm-pds/2017/planet-170501.osm.pbf .

To create a table from the planet file for use with Amazon Athena or other similar packages:

CREATE EXTERNAL TABLE planet (
  id BIGINT,
  type STRING,
  tags MAP,
  lat DECIMAL(9,7),
  lon DECIMAL(10,7),
  nds ARRAY<STRUCT>,
  members ARRAY<STRUCT>,
  changeset BIGINT,
  timestamp TIMESTAMP,
  uid BIGINT,
  user STRING,
  version BIGINT
)
STORED AS ORCFILE
LOCATION 's3://osm-pds/planet/';

The following ARN is for an Amazon SNS topic that provides notifications whenever new data has been added to OSM on AWS:

arn:aws:sns:us-east-1:800218804198:New_File

This topic publishes an Amazon S3 event message whenever a new file has been created on Amazon S3. It will only accept subscriptions via Amazon SQS or AWS Lambda.

Learn more about subscribing to SNS topics.

Source
© OpenStreetMap contributors
Category Mapping
Format ORC, PBF
License OSM copyright and license here
Storage Service Amazon S3
Location s3://osm-pds in the US East (Northern Virginia) Region
Update Frequency Data is updated weekly

Seth Fitzsimmons shows how to use Amazon Athena to make large scale queries quickly across billions of features. You can read more and learn how to make your own queries here.

OpenStreetMap data as Mapbox Vector Tiles in an MBTiles file for data analysis, available on Amazon S3. In combination with a tile-based processing framework like TileReduce, OSM QA tiles allow for fast and parallelized analysis. You can use OSM QA tiles to conflate OpenStreetMap with other datasets, detect bugs like connectivity issues and monitor for vandalism.

Learn More
osm-qa-tiles
osm-metro-extracts

Every week, Metro Extracts automatically creates snapshots of OpenStreetMap data into manageable, metro-area files in a variety of formats for you to use and makes them available on Amazon S3. Grab an extract from the list of 200 most popular extracts below to get started right away.

Learn More

Accurate, high-resolution and up-to-date satellite imagery is an essential component for improving OpenStreetMap – whether it is to trace new features or to use as a reference layer for validation. A new global imagery service powered by the DigitalGlobe Maps API, which runs on AWS, is now accessible to meet those demands.

Learn More
dg-osm

Please raise an issue on the source GitHub repository if there are any questions or concerns about this dataset.

Educators, researchers and students can apply for free promotional credits to take advantage of Public Datasets on AWS. If you have a research project that could take advantage of OpenStreetMap on AWS, you can apply for AWS Cloud Credits for Research.