Register  |  Login
ThinkGeo - GPS Tracking and Mapping Solutions  |  Visit the Wiki  |  Find us on: Twitter Facebook Google+ LinkedIn
 

 
OpenStreetMap Data Free Crowdsourced World Data

OpenStreetMap Data Details

Each package of OpenStreetMap data that you download from ThinkGeo contains a variety of geographic information divided into various layers. This "Data Details" guide will help you understand what each of these layers represent, as well as provide an explanation for the various columns that are present in the data.

Please keep in mind that OpenStreetMap data is a crowdsourced project and ThinkGeo has no control over the accuracy or quality of the data herein. With that said, the open nature of OpenStreetMap means that if you see an inaccuracy, you can easily correct it yourself directly at OpenStreetMap.org. Any changes, corrections or additions you submit will be automatically picked up by ThinkGeo and added to our OpenStreetMap data repository within one week.

Available Feature Layers

When you download and unzip a package of OpenStreetMap data for a particular country, U.S. state or Canadian province, you will find it contains a number of Shapefiles that may include any or all of the following. (If a particular file is not present, it means that the area you downloaded does not have any data in OpenStreetMap that corresponds to that feature type.)

Quick Jump:

adminareas_lvlxx.shp

Example

Type: POLYGON

These polygon-based layers contain administrative areas that represent national and subnational regions. They are classified according to an "admin level", which ranges from 1 to 11.

The adminarea data is divided into separate layers (and therefore distinct Shapefiles) for each available admin level. Lower admin levels like 2 or 3 represent larger regions (nations, states, provinces), while higher level numbers like 8 or 9 represent smaller regions (towns, municipalities, settlements).

If there are any adminareas that do not have a level assigned, they will be placed in an adminareas_general layer. Additionally, the region you have downloaded may also have an adminareas.shp file which contains all of the adminarea features, regardless of their level, in a single layer.

Many countries in OpenStreetMap assign different meanings to the various adminarea levels. The official OpenStreetMap wiki offers a comprehensive matrix of admin level definitions so that you can see which level corresponds to which kind of region for the area you are downloading.

In general, countries of the world may use admin levels from 2 to 10, with the only approved level-1 adminarea being the European Union. Additionally, some countries (such as Germany and the Netherlands) use an 11th admin level for neighborhoods and the like.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. For adminareas, this will contain the admin level number. In the case of national borders, the fclass will be "national".
name String The name of the feature.

A Note about Adminarea Data Quality

Please be aware that the quality of OpenStreetMap adminarea data is very inconsistent. There are some countries for which almost no adminarea polygons exist, while other countries may have certain provinces or regions conspicuously missing. This is because OpenStreetMap's adminarea polygons are built from imperfect boundary line shapes. If boundary lines are missing or incorrect in such a way that a fully closed shape cannot be constructed from their outline, then the polygon for that admin area will not be created.

The best way to improve the admin area data quality is to visit OpenStreetMap.org and and edit the map data yourself so that the admin area polygons can be created successfully.

boundaries.shp

Example

Type: LINE

This line-based layer contains only the boundaries, or borders, of administrative areas that represent national and subnational regions. They are classified according to an "admin level", which ranges from 1 to 11.

The boundaries follow the same "admin level" classification convention that applies to the adminarea Shapefiles. They are, in fact, used as the basis for creation of the adminarea polygons. There are some regions where the boundary line data may be incomplete.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. For boundaries, this will contain the admin level number. In the case of national borders, the fclass will be "national".

buildings.shp

Example

Type: POLYGON

This polygon-based layer contains the outlines of buildings and structures.

The accuracy (and indeed, existence) of this data varies widely from region to region. Features on this layer may represent a structure as small as a hut or as large as an aircraft hangar.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. At the moment, all buildings have an fclass of "building". We intend to improve this at some point.

coastline.shp

Example

Type: LINE

This line-based layer contains only the coastal borders of the region you have downloaded; in other words, only those which are adjacent to bodies of water (lakes, oceans, etc.).

Landlocked countries or regions may not have this file in their zip package, as in this case no coastal borders exist.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. All coastal borders have an fclass of "coastline".

