Skip to content

Releases

Map Studio 0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 21:17
2bed23d

Map Studio 0.3.0 shows each site's live state on the project map: alarms, comms and a key value on every icon and line, a popup with the alarm summary and a link to the site's page, search, a legend and a Needs you summary of what is in alarm, comms lost or stale. A normal field shows no colour, so what needs attention stands out.

What's new

  • Live state on the map. Each kind setup turns on a comms tag, up to four values (one shown on the icon) and the alarms of an asset's folder (Ignition's Alarm Metrics). The Gateway keeps one subscription per tag for the whole project, however many sessions are open, and sends each open map one update per refresh interval (10 s by default) with only what changed; an open popup gets its values as they change.
  • Alarms and comms you can read at a glance. The alarm glyph by priority, filled while unacknowledged and outlined once acknowledged, with a count; comms lost in its own magenta theme token with its glyph and the word; stale values marked with the hourglass and no colour. Every hue is a theme token with a Perspective fallback, checked for contrast in both bundled themes (engineering review ER-27 passed with changes, 2026-11-02).
  • Popups. A click or tap opens the default popup: the name and a link to the site's page, comms with the data age, the key values, and the alarm summary with View alarms to your alarm page. A kind setup can name a project view to show instead. On a phone the popup is a bottom sheet with 44 px buttons. Map Studio acknowledges nothing.
  • Lines and instruments. Line weight follows pipe size; instruments draw at their place on the line, each segment between two instruments takes their worst state (dashed while stale), and the line popup lists the instruments in order with their values and distances.
  • Value-driven styles and area tints. A kind setup's style rule (States, Bands or an Ignition expression) picks a preset on the Gateway; geofences take a category tint.
  • Search, Needs you and the legend. Search by map item or asset name (keyboard and phone too); a Needs you bar counts the items in alarm, comms lost and stale and lists them by rank; the legend shows every glyph and line look the map draws and holds the Lines and Names switches.
  • Basemaps and the starting area. None, OpenStreetMap and Satellite (Mapbox imagery), each with its attribution always shown; the first basemap the setup lists is the default. A new component prop startingArea opens each map on its own centre and zoom or bounds.
  • Labels that give way. Names, value labels and state chips are drawn with bundled fonts and give way to each other by rank as you zoom out; nearby items share one marker with a pick list.
  • Satellite on your own Mapbox account. Satellite runs on the client's own Mapbox account and public token: the client accepts Mapbox's terms and pays its own tile requests, and Map Studio ships and holds no token. The Gateway reads the token from the secret the setup names, only when a browser asks, refuses anything but a public pk. token, and sends it only inside the tile URL. While Satellite is drawn the map shows the Mapbox logo and the attribution Mapbox's guide asks for ("© Mapbox © OpenStreetMap Improve this map © Maxar"), bottom-right, clear of the App Bar toggle (basemaps).

Requirements

  • Ignition 8.3 (tested on 8.3.9 and 8.3.10), Perspective.
  • A PostgreSQL database connection per project, as in 0.2.0 (the map store schema is unchanged).
  • For Satellite: your own Mapbox account and a public (pk.) token, ideally restricted to your Gateway's URL, in a secret provider the setup's tokenSecret names (setup). OpenStreetMap's public tiles ask for attribution and light use; a busy site should use its own tile service.

Upgrading from 0.2.0

The popupView component prop is gone. The 0.1.0 spike prop is no longer read: name the popup view in the kind setup instead (kind setups). A view that still sets it opens the default popup.

  • No map store migration: the schema stays at version 2, so no database backup or owner role is needed for this upgrade (a backup before any upgrade is still good practice).
  • The component no longer opens on a fixed view: set startingArea on each Map Studio component, or it opens on the whole world.
  • Live values appear once a kind setup turns them on (comms, values, alarms); without one the map draws as in 0.2.0, neutral.
  • If your project's theme defines its own colours, check the new tokens (--mapstudio-comms-lost, --mapstudio-alarm-1 to -3 and the presets) against your basemap (review pack).

Install and verify

Install Map-Studio-0.3.0.modl from the assets below on the Gateway (Platform > Modules), or pin it in a module lock (how).

  • SHA-256: dc1475b83c3ecf742047963ec02381cd68c54bf780cbd4599879417d6aa69c11 (also in Map-Studio-0.3.0.modl.sha256)
  • Signing certificate SHA-256: 8F:93:FD:5C:B8:D9:C7:9B:E4:14:FD:EC:84:CF:21:26:A2:AC:39:F3:DA:3F:C9:0D:F8:08:0E:EA:5C:4D:38:3D

