L.supermap.spatialAnalystService(url, options)
This class provides: regional solar radiation analysis, buffer analysis service, density analysis, generate spatial data, geo relation analysis, interpolation analysis, raster algebraic calculation, overlay analysis, route measurement calculation, route location calculation, surface analysis, terrain curvature calculation, thiessen polygon analysis.
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
L.supermap.spatialAnalystService(url)
.bufferAnalysis(params,function(result){
//doSomething
})
Extends
Events
-
inherited destroy
ServiceBase.js, line 49 -
Triggered after the resource is successfully released.
Properties:
Name Type Description thisL.supermap.ServiceBase This object.
-
inherited initialized
ServiceBase.js, line 36 -
Triggered after the constructor is constructed successfully.
Properties:
Name Type Description thisL.supermap.ServiceBase This object.
Methods
-
bufferAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 71 -
Buffer analysis service.
Name Type Default Description paramsL.supermap.DatasetBufferAnalystParameters The DatasetBufferAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
densityAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 94 -
Density analysis service.
Name Type Default Description paramsL.supermap.DensityKernelAnalystParameters The DensityKernelAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
inherited destroy()
ServiceBase.js, line 44 -
Disposes the resource. The property that references resource is set to null.
-
generateSpatialData(params, callback, resultFormat)
SpatialAnalystService.js, line 117 -
Generate spatial data service.
Name Type Default Description paramsL.supermap.GenerateSpatialDataParameters The GenerateSpatialDataParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
geometrybatchAnalysis(params, param, callback, resultFormat)
SpatialAnalystService.js, line 347 -
Batch space analysis service.
Name Type Default Description paramsArray Batch analysis of parameter object arrays.
Name Type Description analystNamestring The name of the spatial analysis method. include: "buffer", "overlay", "interpolationDensity", "interpolationidw", "interpolationRBF", "interpolationKriging", "isoregion", "isoline".
paramObject The request parameter corresponding to the spatial analysis type, include: {L.supermap.GeometryBufferAnalystParameters} Buffer analysis parameter class. {L.supermap.GeometryOverlayAnalystParameters} Overlay analysis parameter class. {L.supermap.InterpolationAnalystParameters} Interpolation analysis parameter class. {L.supermap.SurfaceAnalystParameters} Surface analysis parameter class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
geoRelationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 140 -
Geo relation analysis service.
Name Type Default Description paramsL.supermap.GeoRelationAnalystParameters The GeoRelationAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
getAreaSolarRadiationResult(params, callback, resultFormat)
SpatialAnalystService.js, line 48 -
Regional solar radiation analysis service.
Name Type Default Description paramsL.supermap.AreaSolarRadiationParameters The AreaSolarRadiationParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
interpolationAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 163 -
The Interpolation analysis service.
Name Type Default Description paramsL.supermap.InterpolationRBFAnalystParameters The InterpolationRBFAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
mathExpressionAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 186 -
Raster algebraic calculation service.
Name Type Default Description paramsL.supermap.MathExpressionAnalysisParameters The MathExpressionAnalysisParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
overlayAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 209 -
Overlay analysis service.
Name Type Default Description paramsL.supermap.DatasetOverlayAnalystParameters | L.supermap.GeometryOverlayAnalystParameters The DatasetOverlayAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
routeCalculateMeasure(params, callback, resultFormat)
SpatialAnalystService.js, line 232 -
Route measurement calculation service.
Name Type Default Description paramsL.supermap.RouteCalculateMeasureParameters The RouteCalculateMeasureParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
routeLocate(params, callback, resultFormat)
SpatialAnalystService.js, line 255 -
Route location calculation service.
Name Type Default Description paramsL.supermap.RouteLocatorParameters The RouteLocatorParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
surfaceAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 278 -
Surface Analysis service.
Name Type Default Description paramsL.supermap.SurfaceAnalystParameters The DatasetSurfaceAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
terrainCurvatureCalculate(params, callback, resultFormat)
SpatialAnalystService.js, line 301 -
Terrain curvature calculation service.
Name Type Default Description paramsL.supermap.TerrainCurvatureCalculationParameters The TerrainCurvatureCalculationParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.
-
thiessenAnalysis(params, callback, resultFormat)
SpatialAnalystService.js, line 324 -
Thiessen analysis service.
Name Type Default Description paramsL.supermap.DatasetThiessenAnalystParameters The DatasetThiessenAnalystParameters class.
callbackRequestCallback The callback of result data returned by the server side.
resultFormatL.supermap.DataFormat L.supermap.DataFormat.GEOJSON optional The format of result data.