Ordnance Survey Opendata

From OpenStreetMap Wiki
Jump to: navigation, search

Following a Dec 2009 to March 2010 Government Consultation the Ordnance Survey began releasing data for free re-use on April 1st 2010.

The data is licensed under the OpenData License Terms and Conditions. OS have confirmed with OpenStreetMap's Licensing Working Group that mapping derived from OpenData can be released under the Open Database License 1.0. (statement). Furthermore, they are currently working to amend the licence so that any confusion caused by poor wording is removed. This task is at the request of their regulator; the Office for Public Sector Information (OPSI).

Using the data in OSM

Editing Guidelines

Several tools have been made available to help OpenStreetMappers use this data. These are discussed below. However before you start editing, please consider the following:

  1. Don't assume the OS data is either correct or up to date. Use it as a guide and additional resource for your mapping, not a replacement.
  2. Please add source tags to any data you add to OSM from OS OpenData. See the tag suggestions: #Attributing OS
  3. If you're tempted to map in an area you're not familiar with, contact any local contributors first. Please don't alienate other contributors by treading on their toes. They will know their local area better than anyone else.
  4. Look for places that have been mapped using aerial imagery and don't have road names. This is a good place to start.
  5. Avoid simply duplicating OS data in blank areas of OSM unless you're familiar with the area and don't have access to other resources such as a GPS.

New ideas and automated imports

If you have any new ideas on what to do (and what not to do) with the data, and solving issues like accuracy, how to avoid duplicates, etc. please go to the talk-gb mailing list before trying to import any OS data into OSM. You may also like to take a look at previous discussions from April 2010 and current ideas on the 'Talk' page:

Attributing OS

We have a generic attribution relating to Ordnance Survey OpenData products on the Contributors page

However all OSM contributors are encouraged to add specific source information on tags when they use OS OpenData products as the primary source of information for the object being added to OSM.

Tag suggestions:

When tracing over OS StreetView

  • When everything is derived from OS StreetView source=OS_OpenData_StreetView
  • When just the name is derived from OS StreetView source:name=OS_OpenData_StreetView
  • This icon OS-SV.png might be useful for a JOSM preset to apply source tags

When using OS Locator for names

source:name=OS_OpenData_Locator

When adding OS vector data

Choose an appropriate tag for the object based upon the OS OpenData product. For example source=OS_OpenData_Boundary-Line

When using OS VectorMapDistrict

source=OS_OpenData_VectorMapDistrict

Available data

There is much talk of the data available, but some people may not be familiar with the names given to the data types. The following information is taken from http://www.ordnancesurvey.co.uk/oswebsite/opendata/docs/help.pdf.

OS StreetView

An #OS StreetView example showing Hatton, Warwickshire

Street-level map, designed to emphasise roads and road-names. Major buildings are shown and annotated.

Tiles

The OS data set has been reprojected for use in OSM editors. It can be viewed at http://os.openstreetmap.org/ .

  • Complete coverage at zoom levels 6-17
  • VectorMap District may provide better data than tracing from OS StreetView.
  • The datum shift to WGS84 seems to have been done with a simple Helmert transform, resulting in errors of ~5 metres compared with the official OSTN02.
Potlatch

Select 'UK: OS StreetView' from the background menu in the options box.

JOSM

In newer versions you just need to activate the image layer from the provided list ('Edit' menu -> 'Preferences...' -> 'WMS/TMS' tab). For older versions you may need to set up a custom layer by click the 'Add' button and using the following details:

  • Enter 'OS OpenData StreetView' as the menu name
  • Delete any text in the 'Service URL' box.
  • Enter in the Imagery URL box (the bottom box) the following text string: tms[17]:http://os.openstreetmap.org/sv/{zoom}/{x}/{y}.png

Once activated view the new image layer by selecting it from the 'Imagery' menu.

Merkaartor
  1. In the Tools menu, open the TMS Servers Editor.
  2. Add the following:
    • Name: OS Street View
    • Server address: os.openstreetmap.org
    • Path: /sv/%1/%2/%3.png
    • Tile size: 256
    • Minimum zoom: 6
    • Maximum zoom: 16
  3. Hit 'apply' and add the new TMS to a map layer.
