new SuperMap.DatasetInfo(options)
A dataset is a collection of related data stored together. According to the types of data, there are vector dataset, raster dataset, and the dataset designed for specific problems, such as topology dataset, network dataset etc. A vector dataset is a collection of related data stored together. The vector dataset is a collection of spatial features with the same type, and it is also called a feature set. For different features may have different spatial representations, the vector dataset includes point dataset, line dataset, region dataset and so on, and the features with the same spatial representation and function will be organized together. This version supports point dataset, line dataset, region dataset, text dataset, CAD dataset, network dataset, grid dataset, and image dataset.
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The optional parameters.
|
Members
-
boundsSuperMap.Bounds
-
Dataset bounds. Read-only.
-
dataSourceNamestring
-
Datasource name. Read-only.
-
descriptionstring
-
Dataset description.
-
encodeTypestring
-
The compact encoding approach. Read-only.
-
isReadOnlyboolean
-
The dataset is readonly.
-
namestring
-
Datasource name. Required and read-only.
-
prjCoordSysSuperMap.Projection
-
Projection information of the dataset.
-
tableNamestring
-
Table name. Readonly.
-
typestring
-
String type. Required. They are point dataset, line dataset, region dataset, text dataset, CAD dataset, network dataset, grid dataset, and image dataset.
Methods
-
destroy()
DatasetInfo.js, line 96 -
Disposes the resource. The property that references resource is set to null.
-
toServerJSONObject(){Object}
DatasetInfo.js, line 104 -
Transform to the JSON object.
Returns:
Type Description Object JSON object.