D4.2 Documentation of the operable framework (BalticWeb)

Size: px
Start display at page:

Download "D4.2 Documentation of the operable framework (BalticWeb)"

Transcription

1 D4.2 Documentation of the operable framework (BalticWeb) Project no Project acronym: EfficienSea2 EFFICIENSEA2 efficient, safe and sustainable traffic at sea Funding scheme: Innovation Action (IA) Start date of project: 1 May 2015 End date of project: 30 April 2018 Duration: 36 months Due date of deliverable: Actual submission date: Organisation in charge of deliverable: DMA, partner 1

2 Document Status Authors Name Anderas Borchsenius Westh Organisation Lund&Bendsen Document History Version Date Initials Description /10/2017 ABW Initial document setup Review Name Henrik Skovmark Organisation DMA Page 2 of 25

3 Contents Document Status... 2 Authors... 2 Document History... 2 Review... 2 Contents BalticWeb Purpose of BalticWeb Available services Cookies and Local storage Simulated Route planning, optimization and exchange service OpenSeaMap.org overlay Sea Traffic - Live Vessel position and information (AIS) No-Go area service Satellite imagery service from NASA Nautical Charts METOC forecasts from DMI Software Architecture Prerequisites Page 3 of 25

4 1 BalticWeb BalticWeb is a maritime map-centric portal. BalticWeb is a prototype. The site aggregates relevant maritime data and information and allow access for users and services by utilizing the Maritime Cloud. The live system is available at and the latest development version Purpose of BalticWeb BalticWeb aims to serve the mariner in these ways: Assist in planning a sea voyage Navigational aid on a sea voyage Monitoring of maritime traffic As a secondary objective BalticWeb is a showcase for the services registered in the Maritime Connectivity Platform; The Service Register. Page 4 of 25

5 2 Available services Services available for all users (as of October 2017): Notices to Mariners and Navigational Warnings Simulated Route planning, optimization and exchange service OpenSeaMap.org overlay Services requiring a Maritime Connectivity Platform ID: Sea Traffic - Live Vessel position and information (AIS) No-Go area service Satellite imagery service from NASA Nautical Charts from the Swedish Maritime Administration and the Danish Geodata Agency METOC forecasts from DMI BalticWeb uses the Maritime Connectivity Platform (MCP) in order to identify and retrieve relevant web services and identify users. BalticWeb has been developed as part of the EUfunded EfficenSea2 Project. 2.1 Cookies and Local storage BalticWeb stores some information in the client's browser both in the local storage and with cookies i.e. the position and zoom level of the map for a smoother user experience. Each visit is tracked via Google Analytics to gather usage metrics of the site in order to continuously improve the user experience. Cookies are used at login as well. Page 5 of 25

6 2.2 Notices to Mariners and Navigational Warnings Figure 1: The NW and NM around the island of Bornholm All end users are able to retrieve notices to mariners and navigational warnings from DMA via the web services registered in Niord the Nautical Information Directory. Notice that only the notifications and notices relevant within the actual visual area are shown. As the user pans around on the map new messages for that area are retrieved. Page 6 of 25

7 Figure 1. The area used for a firing exercise around the island Bornholm. The figure illustrates the more detailed information for a navigationel Warning available in Baltic Web. Page 7 of 25

8 More detailed information for a single notice or notification can be retrieved by highlighting the icon on the map or in the left sidebar list. Figure 1: Example of a more detailed information for a navigationel warning 2.3 Simulated Route planning, optimization and exchange service On the page it is possible to simulate route exchange and optimization. Meaning that the mariner can upload a route in RTZ-format and watch the route on the map. The route is animated on the web page to indicate the direction. For illustrative purposes the mariner can choose to get an optimized version of the uploaded route. At the moment BalticWeb does not integrate with a live external route optimization service, but it can easily be implemented as soon as an external route optimization is available. An optimized route should perform the optimization with respect to these factors, origin and destination water resistance Page 8 of 25

9 fuel consumption draught of the ship shallow waters The mariner can choose to Use my route which will display the route on the main page, thus allowing the pre-planned route to be used as an overlay in combination with other services i.e. the no-go area service or notices to mariners or a relevant nautical chart to improve safety at sea via planning with the most recent information available. Page 9 of 25

10 Figure 2: Simulated route planning 2.4 OpenSeaMap.org overlay All users can activate the OpenSeaMap overlay. OpenSeaMap is a software project collecting freely usable nautical information and geospatial data to create a worldwide nautical chart. OpenSeaMap is added for the mariners to be used in the planning phase and potential as a navigational aid. It can easily be combined with another service i.e. AIS information or a pre-planned route. See the picture below. Page 10 of 25

