new mapboxgl.supermap.SpatialAnalystService(url, options)
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new mapboxgl.supermap.SpatialAnalystService(url)
.bufferAnalysis(params,function(result){
//doSomething
})
Extends
Events
-
inherited initialized
ServiceBase.js, line 23 -
Triggered after the constructor construct succeeds.
Properties:
Name Type Description thisObject This object.
Methods
-
bufferAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 70 -
Buffer analysis service.
Name Type Default Description paramsmapboxgl.supermapDatasetBufferAnalystParameters The DatasetBufferAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
densityAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 93 -
Density analysis service.
Name Type Default Description paramsmapboxgl.supermapDensityKernelAnalystParameters The DensityKernelAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
generateSpatialData(params, callback, resultFormat)
SpatialAnalystService.js, line 116 -
Generate spatial data service.
Name Type Default Description paramsmapboxgl.supermapGenerateSpatialDataParameters The GenerateSpatialDataParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
geoRelationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 139 -
Geo relation analysis service.
Name Type Default Description paramsmapboxgl.supermapGeoRelationAnalystParameters The GeoRelationAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
getAreaSolarRadiationResult(params, callback, resultFormat)
SpatialAnalystService.js, line 47 -
Regional solar radiation analysis service.
Name Type Default Description paramsmapboxgl.supermapmapboxgl The AreaSolarRadiationParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
interpolationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 162 -
The Interpolation analysis service.
Name Type Default Description paramsmapboxgl.supermapInterpolationRBFAnalystParameters The InterpolationRBFAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
mathExpressionAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 185 -
Raster algebraic calculation service.
Name Type Default Description paramsmapboxgl.supermapMathExpressionAnalysisParameters The MathExpressionAnalysisParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
overlayAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 208 -
Overlay analysis.
Name Type Default Description paramsmapboxgl.supermapDatasetOverlayAnalystParameters | mapboxgl.supermapGeometryOverlayAnalystParameters The DatasetOverlayAnalystParameters class.Support batch geometry overlay analysis.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
routeCalculateMeasure(params, callback, resultFormat)
SpatialAnalystService.js, line 231 -
Route measurement calculation service.
Name Type Default Description paramsmapboxgl.supermapRouteCalculateMeasureParameters The RouteCalculateMeasureParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
routeLocate(params, callback, resultFormat)
SpatialAnalystService.js, line 254 -
Route location calculation service.
Name Type Default Description paramsmapboxgl.supermapRouteLocatorParameters The RouteLocatorParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
surfaceAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 277 -
Surface Analysis service.
Name Type Default Description paramsmapboxgl.supermapSurfaceAnalystParameters The DatasetSurfaceAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
terrainCurvatureCalculate(params, callback, resultFormat)
SpatialAnalystService.js, line 300 -
Terrain curvature calculation service.
Name Type Default Description paramsmapboxgl.supermapTerrainCurvatureCalculationParameters The TerrainCurvatureCalculationParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.
-
thiessenAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 323 -
Thiessen analysis service.
Name Type Default Description paramsmapboxgl.supermapDatasetThiessenAnalystParameters The DatasetThiessenAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatmapboxgl.supermapDataFormat mapboxgl.supermapDataFormat.GEOJSON optional The format of result data.