SpatialXmlWriteOptions interface

Options that are used to customize how to write XML.

Extends

Properties

indentChars

The characters to use to create an indent in the XML data. Default: "\t"

newLineChars

The characters to use to create a new line in the XML data. Default: "\r\n"

prettyPrint

A boolean indicating if the generated XML should be use new lines and indents to make the generated nicely formatted. Default: true

roundPositions

A boolean indicating if Position and BoundingBox values should be rounded off to 6 decimals. Default: false

writeIds

Specifies if ID values should be written. Default: false

Inherited Properties

format

The spatial data format to write the shapes to. Default: "GeoJSON"

Property Details

indentChars

The characters to use to create an indent in the XML data. Default: "\t"

indentChars?: string

Property Value

string

newLineChars

The characters to use to create a new line in the XML data. Default: "\r\n"

newLineChars?: string

Property Value

string

prettyPrint

A boolean indicating if the generated XML should be use new lines and indents to make the generated nicely formatted. Default: true

prettyPrint?: boolean

Property Value

boolean

roundPositions

A boolean indicating if Position and BoundingBox values should be rounded off to 6 decimals. Default: false

roundPositions?: boolean

Property Value

boolean

writeIds

Specifies if ID values should be written. Default: false

writeIds?: boolean

Property Value

boolean

Inherited Property Details

format

The spatial data format to write the shapes to. Default: "GeoJSON"

format?: "KML" | "GPX" | "GeoRSS" | "GML" | "GeoJSON" | "CSV"

Property Value

"KML" | "GPX" | "GeoRSS" | "GML" | "GeoJSON" | "CSV"

Inherited From SpatialDataWriteOptions.format