CARIS HPD : CARIS® Batch : HPD® Processes : PaperChartBuilder License : Export Chart to BSB
 

Export Chart to BSB

The ExportChartToBSB process exports a chart to a BSB file.

The chart must contain BSB-specific features and attributes before export.

Input

HPD URI containing a Chart Version ID or a path of a standalone chart.

Output

The path of the folder for the exported BSB chart (*.BSB, *.KAP).

Command Line Syntax

carisbatch --run ExportChartToBSB [options] <input> <output>

Options

Long

Short

Description

Can Repeat

Notes

--raster-edition

-e

The edition number to be stored in the RE fields of the BSB chart header.

The default is 1.

FALSE

Optional

--rgb-palette-file

-P

The path to the file that lists the RGB colour definitions for the BSB image.

The default is ~/system/PCEConfig/ BSBConfig/rgb_pal.xml.

FALSE

Optional

--dpi

-D

The resolution (dots per inch) for the BSB image.

The default is 254,

FALSE

Optional

--use-all-colours

-C

If set, all colour definitions in the BSB palette file will be included in the BSB image file header.

Otherwise, the BSB image file header will include colour definitions only for the colours used in the image.

FALSE

Optional

--remove-special­characters

-S

If set, accents and extended ASCII characters are omitted from the chart and from panel titles that are stored in the NA fields of the BSB chart header.

Otherwise, accents and extended ASCII characters will be included.

FALSE

Optional

Example

Example

Objective

Export a database chart to a BSB chart.

Description

Command Line Syntax

The RGB palette file is set to the default RGB PAL file.

"C:\Program Files\CARIS\HPD\<version>\system\PCEConfig\BSBConfig\rgb_pal.xml"

Chart 1 will be exported to an BSB chart.

hpd://username:password@database?chartversionid=1

Command Line

carisbatch --run ExportChartToBSB --raster-edition 1 --rgb­palette-file "C:\Program Files\CARIS\HPD\<version>\system\PCEConfig\BSBConfig\rgb_pal.xml" ­-dpi 254 --use-all-colours --remove-special-characters hpd://username:password@database?chartversionid=1 "D:\Temp"