Ordnance Survey Opendata
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).
| OS OpenData Code-Point Open. Please note the policy above does not include OS OpenData Code-Point Open (postcode units for Great Britain). Do not use post codes derived from this dataset in OSM. |
http://www.ordnancesurvey.co.uk/opendata/
Contents |
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:
- 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.
- Please add source tags to any data you add to OSM from OS OpenData. See the tag suggestions: #Attributing OS
- 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.
- Look for places that have been mapped using aerial imagery and don't have road names. This is a good place to start.
- 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:
- http://lists.openstreetmap.org/pipermail/talk-gb/2010-April/thread.html
- http://wiki.openstreetmap.org/wiki/Talk:Ordnance_Survey_Opendata
Attributing OS
We have a generic attribution relating to Ordnance Survey OpenData products here
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
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
Street-level map, designed to emphasise roads and road-names. Major buildings are shown and annotated.
- Scale: 1:10,000 (Print), 1:5,000 to 1:15,000 (Screen)
- Supply format: TIFF LZW (image)
- Update cycle: Six-monthly, May and November
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/streetview/
State of tiles
The OS data has been reprojected for use in OSM editors. It can be viewed at http://os.openstreetmap.org/ .
- Complete coverage at zoom levels 6-17
- Some small holes in Dorset/Hampshire area and north to Swindon. Missing source tile around Merthyr Tydfil. These will be fixed in time.
- In May (2010?) the OS will release a further vector based product which may provide better data for buildings than tracing from OS StreetView. You might want to hold off tracing buildings until the details are confirmed.
How to make use of these tiles:
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:
- In the Tools menu, open the TMS Servers Editor.
- 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
- Hit 'apply' and add the new TMS to a map layer.
OSM2Go:
(Awaiting information)
OS Locator
Gazetteer of road names. Contains coordinates to create a rectangle encompassing the extent of the road referenced in the gazetteer.
- Scale: 1:10,000 (Print), 1:7,000 to 1:10,000 (Screen) Contours at 10m intervals.
- Supply format: CSV (values separated by a colon ":" - not a comma separated file!)
- Update cycle: Six-monthly, April and November
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/os-locator-opendata/
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 ([1]) 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.
- Scale: 1:50,000 (Print), 1:25,000 to 1:70,000 (Screen)
- Supply format: ESRI® Shapefile and DXF
- Update cycle: Six-monthly, January and July
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/meridian2/
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
- Scale: 1:25,000 (Print), 1:15,000 to 1:30,000 (Screen)
- Supply format: TIFF (raster) and Shapefile (vector)
- Update cycle: To be announced.
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/vectormap/district/ (broken link - think the fix is to here but not sure: http://www.ordnancesurvey.co.uk/oswebsite/products/os-vectormap-district/index.html )
- Technical info: http://www.ordnancesurvey.co.uk/oswebsite/products/vectormap/district/techinfo.html
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...)
- Scale: 1:10,000 (Print), 1:5,000 to 1:8,000 (Screen)
- Supply format: ESRI® Shapefile
- Update cycle: Six-monthly, May and November
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/boundary-line/index.html
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.
- Scale: 1km resolution
- Supply format: CSV (comma separated values: a text file)
- Update cycle: Annually, June
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/50kgazetteer/
MiniScale
Smallest scale data provided. Shows broad landscape features including boundaries, settlements, main communications and physical features.
- Scale: 1:1,000,000 (Print), 1:700,000 to 1:2,000,000 (Screen)
- Supply format: TIFF LZW (image) (Also JPEG?)
- Update cycle: Annually, January
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/miniscale/
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.
- Scale: 1 metre resolution for postcode central position
- Supply format: CSV (comma separated values: a text file)
- Update cycle: Quarterly, February, May, August and November
- Coverage: England, Scotland, Wales
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/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 [[2]] for more details.
For JOSM add a custom TMS url as follows:
- 'Edit' menu -> 'Preferences...'
- Click 'WMS/TMS' tab on the left
- Click the 'Add' button
- Enter 'CodePoint Postcodes' as the menu name
- Delete any text in the 'Service URL' box.
- Enter in the WMS URL box (the bottom box) the following text string: tms:http://www.raggedred.net/tiles/codepoint
- '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".
- Scale: 1:250,000 (Print), 1:100,000 to 1:175,000 (Screen)
- Supply format: ESRI® Shapefile and DXF
- Update cycle: Annually, January
- Coverage: England, Scotland, Wales, Isle of Man
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/strategi/
Land-Form PANORAMA
Vector data, containing physical ground shape: contours, coastlines, lakes etc. This data is unmaintained.
- Scale: 1:50,000 (Print), 1:25,000 to 1:70,000 (Screen) Contours at 10m intervals.
- Supply format: DXF
- Update cycle: Unmaintained
- Coverage: England, Scotland, Wales, Isle of Man
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/landformpanorama/index.html
- Reference manual: http://www.ordnancesurvey.co.uk/docs/user-guides/land-form-panorama-user-guide.pdf
- Importing Land-Form PANORAMA: see here.
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.
- Scale: 1:125,000 (Print), 1:100,000 to 1:300,000 (Screen) Contours at 10m intervals.
- Supply format: TIFF LSZ (image) (Also JPEG?)
- Update cycle: Annually, June
- Coverage: England, Scotland, Wales, Isle of Man
- Link: http://www.ordnancesurvey.co.uk/oswebsite/products/250kraster/
Some visualisations
- CodePoint - http://random.dev.openstreetmap.org/postcodes/?layers=000F0F0FBT#
- OS OpenData Meridian2 rendered with Mapnik : http://farm5.static.flickr.com/4034/4480882167_a27652c22d_o.png
- Motorways, A & B roads - http://lists.shef.ac.uk/sympa/arc/carto-soc/2010-04/msg00001.html
- OSM vs Meridian2: http://gibin.geog.ucl.ac.uk/~ollie/osopendata/meridian/ (blog with pics)
- Contours in VectorMap district: http://lists.openstreetmap.org/pipermail/talk-gb/2010-April/005631.html
- OS StreetView tiles: http://edgemaster.dev.openstreetmap.org/streetview_tiles/ossv.html?zoom=15&lat=60.16917&lon=-1.16243&layers=BTF
- OSM completeness evaluation: http://povesham.wordpress.com/2010/04/04/openstreetmap-completeness-evaluation-march-2010/
- OS vs OSM comparison http://oscompare.raggedred.net/
OSM-based projects using the new open data in some way
- CycleStreets: using the Code-Point Open postcode data - www.cyclestreets.net
- OpenOrienteeringMap: using the Code-Point Open postcode data - oobrien.com/oom/
- gvSIG Mini for Android: using the OS StreetView tile server - www.gvsigmini.com/
- 'Open Landranger' experiment - combining Vector Map District, LandForm PANORAMA and OSM footpath data - see wiki page describing the method
Download sites
The raw OS OpenData can be downloaded from:
- Main site: http://www.ordnancesurvey.co.uk/opendata/
- OSM Mirror: http://os.openstreetmap.org/data/
- MySociety cache (including postcodes<>latlong conversion): http://parlvid.mysociety.org:81/os/
- Torrent download for StreetView: http://grant.dev.openstreetmap.org/tmp/osfree/osstvw.torrent (please keep seeding when finishing download)