Dataset Viewer
example_name
string | pdf_path
string | pdf_filename
string | pdf_size_bytes
int32 | map_info_path
string | direction_path
string | geojson_paths
list | area_paths
list | num_geojsons
int32 | num_areas
int32 | direction_reference
string | direction_name
string | direction_description
string | organisation_entity
string | start_date
string | document_url
string | area_reference
string | area_name
string | area_dataset
string | area_typology
string | area_notes
string | individual_buildings
bool | has_map
bool | map_page_number
int32 | map_address
string | map_scale
int32 | original_rotation
int32 | page_size_type
string | num_polygon_areas
int32 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
barnet_monken | files/barnet_monken/document.pdf | document.pdf | 5,644,611 | files/barnet_monken/map_info.json | files/barnet_monken/direction.json | [
"files/barnet_monken/area_0.geojson",
"files/barnet_monken/area_1.geojson"
] | [
"files/barnet_monken/area_0.json",
"files/barnet_monken/area_1.json"
] | 2 | 2 | A4D8 | Article 4 for Monken Hadley CA | 48 | 1972-09-08 | https://open.barnet.gov.uk/download/2ylny/mks | A4D8A1 | Article 4 for Monken Hadley CA Area 1 | article-4-direction-area | geography | false | true | 7 | Monken Hadley, Greater London, UK | 5,000 | 90 | A4 | 2 |
||
camden_fitzjohns | files/camden_fitzjohns/The Cottage 67 Fitzjohns Avenue A4.pdf | The Cottage 67 Fitzjohns Avenue A4.pdf | 292,765 | files/camden_fitzjohns/map_info.json | files/camden_fitzjohns/direction.json | [
"files/camden_fitzjohns/area_0.geojson"
] | [
"files/camden_fitzjohns/area_0.json"
] | 1 | 1 | A4F2 | 67 Fitzjohns Avenue area | Article 4 direction restricts certain permitted development rights for dwellings. | 90 | 1976-11-18 | https://www.camden.gov.uk/documents/20142/4842163/The+Cottage+67+Fitzjohns+Avenue+A4.pdf/cbd46c3d-e03c-bc62-0a33-7b0899ed59ce | A4Fa2 | 67 Fitzjohns Avenue area | article-4-direction-area | geography | 67 Fitzjohns Avenue area | false | true | 5 | 67 Fitzjohns Avenue, London NW3, Camden, UK | 1,250 | 270 | A4 | 1 |
camden_hampstead | files/camden_hampstead/South Hill Park Article 4.pdf | South Hill Park Article 4.pdf | 625,568 | files/camden_hampstead/map_info.json | files/camden_hampstead/direction.json | [
"files/camden_hampstead/area_0.geojson"
] | [
"files/camden_hampstead/area_0.json"
] | 1 | 1 | A4SHP1 | 32-66 (even) & 72-90 (even) South Hill Park, NW3 (South Hill Park Estate Conservation Area) | Article 4 direction restricts certain permitted development rights for dwellings. | 90 | 1988-07-05 | https://www.camden.gov.uk/documents/20142/4842163/South+Hill+Park+Article+4.pdf/47a3f006-5739-9ac3-363b-b0025e487ec4 | A4aSHP1 | 32-66 (even) & 72-90 (even) South Hill Park, NW3 (South Hill Park Estate Conservation Area) | article-4-direction-area | geography | 32-66 (even) & 72-90 (even) South Hill Park, NW3 (South Hill Park Estate Conservation Area) | true | true | 6 | South Hill Park, Hampstead, London NW3 | null | 0 | A4 | 1 |
camden_kentish | files/camden_kentish/Article 4 Direction for 147 Kentish Town Road (confirmed 26th November 2013).pdf | Article 4 Direction for 147 Kentish Town Road (confirmed 26th November 2013).pdf | 707,114 | files/camden_kentish/map_info.json | files/camden_kentish/direction.json | [
"files/camden_kentish/area_0.geojson"
] | [
"files/camden_kentish/area_0.json"
] | 1 | 1 | A4KTR1 | 147 Kentish Town Road | Article 4 restricts demolition. | 90 | 2013-06-03 | https://www.camden.gov.uk/documents/20142/4842163/Article+4+Direction+for+147+Kentish+Town+Road+%28confirmed+26th+November+2013%29.pdf/5a10264a-219a-7dae-0c70-e4edab86232c | A4KTRa1 | 147 Kentish Town Road | article-4-direction-area | geography | 147 Kentish Town Road | true | true | 2 | 147 Kentish Town Road, London, NW1 8PB | 500 | 0 | A4 | 1 |
dover_margarets | files/dover_margarets/document.pdf | document.pdf | 1,110,446 | files/dover_margarets/map_info.json | files/dover_margarets/direction.json | [
"files/dover_margarets/area_0.geojson"
] | [
"files/dover_margarets/area_0.json"
] | 1 | 1 | {563A71DE-DC37-4251-9F93-7D0EC49A3559} | Article 4(1) Direction No.1 2007, Town and Country Planning (General Permitted Development) Order 1995 | The White House, St. Margaret's Road, | 111 | 2007-11-27 | http://www.dover.gov.uk/Planning/Planning-Applications/Article-4-Directions/Docs/No%201.%202007%20The%20White%20House,%20St%20Margarets-at-Cliffe.pdf | {563A71DE-DC37-4251-9F93-7D0EC49A3559} | Article 4(1) Direction No.1 2007, Town and Country Planning (General Permitted Development) Order 1995 | article-4-direction-area | geography | Town and Country Planning Act 1990 | false | true | 3 | The White House, St Margaret's Road, St Margarets Bay, Dover, Kent | 1,250 | 0 | A4 | 1 |
dover_sandwich | files/dover_sandwich/No 3. 1979 Land at Sandwich Bay, Worth.pdf | No 3. 1979 Land at Sandwich Bay, Worth.pdf | 1,615,548 | files/dover_sandwich/map_info.json | files/dover_sandwich/direction.json | [
"files/dover_sandwich/area_0.geojson"
] | [
"files/dover_sandwich/area_0.json"
] | 1 | 1 | {498E1484-1D2E-418C-9547-A93AE9A57BB0} | Town and Country Planning Direction No.3, 1979, General Development Order 1977 | Sandwich Bay, Worth | 111 | 1979-12-10 | http://www.dover.gov.uk/Planning/Planning-Applications/Article-4-Directions/Docs/No%203.%201979%20Land%20at%20Sandwich%20Bay,%20Worth.pdf | {498E1484-1D2E-418C-9547-A93AE9A57BB0} | Town and Country Planning Direction No.3, 1979, General Development Order 1977 | article-4-direction-area | geography | Town and Country Planning Act 1971 | false | true | 6 | Sandwich Bay, Worth, Dover, Kent | 2,500 | 0 | null | 1 |
dover_townsend | files/dover_townsend/document.pdf | document.pdf | 580,146 | files/dover_townsend/map_info.json | files/dover_townsend/direction.json | [
"files/dover_townsend/area_0.geojson"
] | [
"files/dover_townsend/area_0.json"
] | 1 | 1 | {3DA282A7-E829-47CF-B842-E03E0C704072} | Town and Country Planning Direction No. 2, 1974, Town and COuntry Planning General Development Order 1973 | Land at Townsend Farm, St. Margaret's-at-Cliffe | 111 | 1974-02-05 | https://www.dover.gov.uk/Planning/Local-Land-Charges/Article%204%20Directions/Redacted/Land-at-Townsend-Farm-order-No2-1974-Redacted.pdf | {3DA282A7-E829-47CF-B842-E03E0C704072} | Town and Country Planning Direction No. 2, 1974, Town and COuntry Planning General Development Order 1973 | article-4-direction-area | geography | Town and Country Planning Act 1971 | false | true | 4 | Townsend Farm, St Margarets at Cliffe, Dover Rural District | 10,560 | 0 | A4 | 1 |
gloucestershire_filton | files/gloucestershire_filton/document.pdf | document.pdf | 605,425 | files/gloucestershire_filton/map_info.json | files/gloucestershire_filton/direction.json | [
"files/gloucestershire_filton/area_0.geojson",
"files/gloucestershire_filton/area_1.geojson"
] | [
"files/gloucestershire_filton/area_0.json",
"files/gloucestershire_filton/area_1.json"
] | 2 | 2 | ART4/8/1 | Land at Stoke Park and Cheswick ward East of Southmead Road | The Direction applies to two specifically focused areas within the Stoke Park & Cheswick ward and to the east of Southmead Road and Gloucester Road North in the Filton ward. | 291 | 2024-01-10 | https://consultations.southglos.gov.uk/gf2.ti/-/1474178/176290853.1/PDF/-/Direction%20%2D%202nd%20Seal%20090823.pdf | ART4/8/1 | Land at Stoke Park and Cheswick ward East of Southmead Road | article-4-direction-area | geography | false | true | 3 | Proposed Filton A4D Boundary, South Gloucestershire | null | 0 | A4 | 1 |
|
hampshire_avon | files/hampshire_avon/document.pdf | document.pdf | 1,037,628 | files/hampshire_avon/map_info.json | files/hampshire_avon/direction.json | [
"files/hampshire_avon/area_0.geojson"
] | [
"files/hampshire_avon/area_0.json"
] | 1 | 1 | ART4/82/00001 | ARTICLE 4 DIRECTION 97/2 | The general effect of the Direction is that planning permission must be obtained for carrying out on the said land of works for the excavation and construction of fish farms or agricultural reservoirs on land in the Avon Valley, Hampshire | 229 | 1982-08-19 | https://www.newforest.gov.uk/media/4247/97-2-Land-in-Avon-Valley/pdf/97_2_Land_in_Avon_Valley.pdf?m=1732791927930 | ART4/82/00001 | ARTICLE 4 DIRECTION 97/2 | article-4-direction-area | geography | Permitted development codes are a best match and should not be seen as definitive; Straddles boundary of New Forest District Council and New Forest National Park Authority | false | true | 4 | Avon Valley, Hampshire, showing area between Horseport in the North, Ellingham in the South, North Gorley in the East and Drove End Farm in the West, centered around Fordingbridge | null | 0 | A3 | 1 |
kensington_holland | files/kensington_holland/document.pdf | document.pdf | 1,990,493 | files/kensington_holland/map_info.json | files/kensington_holland/direction.json | [
"files/kensington_holland/area_0.geojson"
] | [
"files/kensington_holland/area_0.json"
] | 1 | 1 | 14 | Article 4 - No 30 | Minor alterations in Conservation Areas | 182 | 1978-09-15 | https://www.rbkc.gov.uk/wamdocs/Article_IV_Directive_30.pdf | 14 | Article 4 - No 30 | article-4-direction-area | geography | true | true | 4 | 1-4, 10, 13-15 Holland Villas Road, W14, Royal Borough of Kensington and Chelsea, London | null | 0 | A4 | 1 |
|
kensington_rutland | files/kensington_rutland/document.pdf | document.pdf | 1,673,641 | files/kensington_rutland/map_info.json | files/kensington_rutland/direction.json | [
"files/kensington_rutland/area_0.geojson"
] | [
"files/kensington_rutland/area_0.json"
] | 1 | 1 | 56 | Article 4 - No 72 | Minor alterations in Conservation Areas including any elevations fronting a highway | 182 | 1998-05-01 | https://www.rbkc.gov.uk/wamdocs/Article_IV_Directive_72.pdf | 56 | Article 4 - No 72 | article-4-direction-area | geography | true | true | 4 | Rutland Street, Kensington, London W8 | null | 0 | A4 | 1 |
|
newcastle_heaton | files/newcastle_heaton/st_gabriels_confirmation_sealed_notice.pdf | st_gabriels_confirmation_sealed_notice.pdf | 1,383,330 | files/newcastle_heaton/map_info.json | files/newcastle_heaton/direction.json | [
"files/newcastle_heaton/area_0.geojson"
] | [
"files/newcastle_heaton/area_0.json"
] | 1 | 1 | A4HMO3 | Saint Gabriel's Estate, Heaton | In certain areas of Newcastle, planning permission is required for to turn a house into a HMO (a house in multiple occupation ). | 228 | 2013-08-09 | https://www.newcastle.gov.uk/sites/default/files/2019-01/st_gabriels_confirmation_sealed_notice.pdf | A4HMO3 | Saint Gabriel's Estate, Heaton | article-4-direction-area | geography | In certain areas of Newcastle, planning permission is required for to turn a house into a HMO (a house in multiple occupation ). | false | true | 3 | St Gabriel's, Newcastle upon Tyne, UK | null | 90 | A4 | 1 |
newcastle_jesmond | files/newcastle_jesmond/article_4_seal_high_west_jesmond_dec11.pdf | article_4_seal_high_west_jesmond_dec11.pdf | 1,890,896 | files/newcastle_jesmond/map_info.json | files/newcastle_jesmond/direction.json | [
"files/newcastle_jesmond/area_0.geojson"
] | [
"files/newcastle_jesmond/area_0.json"
] | 1 | 1 | A4HMO2 | HW Jesmond & N Jesmond | In certain areas of Newcastle, planning permission is required for to turn a house into a HMO (a house in multiple occupation ). | 228 | 2012-12-09 | https://www.newcastle.gov.uk/sites/default/files/2019-01/article_4_seal_high_west_jesmond_dec11.pdf | A4HMO2 | HW Jesmond & N Jesmond | article-4-direction-area | geography | In certain areas of Newcastle, planning permission is required for to turn a house into a HMO (a house in multiple occupation ). | false | true | 3 | High West Jesmond, Newcastle upon Tyne, UK | null | 0 | A3 | 1 |
newforest_park | files/newforest_park/Confirmed-Article-4-Direction.pdf | Confirmed-Article-4-Direction.pdf | 1,091,318 | files/newforest_park/map_info.json | files/newforest_park/direction.json | [
"files/newforest_park/area_0.geojson"
] | [
"files/newforest_park/area_0.json"
] | 1 | 1 | ART4/22/00001 | ARTICLE 4 DIRECTION NP NEW FOREST CAMPSITE | The general effect of the Direction is that planning permission must be obtained for any use of land as a temporary campsite unless both of the following apply: The number of pitches at the temporary campsite numbers 50 or fewer and the land was first used as a temporary campsite before 1 March 2020 | 229 | 2022-09-30 | https://www.newforestnpa.gov.uk/app/uploads/2022/04/Confirmed-Article-4-Direction.pdf | ART4/22/00001 | ARTICLE 4 DIRECTION NP NEW FOREST CAMPSITE | article-4-direction-area | geography | Permitted development codes are a best match and should not be seen as definitive; Primarily within New Forest National Park Authority, small areas in New Forest District Council planning area due to GIS digitisation issues | false | true | 3 | New Forest National Park Authority, Lymington Town Hall, Avenue Road, Lymington, SO41 9ZG, UK | 190,000 | 0 | A4 | 1 |
peterborough_barnack | files/peterborough_barnack/document.pdf | document.pdf | 504,554 | files/peterborough_barnack/map_info.json | files/peterborough_barnack/direction.json | [
"files/peterborough_barnack/area_0.geojson"
] | [
"files/peterborough_barnack/area_0.json"
] | 1 | 1 | A102S | The Rectory Millstone Lane, Barnack | Installation, alteration or replacement of solar PV or solar thermal equipment on roof | 257 | 2016-09-01 | https://cccandpcc.sharepoint.com/:b:/s/PCCPlanningPolicyPublicData/ETUcFSckdvRCkEi5H6q5nI8BJzzvx51MQu0BwC_GKBOR_A?e=sMIRz1 | A102S | The Rectory Millstone Lane, Barnack | article-4-direction-area | geography | true | true | 2 | The Rectory, Millstone Lane, Barnack, PE9 3ET | null | 0 | A4 | 1 |
|
stalbans_cunningham | files/stalbans_cunningham/Cunningham Avenue Article 4 Direction.pdf | Cunningham Avenue Article 4 Direction.pdf | 133,127 | files/stalbans_cunningham/map_info.json | files/stalbans_cunningham/direction.json | [
"files/stalbans_cunningham/area_0.geojson"
] | [
"files/stalbans_cunningham/area_0.json"
] | 1 | 1 | Ar4.20 | Cunningham Avenue | Removal of permitted development rights within the curtilage of a dwellinghouse minor operations and installation of domestic micro-generation equipment | 278 | 2014-11-03 | https://www.stalbans.gov.uk/sites/default/files/documents/publications/planning-building-control/Cunningham%20Avenue%20Article%204%20Direction.pdf | Ar4.20 | Cunningham Avenue | article-4-direction-area | geography | false | true | 1 | Cunningham Avenue, St Albans, UK | null | 0 | A4 | 1 |
|
wirral_caldy | files/wirral_caldy/caldy-thurstaston-1985.pdf | caldy-thurstaston-1985.pdf | 4,129,890 | files/wirral_caldy/map_info.json | files/wirral_caldy/direction.json | [
"files/wirral_caldy/area_0.geojson",
"files/wirral_caldy/area_1.geojson"
] | [
"files/wirral_caldy/area_0.json",
"files/wirral_caldy/area_1.json"
] | 2 | 2 | 12C | Caldy/Thurstaston | Caldy/Thurstaston | 384 | 1985-08-01 | https://www.wirral.gov.uk/files/caldy-thurstaston-1985.pdf | 12C | Caldy/Thurstaston. Article 4 Direction 1985 | article-4-direction-area | geography | false | true | 2 | Caldy and Thurstaston, Wirral, UK | null | 0 | A3 | 2 |
Extraction Examples Dataset
This dataset contains 17 examples for testing extraction workflows.
Dataset Structure
Each example includes:
- PDF file: Original document
- map_info.json: Map extraction metadata
- direction.json: Direction information
- GeoJSON files: Polygon geometries
- Area JSON files: Area definitions
File Organization
files/
├── example1/
│ ├── document.pdf
│ ├── map_info.json
│ ├── direction.json
│ ├── polygon1.geojson
│ └── area1.json
└── example2/
└── ...
Usage
from datasets import load_dataset
import json
# Load dataset
ds = load_dataset("alexdzm/extraction-examples")
# Get file paths for first example
example = ds['train'][0]
pdf_path = example['pdf_path']
map_info_path = example['map_info_path']
# Files are accessible via the repo
# Use hf_hub_download to get local paths:
from huggingface_hub import hf_hub_download
pdf_file = hf_hub_download(repo_id="alexdzm/extraction-examples", filename=pdf_path, repo_type="dataset")
map_info_file = hf_hub_download(repo_id="alexdzm/extraction-examples", filename=map_info_path, repo_type="dataset")
# Load JSON data
with open(map_info_file) as f:
map_info = json.load(f)
Examples
- barnet_monken: Article 4 for Monken Hadley CA (Scale: 5000, Page: 7)
- camden_fitzjohns: 67 Fitzjohns Avenue area (Scale: 1250, Page: 5)
- camden_hampstead: 32-66 (even) & 72-90 (even) South Hill Park, NW3 (South Hill Park Estate Conservation Area) (Scale: None, Page: 6)
- camden_kentish: 147 Kentish Town Road (Scale: 500, Page: 2)
- dover_margarets: Article 4(1) Direction No.1 2007, Town and Country Planning (General Permitted Development) Order 1995 (Scale: 1250, Page: 3)
- dover_sandwich: Town and Country Planning Direction No.3, 1979, General Development Order 1977 (Scale: 2500, Page: 6)
- dover_townsend: Town and Country Planning Direction No. 2, 1974, Town and COuntry Planning General Development Order 1973 (Scale: 10560, Page: 4)
- gloucestershire_filton: Land at Stoke Park and Cheswick ward East of Southmead Road (Scale: None, Page: 3)
- hampshire_avon: ARTICLE 4 DIRECTION 97/2 (Scale: None, Page: 4)
- kensington_holland: Article 4 - No 30 (Scale: None, Page: 4)
- kensington_rutland: Article 4 - No 72 (Scale: None, Page: 4)
- newcastle_heaton: Saint Gabriel's Estate, Heaton (Scale: None, Page: 3)
- newcastle_jesmond: HW Jesmond & N Jesmond (Scale: None, Page: 3)
- newforest_park: ARTICLE 4 DIRECTION NP NEW FOREST CAMPSITE (Scale: 190000, Page: 3)
- peterborough_barnack: The Rectory Millstone Lane, Barnack (Scale: None, Page: 2)
- stalbans_cunningham: Cunningham Avenue (Scale: None, Page: 1)
- wirral_caldy: Caldy/Thurstaston (Scale: None, Page: 2)
- Downloads last month
- 145