Skip to content

OrdnanceSurvey/OS-Vector-Tile-API-Stylesheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Vector Tile API Stylesheets

Cartographic stylesheets for use with OS Vector Tile API which is available from the OS Data Hub.

As OS Vector Tile API is available in two projections, EPSG:27700 and EPSG:3857, which have different zoom levels, we provide a seperate stylesheet for both.

Getting started

This code example will help you integrate these stylesheets into your application with options for various web mapping libraries.

Styles

3D buildings

3D buildings style Use this style to add 3D building extrusions to your map. This style uses the building height attributes (RelHMax) on OS MasterMap Topography Layer buildings to show the maximum height of each building footprint.

OS_VTS_3857_3D.json and OS_VTS_27700_3D.json

ArcGIS API for JavaScript

Outdoor style for ESRI Use this version of the Outdoor style with ArcGIS API for JavaScript. Our labelling rules for OS MasterMap Topography Layer Cartographic Text use some elements of the Mapbox Style Specification that aren't supported by ESRI. These styles have been designed to be fully compatible with ArcGIS API for JavaScript.

OS_VTS_3857_ESRI.json and OS_VTS_27700_ESRI.json

No labels

No Labels style A stripped back map for when topography alone is all you need.

OS_VTS_3857_No_Labels.json and OS_VTS_27700_No_Labels.json

Outdoor (OS OpenData)

Outdoor Open style Outdoor style for OS OpenData.

NOTE: Only works with the OS OpenData but allows overzoom.

OS_VTS_3857_Open_Outdoor.json and OS_VTS_27700_Open_Outdoor.json

Greyscale

Greyscale style A simple greyscale style.

OS_VTS_3857_Greyscale.json and OS_VTS_27700_Greyscale.json

(OS OpenData with overzoom => OS_VTS_3857_Open_Greyscale.json and OS_VTS_27700_Open_Greyscale.json)

Dark

Dark style A simple dark (inverted greyscale) style.

Thanks to Mike Brondbjerg for the inspiration.

OS_VTS_3857_Dark.json and OS_VTS_27700_Dark.json

(OS OpenData with overzoom => OS_VTS_3857_Open_Dark.json and OS_VTS_27700_Open_Dark.json)

Light

Light style The OS Light style, perfect for backdrop mapping.

OS_VTS_3857_Light.json and OS_VTS_27700_Light.json

(OS OpenData with overzoom => OS_VTS_3857_Open_Light.json and OS_VTS_27700_Open_Light.json)

Road

Road style The OS Road style, a familiar style with a particular focus on the GB transport network.

OS_VTS_3857_Road.json and OS_VTS_27700_Road.json

(OS OpenData with overzoom => OS_VTS_3857_Open_Road.json and OS_VTS_27700_Open_Road.json)

Licence

The contents of this repository are licensed under the Open Government Licence 3.0.

Logo

About

Cartographic stylesheets for use with OS Vector Tile API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published