landuse.shp

Example

Type: POLYGON

This polygon-based layer defines areas of land that are used by people for various purposes. Examples include farms, industrial areas, cemeteries, forests, landfills and reservoirs.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the landuse layer.
name String The name of the feature.

places.shp

Example

Type: POINT

This point-based layer contains places such as cities, towns, villages, etc. In OpenStreetMap, the type of place is typically determined by its population.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the places layer. For this layer, the fclass is typically determined by the value of the population column.
name String The name of the place.
population Integer The population of the place, if known.

pofw.shp

Example

Type: POINT

This point-based layer contains places of worship such as churches, synagogues, mosques, etc.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. For places of worship, the fclass typically indicates the religion and/or denomination. See the place of worship article on the OpenStreetMap wiki for further information.
name String The name of the place of worship.

pois.shp

Example

Type: POINT

This point-based layer contains points of interest, which may range from schools and government buildings to retail shops and restaurants, hospitals, museums, etc.

In OpenStreetMap parlance, these are usually referred to as amenities.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the pois layer.
name String The name of the point of interest.

power.shp

Example

Type: POINT

This point-based layer contains the locations of places related to power infrastructure (towers, sub stations, generating plants, etc.)

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the power layer.
name String The name of the feature.

powerlines.shp

Example

Type: LINE

This line-based layer identifies power supply and transmission lines.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. For powerlines, the fclass will always be "powerline".
operator String The name of the utility company which operates the line, if known.

railways.shp

Example

Type: LINE

This line-based layer identifies railways, including mainline railways, light rail, metros, trams and so forth.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the railways layer.
layer String Identifies the relative layering of this railway (-5, ..., 0, ..., 5)
bridge Boolean Identifies whether this part of the railway is on a bridge.
tunnel Boolean Identifies whether this part of the railway is in a tunnel.

railwaystations.shp

Example

Type: POINT

This point-based layer identifies railway stations, including tram stops and local halts.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. For railway stations, may be station, halt or tram_stop.

roads.shp

Example

Type: LINE

This line-based layer contains roads, highways, bike trails, footpaths and other types of road surfaces. It is often one of the most complex layers in the package.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the roads layer.
name String The name of the road.
ref String The reference number of the road.
oneway Boolean Indicates whether or not this is a one-way road.
maxspeed Integer Maximum allowed speed in kilometers per hour.
layer Integer Identifies the relative layering of this railway (-5, ..., 0, ..., 5)
bridge Boolean Identifies whether this part of the road is on a bridge.
tunnel Boolean Identifies whether this part of the road is in a tunnel.

water.shp

Example

Type: POLYGON

This polygon-based layer defines bodies of water (lakes, harbors, bays, some large rivers, etc.).

In OpenStreetMap, some larger rivers may also be available as line-based geometry in the waterways.shp file.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. Possible values for bodies of water are water (unspecified bodies of water including lakes, harbors, etc.), reservoir (artificial lakes) and river.
name String The name of the body of water.

waterways.shp

Example

Type: LINE

This line-based layer contains waterways such as rivers, streams, canals and drains.

Data Columns

Name Type Description
osm_id Integer Identification number assigned to the feature in the OpenStreetMap database.
lastchange String The date and time that this feature was last modified by a user in OpenStreetMap.
code Integer A four-digit code identifying the feature. See the section below on Feature ID Codes.
fclass String A label which classifies the feature type. The OpenStreetMap wiki contains a list of possible fclass values for the waterways layer.
name String The name of the waterway.
width Integer The width of the waterway in meters.

Feature ID Codes

Download this PDF guide for a description of all the feature ID codes. Please note that the guide may refer to certain layers that are not available in the OSM data on ThinkGeo's server.

Back to Overview

 

Tell ThinkGeo's Professional Services team about your project and we'll help you build it.

ThinkGeo Wiki

ThinkGeo Wiki

Guides, sample code & reference.

Map Suite Roadmap

Map Suite Roadmap

See where Map Suite is going.

Get Support

Get Support

Get help with your GIS solution.

Contact Us

Contact Us

Let us know your GIS needs.