dojo.require("esri.layers.RasterDataSource")
Description
(Added at v2.7)
The RasterDataSource class defines and provides information about a file-based raster that resides in a registered raster workspace.
Requires ArcGIS Server 10.1 or greater
See also
Samples
Search for
samples that use this class.
Class hierarchy
esri/layers.DataSource
|_esri/layers.RasterDataSource
Constructors
Properties
Methods
toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Constructor Details
Creates a new RasterDataSource object.
Parameters:
<Object > json |
Optional |
JSON object representing the RasterDataSource. |
Sample:
var dataSource = new esri.layers.RasterDataSource();
Property Details
The name of a raster that resides in the registered workspace.
Sample:
dataSource.dataSourceName = "sde.SDE.usacatalog"
The workspace id for the registered raster workspace.
Sample:
dataSource.workspaceId = "d203_db";
Method Details
Converts object to its ArcGIS Server JSON representation.