SpatialCsvReadOptions interface
Options used for reading delimited files.
- Extends
Properties
delimiter | The delimiter character that separates the cells in a row of data.
If set to |
dynamic |
If no header information is specified, or the header does not contain type information.
Each cell value will be analyzed to determine if it is a number, boolean or date and parsed accordingly.
Default: |
header | Header information for each column in the delimited file. If not specified, the first row in the data will be used. |
Inherited Properties
max |
Specifies the maximum number of features to read from the data set. If not specified, will read all features. |
proxy |
A URL to a proxy service that can have a URL to an external file appended it. This will be needed to access files that are hosted on non-CORs enabled endpoints. |
Property Details
delimiter
The delimiter character that separates the cells in a row of data.
If set to "auto"
, the data will be analyzed and a suitable delimiter will be chosen from ","
"|"
, "\t"
.
Default: "auto"
delimiter?: string
Property Value
string
dynamicTyping
If no header information is specified, or the header does not contain type information.
Each cell value will be analyzed to determine if it is a number, boolean or date and parsed accordingly.
Default: false
dynamicTyping?: boolean
Property Value
boolean
header
Header information for each column in the delimited file. If not specified, the first row in the data will be used.
header?: CsvHeader
Property Value
Inherited Property Details
maxFeatures
Specifies the maximum number of features to read from the data set. If not specified, will read all features.
maxFeatures?: number
Property Value
number
Inherited From BaseSpatialDataReadOptions.maxFeatures
proxyService
A URL to a proxy service that can have a URL to an external file appended it. This will be needed to access files that are hosted on non-CORs enabled endpoints.
proxyService?: string
Property Value
string
Inherited From BaseSpatialDataReadOptions.proxyService