Not in this release

  • The in-browser editing studio (drawing tools, the item list, Undo, the kind setup screen) is the next release (editing). Kind setups are written through the scripting API until then.
  • The Mapbox vector style basemap is deferred; Satellite is raster imagery.
  • The template's map (ign-scada-template) still runs its own map; moving it to Map Studio, with its cards taking the comms-lost colour, is a later step (template cutover).
  • Many editors saving large batches at once is unchanged from 0.2.0 (ten editors each saving 50 changes at the same moment, p95 about 1.8 s on a 4-CPU test machine).
  • A second browser tab still sends another tab's unsaved edit only after its next map load.

Full details for developers: CHANGELOG and the message contract.

Map Studio 0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:02
19c9271

Map Studio 0.2.0 gives each Perspective project a map that is stored in its own database: map items are saved as they are edited, every open map sees a save at once, and only the roles you name can change it.

What's new

  • Map store. Each project names a PostgreSQL connection. Map Studio creates its mapstudio_ tables on first start, saves each edit as it happens, refuses saves that conflict with someone else's change, and records who changed what.
  • Live across sessions. A save reaches every open map of the project without a reload.
  • Editing roles. A full editing role and a phone editing role, checked on the Gateway. Everyone else sees the map read-only.
  • Edits survive a dropped connection. Unsaved edits are kept in the browser and sent again when the session comes back.
  • Kinds and assets from your project. The kind list and the asset list come from functions in the project's script library, and each saved map item is checked against them.
  • Setup in the Designer. A Map Studio Setup node in the Project Browser opens a form with pickers for the database connection, roles, functions, alarm page and token secret. A setup with problems is held back while the rest of the project saves.
  • Scripting. system.mapstudio.getMap, applyEdits, refreshAdapters and ping.
  • Oil and gas icon set with alarm and state glyphs (engineering review ER-27 passed, 2026-10-28).
  • Tag browsing for kind setups, including asset-relative paths ({asset.path}/...).

Requirements

  • Ignition 8.3 (tested on 8.3.9 and 8.3.10), Perspective.
  • A PostgreSQL database connection per project. The first start needs CREATE on its schema; after that the runtime role only needs read and write on the mapstudio_ tables (operations).

Upgrading from 0.1.0

Take a database backup first. This release runs map store migration 2, which alters the mapstudio_ tables. The migration needs the role that owns those tables, not a least-privilege runtime role. Start 0.2.0 once with the owner role on the connection, or give the tables to the connection's role first. Until then the map store is unavailable with an error naming migration 2 (SQLState 42501), and nothing is changed.

The spike-only prop testSet is removed.

Install and verify

Install Map-Studio-0.2.0.modl from the assets below on the Gateway (Platform > Modules), or pin it in a module lock (how).

  • SHA-256: 0cfa5c26190e04e84751ef825d020fbc006556748d1d4a1bbb66b2f25e0730ba (also in Map-Studio-0.2.0.modl.sha256)
  • Signing certificate SHA-256: 8F:93:FD:5C:B8:D9:C7:9B:E4:14:FD:EC:84:CF:21:26:A2:AC:39:F3:DA:3F:C9:0D:F8:08:0E:EA:5C:4D:38:3D

Not in this release

  • Live state on the map (alarms and comms on icons, popups, legend, search, the Needs you summary) arrives in the next release (viewing).
  • The in-browser editing studio (drawing tools, item list, Undo) comes after that.
  • Many editors saving large batches at once. Ten editors each saving 50 changes at the same moment measured p95 1.8 s on a 4-CPU test machine, where the browsers starved the Gateway. With the browsers' load removed it was 314 ms. The template's test stack measures this again (results).
  • A second browser tab does not resend another tab's unsaved edit on its own timer; it sends it after its next map load.

Full details for developers: CHANGELOG and the message contract.

Map Studio 0.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 16:09
7e77728

What's Changed

  • Map Studio: planning through architecture, and story 1 (the tracer) by @aott33 in #1
  • ops: keep the default compose project unless MAPSTUDIO_CONTAINER is set by @aott33 in #2
  • Epic 1 stories 2 to 5: Terra Draw, Gateway platform checks, popup view by path, CI and release by @aott33 in #3
  • Epic 1 story 7 (Playwright suite and measures) and story 6 part 1 (template rehearsal, PKCS#7 signing fix) by @aott33 in #4

New Contributors

  • @aott33 made their first contribution in #1

Full Changelog: https://github.com/aott33/perspective-map-studio/commits/v0.1.0