11 Illustration 3: Overlay from OpenSeaMap.org combined with AIS data Figure 4. Overlay from OpenSeaMap.org combined with AIS data 2.5 Sea Traffic - Live Vessel position and information (AIS) For the logged in user it is possible to get live vessel positions in the Baltic Sea. The Automatic identification system tracks ships and is used both on ship and by vessel traffic service centers (VTS). The information is retrieved by a web service made available by the Danish Maritime Authority. The number of ships in the Baltic Sea is very high in the peak seasons so a less detailed view is rendered when the user is zoomed out to specific zoom level. This is done to ease rendering and preserve bandwidth. Page 11 of 25

12 Illustration 5: AIS information on map displaying a number of vessels position in real time All ships Services requiring a Maritime Cloud ID: Only the ships within the displayed area are retrieved and displayed on the map. If the map is panned to a new area of interest the AIS information is retrieved for that specific area. All vessels are drawn on the map and can be highlighted for more information MMSI Radio call sign Type of vessel Latitude and longitude position in degrees Course over ground A dedicated page for a vessel with the latest AIS information can be found. Here the full information from the AIS messages can be found. These extra informations can be found. Country Dimensions Page 12 of 25

13 Type of AIS transponder When the last position was received (delay) Navigational status Destination Estimated time of arrival Speed over ground Draught Illustration 6: More detailed AIS information for a specific vessel Page 13 of 25

14 Illustration 7: The AIS information for a Wind supporting vessel in combination with the OpenSeaMap overlay 2.6 No-Go area service The No-Go area service is assessing Under Keel Clearance. Page 14 of 25

15 Illustration 8: a safety level of 7 meters is applied and all none safe areas are marked with red. The areas are calculated on the bsais of depth data, weather and tidal infor A new digital service will make it easier for mariners to assess how tidal level and weather affect their plans to pass through challenging passageways where shallow water poses a risk. Initially, for testing purposes, the service covers the Sound between Sweden and Denmark, but coverage can easily be expanded. Page 15 of 25

16 Illustration 9: safety level of 4 meters is applied. Motice that it is safe for a ship with that depth to sail through the canal as opposite tothe previous illustration When going through shallow passages all around the world, navigators have to manually determine the best time to sail through, taking such factors as tidal levels, weather impact and the vessel s under keel clearance into consideration. Soon, however, that is no longer the case. That is the result of a new digital service combining constantly updated tidal tables, weather reports and detailed bathymetry to show comfort zones and no-go areas for vessels with different draughts. The new service covers the Danish/Swedish waters surrounding the Sound and can easily be adjusted to include other parts of the Baltic Sea and potentially the world. The no-go service is excellent in combination with the pre-planned route. Page 16 of 25

17 2.7 Satellite imagery service from NASA For a logged in user it is possible to get the latest satellite imagery from NASA and use as an overlay in combination with other services. Illustration 10: image of the Baltic Sea 2.8 Nautical Charts For a logged in user it is possible to view nautical charts from both the Swedish Maritime Administration and the Danish Geodata Agency. Page 17 of 25

18 Figure 13: Halskov and Nyborg with Ais data as an overlay Page 18 of 25

19 Figure 11: Nautical chart from the Swedish maritime administration Page 19 of 25

20 Illustration 12: the Danish Geodata Agency Page 20 of 25

21 Illustration 13: Ålands Hav and Stockholm in detail Page 21 of 25

22 Illustration 14: Illustration 17: The Swedish and Danish nautical map combined. Notice the difference in the map syntax. Page 22 of 25

23 2.9 METOC forecasts from DMI The end users can retrieve the latest METOC forecast and watch the water current, wind, sea levels and density progress over time as an animation. Page 23 of 25

24 Page 24 of 25

25 3 Software Architecture The BalticWeb client is a rich client HTML/JS-application with a server side JSON webservice API. The server is a J2EE 6 application. On the client side we use: JavaScript/HTML OpenLayers 4 (for maps) Keycloak (for security) Twitter Bootstrap 3.3.7(for basic layout) AngularJS (for forms and similar) On the server side we use: Java 8 Maven (for building) EJB3.1/JPA(Hibernate) (for persistance) CDI/JSR330 (for dependency injection) Resteasy (for JSON-webservices) Keycloak and Shiro (for security) Apache CXF (for SOAP-webservices) JUnit (for unit-test) Mockito (for mocking) 3.1 Prerequisites Java JDK 1.8 Maven Wildfly 8.2 (Maven setup to deploy to Wildfly) MySQL (Maven configures JBoss datasource to use MySQL) Node.js for building and local development (Follow the installation instructions at Grunt.js for building and local development (Follow the installation instructions at CouchDB All documentation about the software architecture can be found on github. Page 25 of 25