Plotlay

Showcase · Drawing · Data layers · Facilities · NSW open data

One building on the map. Thirty-eight on the campus.

What if a campus’s buildings are in no map data at all? Draw them out over open aerial imagery, record where each outline came from and how accurate it is, then key the asset register, work orders and capital plan to each one.

TAFE NSW Richmond sits on 32 ha of the Hawkesbury flood plain. OpenStreetMap has 1 building inside it. NSW’s building footprint layer is not open. The land title is a 292 ha lot shared with the university next door, so there is no parcel to start from either. Microsoft’s building outlines, made by software from aerial photos, find 33 shapes, rough and a metre or three off. Plotlay draws out all 38 buildings over NSW aerial imagery, and each one carries where its outline came from and how far it can be trusted.

The TAFE NSW Richmond campus on NSW aerial imagery with its 38 buildings outlined and coloured by where each outline came from.
The 38 buildings over NSW aerial imagery, coloured by where each outline came from. Drawn in Plotlay.
Open in PlotlayThe campus, the 38 buildings with their sources, and the sample facilities layers. No account needed.Data, notebook and Power BI files on GitHubThe plotlay-tafe-richmond repository

The map data has one building

Most asset work starts from a footprint someone else drew. Here there is almost nothing to start from. OpenStreetMap shows 1 building inside the campus. The state’s footprints are licensed to government agencies only. The cadastre lot is 292 ha and holds the university’s campus too. The best open outlines are Microsoft’s building outlines, made by software from aerial photos: 33 shapes, which miss 5 buildings and sit a median 2.23 m off the roofs they describe.

38buildings drawn in Plotlay
1in OpenStreetMap
5in no open data at all
2.23 mmedian distance Microsoft’s outlines sat off the roofs

The map

Each building over the imagery, coloured by where its outline came from, by how far Microsoft’s outline was off, or by its size. Hover over a building, or tap it, for its source and accuracy.

Drawing them out

The imagery is NSW Spatial Services’ aerial photography, licensed CC BY 3.0 AU, sharp enough at this site to see roof sheets (about 7 cm a pixel). In Plotlay, on the NSW aerial imagery base map, each building is drawn corner by corner on a data layer. Where Microsoft’s outline was usable it was the starting point and the corners went onto the roof edges; where there was nothing, the building was drawn from scratch. Square corners as I draw squares each outline to its own direction (the campus grid runs about 42° off east). Two buildings with complex roofs, a cross and joined wings, were picked from Microsoft’s footprints as they are, to show snapping to what exists, and are marked less accurate. Every shape keeps its source: drawn over NSW aerial imagery, or picked from a file with its licence.

Outline sourceBuildingsAccuracy
Traced over NSW Imagery (not in the Microsoft footprints)5±0.5 m
Traced over NSW Imagery, started from the Microsoft footprint and fitted to the roof edges31±0.5 m
Microsoft footprint, picked as it is (a complex roof, not refined)2±2.5 m

Accuracy depends on the imagery: a roof outline includes the eaves, so a wall line sits a little inside it, and a shadow or a tree over an edge can hide it. The accuracy column is what the drawing method can hold to; where law or a contract needs a licensed surveyor, their licence and sign-off are what count.

The campus in Plotlay's 3D view from the south-west over NSW aerial imagery, the 38 buildings standing as blocks coloured by where each outline came from, the winter sun casting their shadows.
Made in Plotlay: the 38 buildings in the 3D view over the imagery. Heights are not measured, so every building stands 4 m high here, for the picture only.
Bar chart: how far each building's outline moved from Microsoft's outline when fitted to its roof edges, from 0.9 to 4.8 metres.
How far each of Microsoft’s outlines was off its roof.
Map of the campus buildings over NSW imagery coloured by how far Microsoft's outline was off, in metres.
The same, on the map.

Sample data

Asset outcomes, building by building

With every building a keyed shape, the asset register, work orders, maintenance, compliance and the capital plan can be linked to it. This section shows that for the same 38 buildings, using sample data: the figures are not about TAFE NSW Richmond or any real building.

Sample data372assets in the register, each a point inside its building
Sample data70at high or extreme risk (likelihood x consequence)
Sample data33work orders open, 9 past their target
Sample data88.1%of planned maintenance done on time over the year
Sample data8 of 131essential safety measures overdue
Sample dataA$3.1Mof capital works waiting

Switch the map between risk, open work orders month by month, condition, backlog and power used after hours. In the risk view every asset is a dot: hover or tap one for its tag, condition, life left and next service.

Sample data: a five by five heat map of assets by likelihood and consequence.
Likelihood times consequence for every asset. Sample data.
Sample data: open work orders by priority, stacked by how long they have been open.
The work order backlog by priority and age. Sample data.
Sample data: work orders raised each month, reactive and planned, stacked.
Work orders raised each month. Sample data.
Sample data: planned maintenance done on time each month as a line.
Planned maintenance on time. Sample data.
Sample data: two heat maps of hourly electricity by weekday and hour, B05 following the teaching day and B04 staying on at night and weekends.
The building meters from a BMS trend log: B04 does not switch off. Sample data.
Sample data: the capital works backlog by building as ranked bars.
The capital works backlog by building. Sample data.

