You are in: Rob's OSM Stuff » UK PRoW » Ref Formats

Public Rights of Way Reference Formats

The table below gives details of the formats used for Reference numbers given to Public Rights of Way by the various surveying authorities in England and Wales, which should then be used in the prow_ref=* tag in OpenStreetMap. Not all authorities have an official format and not all are consistent in their use. The formats shown below are what are currently in use in my PRoW Progress Tool, but some may need correcting/improving. Hover the mouse of the icons on the right-hand columns to view regular expression and printf format strings for these formats. See below the table for an explanation of the fields.

Surveying authority prow_ref format Type values (FP,BR,RB,BY) RE Pf
Cambridgeshire [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Cornwall [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BW regex printf
Derbyshire [Parish Name]␣[Type]␣[Num][sfx] FP BW RB BOAT regex printf
Devon [Parish Name]␣[Type]␣[Num][sfx] Footpath Bridleway Restricted Byway Byway regex printf
East Riding of Yorkshire [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
East Sussex [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Gloucestershire [PID]␣[Num][sfx] FP BR RB BOAT regex printf
Hampshire [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Herefordshire [PID][Num][sfx] regex printf
Hertfordshire [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Isle of Wight [PID][Num][sfx] regex printf
Kent [PID][Num][sfx] regex printf
Lancashire [Parish Name]␣[Type]␣[Num][sfx] FP BW RB BOAT regex printf
Norfolk [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Oxfordshire [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BOAT regex printf
Somerset [PID]/[Num][sfx] regex printf
Suffolk [Parish Name]␣[Type]␣[Num][sfx] FP BR RB BY regex printf
Warwickshire [PID][Num][sfx] regex printf
Worcestershire [PID]-[Num] regex printf

Format Placeholders

Capturing groups in regex and input fields for printf:

  1. Parish name
  2. Parish ID
  3. Right of Way Type
  4. Right of Way Number
  5. Right of Way Suffix
Icons from FamFamFam Silk, licensed under CC-by 2.5.