Efficient Weather Routing Method in Coastal and Island-Rich Waters Guided by Ship Trajectory Big Data
Abstract
1. Introduction
- (1)
- To address the issue of selecting the appropriate grid scale, which determines the granularity of route planning, this paper introduces an adaptive quadtree-based method for partitioning navigable space into adaptive grids. This approach can dynamically adjust the granularity of the planning based on geographical features. Fine granularity is used in coastal and island-rich waters, while coarser granularity is applied in open seas, thereby improving both the safety and efficiency of the routing.
- (2)
- To address the issue of excessive computation time in long-distance weather routing, this paper proposes a route network construction method based on historical ship trajectory big data. Building upon the adaptive grid partitioning, the method uses trajectory clustering to construct an empirical route network. It retains frequently used historical routes and eliminates unused ones, further improving the computational efficiency of the route planning.
- (3)
- The proposed method dynamically integrates marine environmental factors into the route planning process, enabling the generation of navigable, safe, and time-efficient weather routes in coastal and island-rich waters, thereby ensuring both navigation efficiency and safety.
2. Adaptive Route Network Construction Based on Ship Trajectory Big Data
2.1. Adaptive Grid Partitioning of Navigable Space Based on Adaptive Quadtree
2.2. Route Network Construction Based on Ship Trajectory Big Data
Algorithm 1: Route Network Construction Based on Ship Trajectory Big Data |
Input: 1. Preprocessed AIS trajectory dataset T = {T1, T2,…, Tm}, where Tᵢ is the i-th trajectory containing k trajectory segments {Ti1, Ti2,…, Tik}; each trajectory segment Tij includes start point Sij(xs, ys), end point Eij(xe, ye), and ship attribute Aij (type, speed, heading) 2. Adaptive quadtree model AQT (including the set of adaptive codes C_adap for navigable grids) 3. Full-partition quadtree parameters: area range [x_min, x_max] × [y_min, y_max], number of partition levels n |
Output: - Route network G = (V, E), where V is the navigable grid node (represented by adaptive code) and E is the effective connection between nodes (including connection weight determined by clustering frequency) |
// Step 1: Trajectory Point Encoding Conversion (convert latitude and longitude of trajectory segment endpoints to full-partition quadtree codes) Function TrajectoryPointEncoding (T, x_min, x_max, y_min, y_max, n): EncodedPoints = [] // Store full-partition codes of all trajectory segment endpoints For each trajectory Ti in T: For each trajectory segment Tij in Ti: // Process start point Sij(xs, ys) rows = floor((ys − y_min)/(y_max − y_min) × 2ⁿ) cols = floor((xs − x_min)/(x_max − x_min) × 2ⁿ) quadkeys = CalculateQuadkey(rows, cols, n) // Calculate full-partition code according to Equation (1) // Process end point Eij(xe, ye) rowe = floor((ye − y_min)/(y_max − y_min) × 2ⁿ) cole = floor((xe − x_min)/(x_max − x_min) × 2ⁿ) quadkeye = CalculateQuadkey(rowe, cole, n) // Store full-partition codes and attributes of the endpoints of this trajectory segment EncodedPoints.append((quadkeys, quadkeye, Aij)) Return EncodedPoints // Auxiliary Function: Calculate full-partition quadtree code according to Equation (1) Function CalculateQuadkey(row, col, n): quadkey = 0 For k from 1 to n (level = n): bit_row = Extract the (n − k + 1)-th binary digit of integer row // bit(i, x) operation bit_col = Extract the (n − k + 1)-th binary digit of integer col quad_digit = 2 * bit_row + bit_col // Calculate the quadtree digit of the current level quadkey = quadkey + quad_digit × 10(k−1) // Accumulate to generate decimal code Return quadkey // Step 2: Node Matching and Mapping (map full-partition codes to adaptive quadtree codes) Function NodeMatchingMapping(EncodedPoints, AQT): AdaptiveEncodedPairs = [] // Store adaptive code pairs (OD pairs) of trajectory segment endpoints For each (quadkeys, quadkeye, A) in EncodedPoints: // Map full-partition code quadkeys of the start point to adaptive code c_adaps = Match(AQT, quadkeys) // Map full-partition code quadkeye of the end point to adaptive code c_adape = Match(AQT, quadkeye) // Store adaptive OD pairs and ship attributes AdaptiveEncodedPairs.append((c_adaps, c_adape, A)) Return AdaptiveEncodedPairs // Auxiliary Function: Match full-partition code qk in adaptive quadtree AQT and return adaptive code Function Match(AQT, qk): If qk is in the leaf node codes of AQT: Return qk // Directly match and return the code Else: qk_parent = Obtain the parent node code of qk (move up one level in the full-partition quadtree) Return Match(AQT, qk_parent) // Recursively match upwards until an existing node is found // Step 3: Generate Encoded Pairs and Clustering (generate effective connections based on spatial proximity and attribute fusion) Function EncodedPairClustering(AdaptiveEncodedPairs): ConnectionCount = {} // Count the clustering frequency of OD pairs (key: OD pair, value: frequency) // Step 3.1: Spatial Proximity Calculation (classify identical OD pairs into one category) For each (cs, ce, A) in AdaptiveEncodedPairs: od_pair = (cs, ce) If od_pair not in ConnectionCount: ConnectionCount[od_pair] = { “count”: 1, “attributes”: [A] // Store all ship attributes corresponding to this OD pair } Else: ConnectionCount[od_pair][“count”] += 1 ConnectionCount[od_pair][“attributes”].append(A) // Step 3.2: Attribute Information Fusion (filter OD pairs with excessive attribute differences to enhance semantic consistency) ValidConnections = [] For od_pair, data in ConnectionCount.items(): attrs = data[“attributes”] // Calculate attribute similarity (taking speed and heading as examples; ship types must be consistent) type_consistent = Whether all ship types in attrs are consistent speed_similar = Whether the standard deviation of speeds in attrs is less than the set threshold σ_speed course_similar = Whether the standard deviation of headings in attrs is less than the set threshold σ_course If type_consistent and speed_similar and course_similar: // Meet attribute consistency, retain this connection, and the weight is the clustering frequency ValidConnections.append((od_pair[0], od_pair[1], data[“count”])) // Step 3.3: Construct Route Network V = All adaptive code nodes involved in ValidConnections (deduplicated) E = All ValidConnections (including weights) G = (V, E) Return G // Main Process: Call the above functions to complete route network construction Main: 1. Call TrajectoryPointEncoding to generate the set of full-partition codes for endpoints 2. Call NodeMatchingMapping to generate the set of adaptive OD pairs 3. Call EncodedPairClustering to generate route network G 4. Output route network G |
- (1)
- Trajectory Point Encoding Conversion:
- (2)
- Node Matching and Mapping
- (3)
- Generating Encoded Pairs and Clustering
3. Dynamic Update of Route Network Weights Integrating Marine Environmental Factors
3.1. Marine Environmental Fields Affecting Ship Navigation
3.1.1. Static Environmental Fields
- (1)
- Artificial Hazards: These are specially designated areas, such as no-navigation zones, shipwreck areas, and aquaculture zones. These regions are typically established based on specific navigation rules or safety considerations.
- (2)
- Point Obstacles: These include individual hazards, such as submerged rocks, unexploded ordnance, and shipwrecks. These point-like obstacles are dispersed independently and pose significant threats to navigation safety. Through nautical chart data, it is possible to obtain and interpret information about these obstacles [27], thereby effectively extracting key elements of navigational hazards. To ensure the reliability of static obstacle information and the safety of subsequent route planning, this paper adopts a buffer zone design for the three types of obstacles (shallow water hazards, artificial obstacles, and point obstacles)—specifically, a safety range is demarcated outward from the boundary of each obstacle. Among these, the buffer zone for artificial obstacles (e.g., no-navigation zones, aquaculture zones) corresponds to a 1-nautical-mile safe distance, which aligns with the obstacle avoidance standards recommended in the textbook Route Design [28]. This design can effectively reduce route risks and support the validity of the proposed method.
3.1.2. Dynamic Environmental Fields
- (1)
- Significant Wave Height (SWH): Also known as the significant wave amplitude, it refers to the average of the highest one-third of wave heights observed, used to describe the overall sea state.
- (2)
- Mean Wave Direction: This indicates the average direction of wave propagation and has a significant impact on the vessel’s heading choice and stability.
- (3)
- Wave Peak Period: This refers to the time interval between two consecutive wave peaks and has a notable effect on the vessel’s pitching and rolling characteristics.
3.2. Ship Motion Model
3.2.1. Stall Model for Ships Navigating in Waves
3.2.2. Safety Limitations for Ships Navigating in Waves
- (1)
- Parametric Rolling
- (2)
- Maximum Wave Height Limit
3.3. Dynamic Update of Time Weights in the Route Network
- (1)
- Marine Environment Data Acquisition
- (2)
- Stall Analysis for Ship Navigation in Wind and Waves
- (3)
- Segmented Solution for Route Weight Calculation
4. Optimal Time Weather Route Generation Based on an Improved Time-Variant A* Algorithm
- (1)
- Dynamic Time Cost Calculation
- (2)
- Real-Time Route Optimization with the Time-Variant A* Algorithm
5. Case Study
5.1. Background
5.2. Case 1: Ship Ocean Route Planning in Meteorological Conditions
5.3. Case 2: Ship Coastal Navigation in Meteorological Route Planning
5.4. Case 3: Comparative Experiments on Multi-Group Meteorological Route Planning
6. Conclusions
- (1)
- The proposed method significantly improves the safety of weather routing in coastal and island-rich waters. Experimental results show that the weather routes planned using the proposed method do not intersect with any restricted areas, whereas the comparative methods frequently intersect with small islands and reefs.
- (2)
- The proposed method effectively optimizes computational efficiency. Experimental results demonstrate that, compared to existing methods, the proposed method improves computational efficiency by at least three times in terms of high-precision route planning speed.
- (3)
- The proposed method makes full use of meteorological factors, enabling the effective planning of navigable, safe, and time-efficient routes for coastal and island-rich waters. Experimental results show that the routes planned with this method are shorter in terms of both route length and sailing time.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
AI | Artificial Intelligence |
AIS | Automatic Identification System |
ECMWF | European Centre for Medium-Range Weather Forecasts |
IMO | the International Maritime Organization |
OD | Origin-Destination |
SWH | Significant Wave Height |
References
- Huang, X.L.; Xu, J.; Jin, Z.Y.; Bao, R.J.; Zhu, J.G. Research Progress on Global Ocean Meteorological Navigation Services and Technologies. Adv. Meteorol. Sci. Technol. 2024, 14, 30–39. [Google Scholar]
- Hagiwara, H. Weather Routing of (Sail-Assisted) Motor Vessels. Master’s Thesis, Technische Universiteit Delft, Delft, The Netherlands, 1989. [Google Scholar]
- Klompstra, M.; Olsder, G.; Van Brunschot, P. The Isopone Method in Optimal Control. Dyn. Control 1992, 2, 281301. [Google Scholar] [CrossRef]
- Szlapczynska, J. Multiobjective Approach to Weather Routing. TransNav Int. J. Mar. Navig. Saf. Sea Transp. 2007, 1, 273278. [Google Scholar]
- Szlapczynska, J.; Smierzchalski, R. Adopted Isochrone Method Improving Ship Safety in Weather Routing with Evolutionary Approach. Int. J. Reliab. Qual. Saf. Eng. 2007, 14, 635645. [Google Scholar] [CrossRef]
- Roh, M.I. Determination of an Economical Shipping Route Considering the Effects of Sea State for Lower Fuel Consumption. Int. J. Nav. Archit. Ocean Eng. 2013, 5, 246262. [Google Scholar] [CrossRef]
- Lin, Y.H.; Fang, M.C.; Yeung, R.W. The Optimization of Ship Weather-Routing Algorithm Based on the Composite Influence of Multi-Dynamic Elements. Appl. Ocean Res. 2013, 43, 184194. [Google Scholar] [CrossRef]
- Mannarini, G.; Pinardi, N.; Coppini, G.; Oddo, P.; Iafrati, A. VISIRI: Small Vessels—Least-Time Nautical Routes Using Wave Forecasts. Geosci. Model Dev. 2016, 9, 15971625. [Google Scholar] [CrossRef]
- Wang, K.; Yan, X.; Yuan, Y.; Li, F. RealTime Optimization of Ship Energy Efficiency Based on the Prediction Technology of Working Condition. Transp. Res. Part D Transp. Environ. 2016, 46, 8193. [Google Scholar] [CrossRef]
- Mao, W.; Rychlik, I.; Wallin, J.; Storhaug, G. Statistical Models for the Speed Prediction of a Container Ship. Ocean Eng. 2016, 126, 152162. [Google Scholar] [CrossRef]
- Gkerekos, C.; Lazakis, I. A Novel, Data-Driven Heuristic Framework for Vessel Weather Routing. Ocean Eng. 2020, 197, 106887. [Google Scholar] [CrossRef]
- Yan, Z.; Yang, G.; He, R.; Shi, K.; Yang, H. Reconstructing trajectories and extracting shipping routes between ports based on AIS data. Appl. Ocean Res. 2025, 161, 104709. [Google Scholar] [CrossRef]
- Vitali, N.; PrpićOršić, J.; Guedes Soares, C. Coupling voyage and weather data to estimate speed loss of container ships in realistic conditions. Ocean Eng. 2020, 210, 106758. [Google Scholar] [CrossRef]
- Yim, J.; Kim, W.H.; Cho, S.J.; Kim, C.W.; Park, J.Y. Investigating maritime traffic routes: Integrating AIS data and topographic statistics. Marit. Policy Manag. 2024, 52, 590608. [Google Scholar] [CrossRef]
- Liu, L.; Shibasaki, R.; Zhang, Y.; Kosuge, N.; Zhang, M.; Hu, Y. Datadriven framework for extracting global maritime shipping networks by machine learning. Ocean Eng. 2023, 269, 113494. [Google Scholar] [CrossRef]
- Lee, H.T.; Yang, H. Ship Route Prediction Based on a Long Short-Term Memory Network Using Port-to-Port Trajectory Data. J. Mar. Sci. Eng. 2024, 12, 2241. [Google Scholar] [CrossRef]
- Zhang, D.; Zhang, Y.; Zhang, C. Data mining approach for automatic ship-route design for coastal seas using AIS trajectory clustering analysis. Ocean Eng. 2021, 236, 109535. [Google Scholar] [CrossRef]
- Padhy, C.P.; Sen, D.; Bhaskaran, P.K. Application of Wave Model for Weather Routing of Ships in the North Indian Ocean. Nat. Hazards 2008, 44, 373385. [Google Scholar] [CrossRef]
- Park, J.; Kim, N. Two-Phase Approach to Optimal Weather Routing Using Geometric Programming. J. Mar. Sci. Technol. 2015, 20, 679688. [Google Scholar] [CrossRef]
- Kurosawa, K.; Uchiyama, Y.; Kosako, T. Development of a numerical marine weather routing system for coastal and marginal seas using regional oceanic and atmospheric simulations. Ocean Eng. 2020, 195, 106706. [Google Scholar] [CrossRef]
- Bentin, M.; Zastrau, D.; Schlaak, M.; Freye, D.; Elsner, R.; Kotzur, S. A New Routing Optimization Tool—Influence of Wind and Waves on Fuel Consumption of Ships with and without Wind-Assisted Ship Propulsion Systems. Transp. Res. Proc. 2016, 14, 153162. [Google Scholar] [CrossRef]
- Mannarini, G.; Carelli, L. VISIRI.b: Waves and Ocean Currents for Energy Efficient Navigation. Geosci. Model Dev. Discuss. 2019, 12, 3449–3480. [Google Scholar] [CrossRef]
- Grifoll, M.; Borén, C.; CastellsSanabra, M. A Comprehensive Ship Weather Routing System Using CMEMS Products and A Algorithm. Ocean Eng. 2022, 255, 111427. [Google Scholar] [CrossRef]
- Zhou, Y.F.; Zhang, L.H.; Jia, S.D.; Dai, Z.Y.; Dong, J. A method for mining empirical route networks adaptable to complex geographical maritime areas. Mar. Geod. 2025, 1–25. [Google Scholar] [CrossRef]
- Zhang, L.; Zhou, Y.; Tang, L.; Jia, S.; Dai, Z. A self-adaptive compression method for ship trajectories without threshold setting. J. Mar. Sci. Eng. 2024, 12, 980. [Google Scholar] [CrossRef]
- Liu, X.; Zhang, L.; Dai, Z.; Chen, Q.; Zhou, Y. A Parameter-Free Method for Denoising ICESat2 Point Clouds in Strong Noise Backgrounds. J. Photonics 2022, 51, 354364. [Google Scholar]
- Zhou, Y.; Zhang, L.; Jia, S.; Dai, Z.; Dong, J.; Ma, M. Autonomous Navigation Route Planning Method of Unmanned Ship Based on Bessel Curves Constrained by Maximum Navigable Window Sequence. Geomat. Inf. Sci. Wuhan Univ. 2024, 49, 12241236. [Google Scholar]
- Liu, J.; Zhang, W. Route Design; Dalian Maritime University Press: Dalian, China, 2022. [Google Scholar]
- European Centre for Medium-Range Weather Forecasts (ECMWF). IFS Documentation CY46R1 Part VII: ECMWF Wave Model. 2019. Available online: https://www.ecmwf.int (accessed on 24 December 2024).
- Lubkovsky, V. Determination of Wind-Wave Speed Loss of Vessels for Mixed Type Navigation with Measurement of Wave Parameters by Means of Orthogonally-Linear Wave Meters; Institute of Computational Technologies of the Siberian Branch of the Russian Academy of Sciences (ICT SB RAS): Novosibirsk, Russia, 2009. [Google Scholar]
- International Maritime Organization. Revised Guidance to the Master for Avoiding Dangerous Situations in Adverse Weather and Sea Conditions (IMO Circular MSC.1/Circ. 1228). 2007. Available online: https://wwwcdn.imo.org/localresources/en/OurWork/Safety/Documents/Stability/MSC.1-CIRC.1228.pdf (accessed on 14 September 2025).
Method | Navigation Time (s) | Route Length (nm) | Number of Intersections with Restricted Area | Computation Time (s) |
---|---|---|---|---|
SIMROUTE (0.5°) | 185,040.6 | 891.64 | 12 | 20.3 |
SIMROUTE (0.1°) | 185,586.2 | 897.61 | 8 | 528.89 |
Proposed Method | 175,987.6 | 845.15 | 0 | 35.7 |
Method | Navigation Time (s) | Route Length (nm) | Number of Intersections with Restricted Area | Computation Time (s) |
---|---|---|---|---|
SIMROUTE (0.5°) | 148,913.2 | 730.37 | 7 | 10.6 |
SIMROUTE (0.1°) | 147,467.6 | 729.45 | 6 | 140.34 |
Proposed Method | 144,976.9 | 710.21 | 0 | 39.29 |
Experiment No. | Start Longitude (°) | Start Latitude (°) | End Longitude (°) | End Latitude (°) |
---|---|---|---|---|
1 | 138.0 | 38.0 | 122.5 | 31.0 |
2 | 125.5 | 35.0 | 123.5 | 30.0 |
3 | 124.0 | 38.5 | 121.6 | 37.6 |
4 | 121.76 | 30.43 | 123.8 | 29.8 |
5 | 122.4 | 28.26 | 112.2 | 20.3 |
Experiment No. | Method | Navigation Time (s) | Route Length (nm) | Number of Intersections with Restricted Area | Computation Time (s) |
---|---|---|---|---|---|
1 | SIMROUTE (0.5°) | 194,124.33 | 954.49 | 9 | 10.89 |
SIMROUTE (0.1°) | 194,069.78 | 954.92 | 5 | 286.94 | |
Proposed Method | 188,192.70 | 923.25 | 0 | 48.24 | |
2 | SIMROUTE (0.5°) | 68,496.52 | 335.50 | 1 | 2.16 |
SIMROUTE (0.1°) | 68,456.76 | 335.63 | 1 | 48.97 | |
Proposed Method | 68,217.36 | 339.28 | 0 | 9.97 | |
3 | SIMROUTE (0.5°) | 31,508.52 | 156.81 | 3 | 0.89 |
SIMROUTE (0.1°) | 27,991.91 | 139.42 | 2 | 10.82 | |
Proposed Method | 27,765.79 | 138.22 | 0 | 1.07 | |
4 | SIMROUTE (0.5°) | 30,492.63 | 148.68 | 5 | 0.66 |
SIMROUTE (0.1°) | 30,384.72 | 230.21 | 2 | 67.32 | |
Proposed Method | 23,636.13 | 115.42 | 0 | 16.78 | |
5 | SIMROUTE (0.5°) | 167,865.08 | 836.51 | 14 | 6.08 |
SIMROUTE (0.1°) | 157,774.46 | 786.97 | 9 | 112.93 | |
Proposed Method | 149,973.57 | 748.10 | 0 | 14.37 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhou, Y.; Zhang, L.; Jia, S.; Dai, Z. Efficient Weather Routing Method in Coastal and Island-Rich Waters Guided by Ship Trajectory Big Data. J. Mar. Sci. Eng. 2025, 13, 1801. https://doi.org/10.3390/jmse13091801
Zhou Y, Zhang L, Jia S, Dai Z. Efficient Weather Routing Method in Coastal and Island-Rich Waters Guided by Ship Trajectory Big Data. Journal of Marine Science and Engineering. 2025; 13(9):1801. https://doi.org/10.3390/jmse13091801
Chicago/Turabian StyleZhou, Yinfei, Lihua Zhang, Shuaidong Jia, and Zeyuan Dai. 2025. "Efficient Weather Routing Method in Coastal and Island-Rich Waters Guided by Ship Trajectory Big Data" Journal of Marine Science and Engineering 13, no. 9: 1801. https://doi.org/10.3390/jmse13091801
APA StyleZhou, Y., Zhang, L., Jia, S., & Dai, Z. (2025). Efficient Weather Routing Method in Coastal and Island-Rich Waters Guided by Ship Trajectory Big Data. Journal of Marine Science and Engineering, 13(9), 1801. https://doi.org/10.3390/jmse13091801