566
AutomaticIdentificationSystem(AIS)datathathave
been collectedover the last years, since AIS became
mandatorytomostcommercialvessels.
AIS data have been used by several authors for
maritime traffic characterization (e.g. Silveira et al.,
2012,Rongetal.,2018), for collisionriskassessment
(e.g.Silveiraetal.,
2013,2015;Rongetal.,2016)and
fordevelopingsimulation modelsofshipnavigation
incongestedwaterways(e.g.Rongetal.,2015a,b).
Several algorithms have been proposed for
characterising maritime traffic routes from historical
AISdata.Inparticular,Pallottaetal.,(2013)proposed
a methodology called Traffic Route Extraction and
Anomaly Detection (TREAD), which automatically
learnsa statisticalmodelformaritimetrafficfromAIS
data in an unsupervised way. Discontinuous events
areclusteredtoformwaypointobjects.Thelinking of
thesewaypointobjectsleadstothecharacterizationof
route objects. Anomalies can be detected by
comparing the found routes with real
‐time traffic.
This research builds on the work of Vespe, et al.,
(2012), which developed the framework aiming at
automatically learning AIS maritime traffic patterns
using anunsupervised approach that works in real‐
time. Etienne et al., (2010) proposed a process to
extracttrajectoriesfromdataofmovingobjectsand
to
identify unusual behaviour. The process starts by
storingpositionsinaspatio‐temporaldatabase,after
which a zone graph is set up and a cluster of
trajectories of objects following the same itinerary
extracted from the database. Then, a statistical
analysisisperformedtocomparepatternsinorderto
qualify
thebehaviourofamobileobject.Theprocess
wasappliedusingAISdataintheBrestarea.
The present paper explores the use of the well‐
known Dijkstra’s shortest path algorithm (Dijkstra,
1959) for establishing safe paths of ships based on
historicalAISdata.TheDijkstraalgorithm,aswellas
several improved versions of the original method,
have beenwidely used in different contexts such as
for ship route planning, logistics management, and
manyothersnetworkoptimizationproblemsthatcan
beformulatedasshortestpathproblem(e.g.Jooetal.,
2012; Takashima et al., 2009; Mannarini et al., 2013;
Neumann,2016).
The approach proposed in this paper consists of
using AIS data tobuild two graphs.In the firstone
thenodesofthegrapharecellsofagridcoveringthe
geographical area being studied and the weights of
directional edges are inversely related to ship
movements between cells. The
second graph is
createdwiththesamenodesandedges,butwithedge
weights equal to the average speed of transitions
between cells. Based on these graphs, the Dijkstra
algorithmisusedtoidentifythemostusedrouteby
ships between two locations and the average speed
profileforanypossible
pathwithinthegraph.
The proposed approach is applied to two
scenarios:theapproachtotheportofLisbonfromthe
southboundtrafficlanesofthe“OffCapeRocaTraffic
SeparationScheme”andtheentryofthefairwaytoa
RO‐ROterminalintheportofSetubalinPortugal.
2 SAFEPATHSFROMAISTRAFFICDATA
This section details which information can be
obtained from AIS data and describes the proposed
methodindetail.Someimplementationaspects,such
as grid resolution, ship speed anddata quantity are
discussed.
2.1 AISdata
AIS allows automatic exchange of information
betweenstations(ships
andcoastal),usingVHFradio
waves. There are 27 message types defined in the
International Telecommunication Union (ITU)
recommendation M.1371‐5 (ITU, 2014), and two
classesofshipboardequipment:classA(usedmainly
by commercial vessels) and class B (used mainly by
fishing vessels and pleasure craft). The reporting
intervals
of class A equipment vary between 2
seconds and 10 seconds (depending on the ship’s
speedandrateofturn)iftheshipisnotmooredorat
anchor.Iftheshipstatusismooredoratanchor,the
reporting interval is 3 minutes, unless the speed is
greaterthan3
knots,whichsetsthere‐portinginterval
to10seconds.Themessagetypesusedinthis study
wereposition reports (messagetype1, 2and 3)and
static and voyage related data (message type 5)
transmitted by class A equipment. Information
contained in position reports includes date/time,
Maritime Mobile Service
Identity (MMSI) number,
navigation state, rate of turn, speed over ground,
position accuracy, latitude, longitude, course over
ground and heading. Staticand voyage relateddata
messages include information on MMSI number,
International Maritime Organization (IMO) number,
ship’s name, destination, Estimated Time of Arrival
(ETA), callsign, type of ship, length, breadth and
draught.AISrecordsusedinthisworkwerecollected
by the Portuguese coastal VTS, between 05/05/2012
and21/06/2013.
2.2 Methoddescription
The proposed method to define safe paths based on
AISrecordsstartsbydecodingmessagetypes1,2,3
and5,transmittedby class Ashipequipment. From
these
data, decoded messages originated from the
geographicalareaunderstudyareselectedforfurther
use. Maximum and minimum latitudes and
longitudesdefinethegeographicalarea.Thenextstep
consistsofdefiningagridwithsquarecells,withcell
side length defined according to the required
resolution.
Thenumberofgridrows
andcolumnsisadjusted
sothatthegridtotallyincludestheareaunderstudy.
Figure 1 shows an example of a grid on a traffic
densitymap, coveringoneof the geographicalareas
selectedforapplicationofthedescribedmethod:the
approachestotheportofLisbon.