The sample tables

Eleven tables in the shape a CAFM or CMMS exports, keyed to the buildings and most to an asset tag, drawn from one fixed seed with the same generator as the University High School showcase (its own seed, its building plan made by rules from the footprints). Columns and how each was drawn are in the data dictionary, data/sample/README.md in the plotlay-tafe-richmond repository.

TableRows
assets.csv the asset register: points inside the buildings, Plotlay asset types and tags, condition, life left, next service372
asset_risk.csv likelihood and consequence per asset, the rating, what drives it and the treatment372
work_orders.csv 12 months of reactive and planned work orders: trade, priority, status, target, age, cost1,010
work_orders_monthly.csv each building at each month’s end: raised, completed, open, overdue456
pm_compliance.csv planned maintenance by building and month: on time, late, missed257
esm_register.csv essential safety measures by building: inspections, status, open defects131
asbestos_register.csv presumed and sampled materials in the older buildings, risk and action20
meter_trends.csv a BMS trend log: hourly kWh per building meter and kL per water meter, four weeks16,800
space_use.csv teaching spaces: seats, timetabled periods, frequency, occupancy19
capital_works.csv the capital works backlog: element, driver, priority, year, estimate82
building_summary.csv one row per building: everything above rolled up38

How it was made in Plotlay

  1. A map project on NSW aerial imagery (in the base map list under Government (AU)), allowed in exports.
  2. Campus site: a one-row table linked to an empty data layer, its key placed by drawing the campus along its fences and roads.
  3. Buildings: the 38-row table linked, then Place them one by one: each row drawn corner by corner with Square corners as I draw on, or picked from Microsoft’s footprints added with their licence. Each shape keeps its source.
  4. Colour by outline source and by how far Microsoft’s outline was off.
  5. Roll up the buildings to the site: how many, their footprint.
  6. Sample data: the register’s assets as points keyed by tag, rolled up into the buildings and the site; work orders by month on the time slider; the meters’ trend log imported onto the buildings by key; the building handover pack (COBie, IFC, Haystack, Brick) from the buildings layer, with no rooms drawn.
  7. Charts and map pictures from Plotlay’s own chart engine (Analysis), and exports for Power BI and Python.
Plotlay: buildings being drawn corner by corner over NSW aerial imagery, the row being placed shown in the Data layers panel.
Drawing out, row by row.
Plotlay: the buildings coloured by outline source with the legend.
Coloured by where each outline came from.
Plotlay: the Roll up from another layer dialog counting the buildings inside the campus site.
Rolled up to the site.
Plotlay: the sample buildings layer coloured by assets at high risk. Sample data.
The sample facilities layer. Sample data.

More about Data layers · Make a data layer of your own

Power BI

Power BI report page: a Shape Map of the 38 TAFE NSW Richmond buildings among the campus roads, coloured by where each outline came from with a legend, cards reading 38 buildings, 5 in no open data and a median Microsoft offset of 2.23 m, and a table of each building with its outline source, accuracy, footprint and Microsoft offset.
In Power BI Desktop, from the repo’s .pbip: thirty-eight buildings on the campus roads, coloured by where each outline came from.
Power BI report page: buildings by outline source, 31 traced from a Microsoft footprint, 5 traced and not in the footprints, 2 Microsoft footprints as they are, and the Microsoft offset by building from 4.84 m down to 0.90 m.
In Power BI Desktop, from the repo’s .pbip: where each outline came from, and how far the Microsoft footprints were off the roofs.

The same shapes and tables as a Power BI Project (.pbip): a Shape Map of the buildings from the TopoJSON keyed B01 to B38, the outline sources and accuracy, and three pages of sample data (risk, work orders, compliance), each tagged Sample data, with the Plotlay theme. It reads the data from the GitHub repository, so it refreshes with no gateway. It is in the plotlay-tafe-richmond repository on GitHub, with the steps to open it.

Python

A narrated Jupyter notebook loads the shapes with GeoPandas, checks the outline sources and accuracy against the drawing, compares Microsoft’s footprints, checks Plotlay’s roll-up and reads the sample tables in their own section.

Download the notebook (with its outputs) and the data. Both are also in the plotlay-tafe-richmond repository on GitHub.

Read it carefully

The other campus and schools showcases

Sources and licences

Aerial imagery, and the outlines drawn over it: © State of New South Wales (Spatial Services, a business unit of the Department of Customer Service NSW), licensed under CC BY 3.0 AU. Building outlines drawn over NSW Imagery in Plotlay. Two outlines, and the starting points of others: Microsoft Global ML Building Footprints, CDLA Permissive 2.0. The facilities figures are sample data.

Base maps on this page’s maps: NSW Imagery © State of New South Wales (Spatial Services), CC BY 3.0 AU (the campus map); © Commonwealth of Australia (Geoscience Australia), CC BY 4.0 (the facilities map). Maps: Leaflet.

Our shapes and tables are CC BY 4.0 and the code is MIT. This is independent work using open data, not endorsed by TAFE NSW or Spatial Services.

Draw out your own campus

Plotlay is free to start: every tool, three cloud projects.

Create free accountThen open Data layers in any map project