Datatypes › United Kingdom › Transportation
NPTG locality code (Great Britain)
ID gb_nptg_locality_code
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Code of a locality (a town, village or district) in the National Public Transport Gazetteer of Great Britain. NaPTAN stop records name the locality of the stop by it (NptgLocalityCode). It is eight characters: E or N, 0 or S, six digits.
- Categories
- Transportation, Geographic identifiers
- Countries
- United Kingdom
- Languages
- English
- Quality
- 85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
gbnptglocalitycodevaluedata, gb/gb_transport.yaml
- Supported by tools
- metacrafter
Regular expression
^[EN][0S]\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| E0029368 | Locality of a Greater Manchester bus stop |
| N0075002 | Locality of a Greater Manchester bus stop |
| 1800WKH4032 invalid | A NaPTAN ATCO code |
Sources
- wikipedia: NaPTAN (en.wikipedia.org)
- doc: gov.uk/government/publications/national-public-transport-gazetteer
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/gb_nptg_locality_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/GB/transport/gb_nptg_locality_code.yamlon GitHub