CARIS HPD Source Editor
Menu | Tools > Limits and Boundaries > Bay Closing Report |
Tool |
|
This command is only available if the Limits and Boundaries module is enabled. See Modules for further information |
This command is only available if the Limits and Boundaries module is enabled.
A bay closing line is a set of one or more lines that spans the opening of a bay. For Law of the Sea, a bay closing line is legal if it meets these criteria:
• The combined length of all lines is less than or equal to 24 nautical miles.
• The area of the bay is greater than or equal to the area of a semi-circle with a diameter that equals the combined length of all lines required to close the bay.
This command checks the legality of an existing bay area and generates two kinds of reports.
If you send the report to the output window, it contains the following information:
• The area of the bay
• The area of the semi-circle created from the bay closing line
• The length of the bay closing line
• The status of the length and area criteria (PASS or FAIL)
• The legality of the bay closing line (YES or NO)
• The start point, end point, length and azimuth of each segment of the bay closing line.
If you save the report as a file, the information is saved in three separate files:
• area: Comma-separated file named <name>_areas.csv.
• baseline: Comma-separated file named <name>_baselines.csv.
• datum: Text file named <name>_datum.txt. The <name> value is defined in the Name field.
These files are saved in ...\CARIS\HPD\4.0\Tools\Reports\ Bay_Closing.
Related commands:
• • • • | • • • • |
Interface

Option | Description |
|---|---|
Input | |
Name | A name for the report. This can be left blank if the report will not be saved to a file. |
Source | The layer that contains the bay closing areas. If one or more areas are selected, the report will be generated for the selected areas. If no areas are selected, the report will be generated for all areas on the layer. |
Bay Closing Feature | The feature acronym that was assigned to identify the bay closing line. The standard feature acronym is strbln, but you should check your data to find out what was used. Click browse (...) to select the feature acronym. |
Advanced Options | |
Report | Select from: • File: Three output files are produced. • Output Window: Results are reported in the output window. • Both: Both files and report are produced. |
Toolbar:
Icon | Description |
|---|---|
| Categorized. Display the properties in their categories. |
| Alphabetical. Display the properties in alphabetical order. |
| Quick print. Prints the current settings of the dialog box. Displays a Print dialog box. |
| Print Preview. Displays the current settings of the dialog box. |
Procedure
To generate a bay closing report:
1. [Optional] Select one or more bay areas.
2. Select the Bay Closing Report command.
The Bay Closing Report dialog box is displayedSet any required options.
3. Click OK.
A pass report in the output window should look like this:
====== Bay Closing Report start: Jul 9, 2010 9:54:39 AM ====== Bay Area: 537532470.87 Square Metres Semicircle Area: 59781287.73 Square Metres Bayline Length: 6.66 Int. Nautical Miles Length Criterion: PASS Area Criterion: PASS Legal: YES
Start Point: 48-27-14.95656N , 54-48-57.06792W End Point: 48-27-07.57224N , 54-44-04.10568W Length: 3.25 Int. Nautical Miles Azimuth: 92.139560498345 - Start Point: 48-27-37.61748N , 54-18-28.34208W End Point: 48-27-41.2956N , 54-17-00.09636W Length: 0.98 Int. Nautical Miles Azimuth: 86.4048838093175 - Start Point: 48-27-54.83448N , 54-15-56.01564W End Point: 48-26-24.80568N , 54-13-03.95436W Length: 2.43 Int. Nautical Miles Azimuth: 128.170031927769 - 1 areas of 1 processed. === Bay Closing Report end: Jul 9, 2010 9:54:39 AM (Elapsed Time: 00:00:00)==== |
A fail report should look like this:
====== Bay Closing Report - start: Sep 3, 2014 11:46:41 AM ======
Area 1C 0000047300 00001 fails Bay Closing test. Bay Area: 24864.31 Square Metres Semicircle Area: 116145.15 Square Metres Bayline Length: 543.84 Metres Length Criterion: PASS Area Criterion: FALSE Legal: NO
Start Point: "43-05-03.95232N","70-43-34.04784W" End Point: "43-05-03.98544N","70-43-34.10616W" Length: 302.89 Metres Azimuth: 249.092681679388 - Start Point: "43-05-06.0108N","70-43-46.02648W" End Point: "43-05-05.99316N","70-43-46.08984W" Length: 60.48 Metres Azimuth: 262.100975851962 - Start Point: "43-05-05.9064N","70-43-48.67464W" End Point: "43-05-05.89992N","70-43-48.78336W" Length: 180.47 Metres Azimuth: 301.39780750184 - 1 areas of 1 processed.
== Bay Closing Report - end: Sep 3, 2014 11:46:42 AM (Elapsed Time: 00:00:00)== |
You can click the hyperlink to display the failed bay area.
Report files look like this:
areas.csv
Bay Sequence #, Area (Square Metres), Semi-Circle Area (Square Metres), Total Baseline length (Int. Nautical Miles), Length criterion, Area criterion, Legal 1,537532470.87,59781287.73,6.66,PASS,PASS,YES |
baselines.csv
Bay sequence #, Baseline sequence #, begin Lat (n/s), begin Long (e/w), End lat (n/s), End Long (e/w), length (Int. Nautical Miles), azimuth 1,1,"48-27-14.95656N","54-48-57.06792W","48-27-07.57224N","54-44-04.10568W",3.25,92.1396 1,2,"48-27-37.61748N","54-18-28.34208W","48-27-41.2956N","54-17- 00.09636W",0.98,86.4049 1,3,"48-27-54.83448N","54-15-56.01564W","48-26-24.80568N","54-13- 03.95436W",2.43,128.17 |
Datum.txt
Coordinate System Information: Type: LLDG Units: Decimal Degrees Datum: WG84 (6,378,137.0000 6,356,752.3140) Datum Transform to WG84: 7 parameter: 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.000000000 |