Skip to main content

The Data Preview in gPlan

Check every site and column, filter, set land uses by hand, and download a CSV

Written by Holly Conrad Smith

Planning outcomes need to be traceable. The Data preview lists every site in your shortlist with every column, including the ones your rules write. You can see why each site has its land use and what each rule produced, site by site.

Open the Data preview

The Data preview sits at the bottom of the 1 · Sites and 3 · Scenarios tabs. It starts open on Sites and folded on Scenarios, so the rules and results have room. Click its heading to open or fold it. The number at its top right is how many sites are loaded.

On the Sites tab, the table shows your parcels as they are. On the Scenarios tab, it also shows the columns your rules write, each marked rule.

Get around the table

The table shows 15 sites at a time. The footer says which rows you are looking at, such as "1–15 of 240". Pick 15, 50, 100, or 500 rows per page, and click the arrows to move between pages.

Shape the columns the way you read them. Click a heading to sort by it, and click again to reverse the order. Drag a heading onto another to move it, and drag a heading's right edge to resize it. Right-click a heading and click Hide this column to hide it.

gPlan hides ID-like columns the first time it sees them. A line under the search box counts the hidden columns. Click it to list them, then click × on one to show it, or click show all. To hide every column with no value on any site, click the Hide button that counts the empty columns.

Find the sites you are looking for

To find sites by what they hold, type in Search columns & values…. gPlan narrows the rows to sites with a matching value and highlights the matches. Matching column names show as chips above the table. Click a chip to jump to that column. A hidden column that matches shows in the table with an amber heading.

To narrow the table to sites that meet set conditions, use the filter.

  1. Click Filter. The Filter table box opens.

  2. Search for a column under Add a field to filter by and pick it.

  3. For a text column, tick the values to keep. Use Select all and Clear all, or search the list.

  4. For a number column, type a Min, a Max, or both.

  5. Close the box. The button shows how many filters are on, such as "Filter · 2".

For a quick filter on one column, right-click its heading and type in the contains… box. Click Clear all filters in the Filter table box, or Clear filter on a heading, to remove filters. Filtering only changes what you see. Rules and metrics still use every site.

To find a site on the map, right-click its row and click Fly to, or Select on map to select it. Rows for sites selected on the map are highlighted. Click Only selected under the table to list only those sites.

Fix a column's type

A parcel layer sometimes stores numbers as text, such as "2430". Number conditions like at least then don't work on that column in rules. Right-click the heading and pick a type next to Treat as: number, text, yes / no, or date. Pick layer type to go back. The new type applies to rules, metrics, and sorting, and the heading shows a badge.

Set a site's land use by hand

When your table has land uses, the landUse column shows a list in each row. Pick a land use to set it for that site by hand. A land use set this way wins over every rule.

Cells set by hand, from this list or with an override, are marked, and their tooltip says rules won't change them. Hover over one and click × to let rules set it again. A line under the table counts the sites set by hand. Click Only manual to list only those sites, or click clear all manual edits to clear every one. See Override Selected Sites in gPlan.

Help your rules and map keep up

Two buttons beside the Data preview heading help the rest of gPlan. Click Summarize to scan your sites and remember each column's values, so rule conditions suggest them as you type. The button shows a ✓ once it has run. Click Refresh preview to redraw the map preview when its colours or heights look out of date. It isn't available on the Sites tab, which has no map preview.

Download the data

Click ⭳ CSV to download every site and column as a CSV file. Use it to check numbers in a spreadsheet, or to bring them into a planning report or model.

With Developer mode on in Settings, a ⭳ State button also downloads a file that describes your plan. Send it to support when something looks wrong. It doesn't include your API key. See gPlan Settings.

Did this answer your question?