OSM2Go

(Awaiting information)

OS Locator

OS Locator data displayed in Potlatch2 using ITO World's OSM and OSL differences tileset

Gazetteer of road names. Contains coordinates to create a rectangle encompassing the extent of the road referenced in the gazetteer.

This gazetteer appears to complement the StreetView data - some (short) streets whose names are absent from StreetView are included in OS Locator. Conversely, some streets named in StreetView are absent from OS Locator

OSM and OSL differences analysis ([2]) is a very useful tool for OSMers allowing you to compare each district's coverage. This is built by ITO World using the OS Locator dataset. See OS Locator page for more details, tools and uses of this dataset.

Meridian 2

Vector data of various 'themes'. Communication theme: roads and railways, boundaries and coastline. Topographic theme: boundaries and coastline, developed land-use areas, cartographic names, hydrology, woodlands.

User:Ollie created a comparison tool and analysis

User:Richard wrote a tutorial "Hacking Ordnance Survey Meridian2 for beginners" providing code in perl, for extracting data from this data set.

VectorMap District

Beta data released 17 March 2011 - http://blog.ordnancesurvey.co.uk/2011/03/os-vectormap-district-graduates-to-beta-release/

The trial (alpha) data indicates that the vector data for major infrastructure will be better than any other OS OpenData product however we have noted that minor roads (eg all residential roads) are not named so the Raster StreetView product will still be needed to verify street names. Instructions for convert shapefile vector data to OSM vectors is available.

Boundary Line

Vector data of local government administrative boundaries and electoral boundaries and coastline (high_water_polyline). A 'spring' update was made. The dataset now includes new constituency boundaries for the 2010 election (See PDF for more boundaries...)

1:50 000 Scale Gazetteer

List of locations, with lat/lon coordinate and OS grid-ref positions. Locations include airports, farms, hills, woodlands, commons and other places. Locations also include over 42 000 towns and settlements. All location positions are to a 1 km resolution.

MiniScale

Smallest scale data provided. Shows broad landscape features including boundaries, settlements, main communications and physical features.

Code-Point Open

Provides precise location for each postcode in Great Britain. Data contains postcodes, grid references, NHS® health and regional health authority codes;administrative ward, district, county and country area codes. PDF includes differences between Code-Point and Code-Point Open.

The structure of the Code-Point-Open data format is hidden away on the OSGB site. Information about the fields can be found on the data.gov.uk wiki

CodePoint Tiles

Chillly has rendered codepoint tiles which you can load into your favorite OSM editor. All of the GB codepoint data has been rendered into tiles. See [[3]] for more details.

For JOSM add a custom TMS url as follows:

  • 'Edit' menu -> 'Preferences...'
  • Click 'WMS/TMS' tab on the left
  • Click the '+ TMS' button
  • Enter in the URL box the following text string: http://www.raggedred.net/tiles/codepoint/{zoom}/{x}/{y}.png
  • Enter 'CodePoint Postcodes' as the menu name
  • 'OK'
  • 'OK'

Now you can select the layer from the "Imagery" menu.

Strategi

Vector data, designed to be the vector companion to the 1:250 000 Scale Colour Raster data for use at regional level. From the PDF: "layers include roads, railways, airports, ferries, water features, ceremonial boundaries, cities, towns and other settlements, woods and land use, and geographic names".

Land-Form PANORAMA

Vector data, containing physical ground shape: contours, coastlines, lakes etc. This data is unmaintained.

Terrain 50

Gridded elevation data.

  • Resolution: 50m grid
  • Supply format: GML

Vector data: contours, high/low tide lines and spot heights.

  • Scale: 1:50,000 (Print), 1:25,000 to 1:70,000 (Screen) Contours at 10m intervals.
  • Supply format: ESRI shapefile

1:250 000 Scale Colour Raster

Regional map, similar in resolution to a road atlas. Shows cities, towns, villages, motorways, A and B class roads, railways, rivers and some woodlands. Also, 1:250 000 scale gazetteer of names is supplied relevant to the map, and a digital legend.

Some visualisations

#OS StreetView displayed on Android phone using OpenSatNav

OSM-based projects using the new open data in some way

Download sites

The raw OS OpenData can be downloaded from: