SpatialXmlWriteOptions interface
Options that are used to customize how to write XML.
- Extends
Properties
indent |
The characters to use to create an indent in the XML data.
Default: |
new |
The characters to use to create a new line in the XML data.
Default: |
pretty |
A boolean indicating if the generated XML should be use new lines and indents
to make the generated nicely formatted.
Default: |
round |
A boolean indicating if Position and BoundingBox values should be rounded off to 6 decimals.
Default: |
write |
Specifies if ID values should be written. Default: false |
Inherited Properties
format | The spatial data format to write the shapes to.
Default: |
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