new ol.supermap.SpatialAnalystService(url, options)
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new ol.supermap.SpatialAnalystService(url)
.bufferAnalysis(params,function(result){
//doSomething
})
Extends
Methods
-
bufferAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 68 -
Buffer analysis service.
Name Type Default Description params
SuperMap.DatasetBufferAnalystParameters The DatasetBufferAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
densityAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 91 -
Density analysis service.
Name Type Default Description params
SuperMap.DensityKernelAnalystParameters The DensityKernelAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
generateSpatialData(params, callback, resultFormat)
SpatialAnalystService.js, line 114 -
Generate spatial data service.
Name Type Default Description params
SuperMap.GenerateSpatialDataParameters The GenerateSpatialDataParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
geometrybatchAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 344 -
Batch space analysis service.
Name Type Default Description params
Array Batch analysis of parameter object arrays.
Name Type Description analystName
Array.<Object> The name of the spatial analysis method. include: "buffer","overlay","interpolationDensity","interpolationidw","interpolationRBF","interpolationKriging","isoregion","isoline"。
param
Object The request parameter corresponding to the spatial analysis type, include: {SuperMap.GeometryBufferAnalystParameters} Buffer analysis parameter class. {SuperMap.GeometryOverlayAnalystParameters} Overlay analysis parameter class. {SuperMap.InterpolationAnalystParameters} Interpolation analysis parameter class. {SuperMap.SurfaceAnalystParameters} Surface analysis parameter class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
geoRelationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 137 -
Geo relation analysis service.
Name Type Default Description params
SuperMap.GeoRelationAnalystParameters The GeoRelationAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
getAreaSolarRadiationResult(params, callback, resultFormat)
SpatialAnalystService.js, line 45 -
Regional solar radiation analysis service.
Name Type Default Description params
SuperMap.AreaSolarRadiationParameters The AreaSolarRadiationParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
interpolationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 160 -
The Interpolation analysis service.
Name Type Default Description params
SuperMap.InterpolationRBFAnalystParameters The InterpolationRBFAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
mathExpressionAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 183 -
Raster algebraic calculation service
Name Type Default Description params
SuperMap.MathExpressionAnalysisParameters The MathExpressionAnalysisParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
overlayAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 206 -
Overlay analysis service.
Name Type Default Description params
SuperMap.DatasetOverlayAnalystParameters | SuperMap.GeometryOverlayAnalystParameters The DatasetOverlayAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
routeCalculateMeasure(params, callback, resultFormat)
SpatialAnalystService.js, line 229 -
Route measurement calculation service
Name Type Default Description params
SuperMap.RouteCalculateMeasureParameters The RouteCalculateMeasureParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
routeLocate(params, callback, resultFormat)
SpatialAnalystService.js, line 252 -
Route location calculation service.
Name Type Default Description params
SuperMap.RouteLocatorParameters The RouteLocatorParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
surfaceAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 275 -
Surface Analysis service.
Name Type Default Description params
SuperMap.SurfaceAnalystParameters The DatasetSurfaceAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
terrainCurvatureCalculate(params, callback, resultFormat)
SpatialAnalystService.js, line 298 -
Terrain curvature calculation service.
Name Type Default Description params
SuperMap.TerrainCurvatureCalculationParameters The TerrainCurvatureCalculationParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.
-
thiessenAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 321 -
Thiessen analysis service.
Name Type Default Description params
SuperMap.DatasetThiessenAnalystParameters The DatasetThiessenAnalystParameters class.
callback
RequestCallback The callback of result data returned by the server side.
resultFormat
SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional The format of result data.