Name and Place Your Station¶
Tell AIS-catcher where your antenna stands. Every ship's distance and bearing, and your station's range, are measured from there.
You need: the position of your antenna, as a latitude and longitude or as a spot you can find on a map.
Name and place the station¶
- In the dashboard, open Settings and choose Stations. Your station comes first: every input stands there until you add more stations. Give it a Name, such as Harbour mast.
- Under Position, switch No position off if it is on. Type the Latitude and Longitude in decimal degrees, or press Pick on map and click where the antenna stands. Antenna height (m) is optional.

Add an entry to the stations list:
{
"config": "aiscatcher",
"version": 1,
"stations": [
{ "id": 0, "name": "Harbour mast", "lat": 52.10, "lon": 4.27, "alt": 20, "share_loc": true }
]
}
| Key | What it does |
|---|---|
id |
0 is the station where every receiver stands that names no other. |
name |
The station's name. |
lat, lon |
Where the antenna stands, in decimal degrees. |
alt |
The height of the antenna in metres. Optional. |
share_loc |
Lets the web viewer show where the station is, and each ship's distance and bearing. Off unless set. |
Every key of a station is in Stations.
On the command line, the -N of the web viewer describes the station. Add its name and position to the -N of the command you already use:
AIS-catcher -N 8100 station "Harbour mast" lat 52.10 lon 4.27 share_loc on
station is the name, and lat and lon are where the antenna stands, in decimal degrees. alt 20 adds the height of the antenna in metres. share_loc on lets the web viewer show where the station is, and each ship's distance and bearing.
A station that moves¶
On land, skip this step.
On a boat, the position you typed is where the station stands until something moves it:
- Follow GPS moves the station with each fix from a GPS, or from an AIS receiver that passes GPS sentences.
- Rides a vessel (MMSI) takes the MMSI of the ship the station is on. The station is then wherever that ship last reported.
On a boat, lat and lon are where the station stands until something moves it. Add one of these to its entry:
"gps": truemoves the station with each fix from a GPS, or from an AIS receiver that passes GPS sentences."mmsi": 244123456takes the MMSI of the ship the station is on. The station is then wherever that ship last reported.
On a boat, lat and lon are where the station stands until something moves it:
- GPS moves the station with each fix from a GPS, or from an AIS receiver that passes GPS sentences. On the command line this is on already:
use_gps offon the-Nkeeps the station in place. own_mmsi 244123456on the-Ntakes the MMSI of the ship the station is on. The station is then wherever that ship last reported.
Save¶
Press Save changes. The station uses the new position at once.
Restart AIS-catcher with the file:
AIS-catcher -C config.json
Restart AIS-catcher with the new command line.
Check it works¶
- The dashboard map shows the station where you put it.
- Click a ship: its card shows the Distance and Bearing from the station.
- In the dashboard, open Statistics. Under This Session, Max Distance is the furthest ship heard since the start.
No distance or bearing?
A map shows them only when its server shows where the stations are. Open Settings → Services → Main and, under Shows, switch Station locations on. On a new installation it is on already.
- The map of the web viewer shows the station where you put it.
- Click a ship: its card shows the Distance and Bearing from the station.
- In the web viewer, open Statistics. Under This Session, Max Distance is the furthest ship heard since the start.
No distance or bearing?
The web viewer shows them only when the station's entry has "share_loc": true. A share_loc in the server's own section counts over it.
- The map of the web viewer shows the station where you put it.
- Click a ship: its card shows the Distance and Bearing from the station.
- In the web viewer, open Statistics. Under This Session, Max Distance is the furthest ship heard since the start.
No distance or bearing?
The web viewer shows them only with share_loc on on the -N.