Skip to content

geospatialncl/uk_building_classification_nismod-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

uk_building_classification_nismod-db

Classification of UK Mastermap buildings using the NISMOD-DB++ API and geometric properties.

UK Residential Building Classification using NISMOD API

This script uses the NISMOD-DB++ API to classify OS Mastermap buildings at local authority district (LAD) scale. The script extracts residential buildings using the API and, using topological properties between buildings and Addressbase points, classifies into one of four residential classes:

  1. Detached
  2. Semi-detached
  3. Terraced
  4. Flat

There are also Communal dwellings.

The script assigns a MISTRAL building class and posts the resulting data back to the NISMOD-DB++ database.

init.txt

The script requires a 'init.txt' file to be located in the same directory. This should contain details for connecting to the NISOMD-DB++ API and required there to be three keys, user, password and url, each on their own line in the file. For example, the user line should look like: user="example_user"

Dependencies

shapely, requests, itertools, json

About

Classification of UK Mastermap buildings using the NISMOD-DB++ API and geometric properties.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages