Challenge
The client watched its buoys through an outdated program on top of a poorly documented Firebird database. To send a command to an old-standard buoy, staff had to use yet another outdated program. There was no remote access and no way to separate and manage user rights. The new system had to work in a browser, show objects on charts strictly by S-57, the standard for ships’ electronic chart systems, support buoys of both the new and the old standard and log every event and every action.
What we built
- Nautical charts in the browser: S-57 charts imported into PostGIS, styled by the S-57 rules in GeoServer and shown with Leaflet, with live buoy points on top. We built this on open-source GIS instead of buying a commercial GIS suite with a yearly licence.
- Communication with buoys of different models: a Node.js service dials a buoy through a modem, passes the password check and reads the main report and the battery report. It changes the light’s flash modes, reads and changes buoy settings, decodes alarms and uses command templates, handling encryption, dropped calls, call-backs, bit-level messages and postponed commands.
- Live data and alarms: a FeathersJS API with REST and WebSocket access to buoys, events, commands, alarms, reports, users and roles, with a role check on every call.
- An event log where operators see every alarm and every user action, approve or cancel actions, filter the history and export it.
- Integration with the legacy database: buoy data, reports and alarms are processed from Firebird, including text in an old encoding and XML reports stored in blob fields.
- Roles without limits: access can be set for every collection and every service, and administrators create new roles themselves.
- A component library: 80+ React components in Storybook and a design that also works on phones.
Process
Ross was the software architect: he designed the services and the data flow, ran the project with a team of seven (a designer, a GIS developer, two frontend developers, a full-stack developer and a project manager) and wrote the Node.js service that talks to the buoys over the modem.
Results
- Map display and communication with buoys of different models in one system, with access levels and a full history, instead of several outdated programs.
- Official S-57 nautical charts in a browser on open-source GIS, without a commercial GIS licence.
- Delivered in five months: 11 sprints, 140 user stories, 800+ hours of development.
Screens


