Writer Directives
The suffixes shown are prefixed by the current <WriterKeyword>
in a mapping file. By default, the <WriterKeyword>
for the OSM writer is OSM.
NUM_DEC_POINTS
This directive controls the number of decimal points that will be written in the OSM file for the lat/long coordinates of OSM points. If it is not specified, the default is 7 decimal points.
Required/Optional
Optional
Mapping File Syntax
OSM_NUM_DEC_POINTS 7
Workbench Parameter
Number of Decimal Points
WRITER_CHARSET
The character set encoding in which the OSM file will be written.
Values
UTF-8 | UTF-16 | UTF-16BE | UTF16-LE | UTF-32 | UTF-32BE | UTF-32LE
If no character set is specified, the OSM file will be written in the UTF-8 character set
Required/Optional
Optional
Mapping File Syntax
OSM_WRITER_CHARSET UTF-16
Workbench Parameter
Output Character Set
PRETTY_PRINT
This directive specifies whether the output XML document should be pretty-printed with indentation. The valid values for this directive are YES and NO. The default value is NO.
Required/Optional
Optional
Mapping File Syntax
OSM_PRETTY_PRINT YES
Workbench Parameter
Pretty Print
INDENT_SIZE
This directive takes effect when PRETTY_PRINT is set to YES. It specifies the indentation size. The valid values for this directive are the numbers 0 to 9. The default value for this directive is 1.
Required/Optional
Optional
Mapping File Syntax
OSM_INDENT_SIZE 3
Workbench Parameter
Indent Size
REPLACE_TABS_WITH_SPACES
By default the Tab character is used to pretty-print the indentations; set this directive to YES to substitute the Tab character with a Space. The size of a single indentation is controlled by the INDENT_SIZE directive. The valid values for this directive are YES and NO. The default value is NO.
Required/Optional
Optional
Mapping File Syntax
OSM_REPLACE_TABS_WITH_SPACES YES
Workbench Parameter
Replace Tabs with Spaces