iServer 9D SP1 Changes

Feedback


Java API Changes

Package Class/Interface Field/Method/Property/Event Note

com.supermap.services.components

GeometryComponent

measureDistance

Calculate distance according to the array of 2D points and measurement parameters

measureArea

Calculate area according to the array of 2D points and measurement parameters

coordtransfer

Convert the coordinate system of geometric objects to the specified one

SpatialAnalyst

CutFillResult cutFill(String gridDataset, Geometry3D region3D,String resultDataset,boolean deleteExistResultDataset, boolean buildPyramid)

3D region Cut and Fill analysis

TransportationAnalyst

FacilityAnalyst2DResult findConnectedEdgesFromEdges(int[] edgeIDs,boolean connected,boolean returnFeatures,String networkDataName)

Find the arcs connected to the specified arcs and return the ID array of the result arcs

FacilityAnalyst2DResult findConnectedEdgesFromNodes(int[] nodeIDs,boolean connected,boolean returnFeatures,String networkDataName)

Find the arcs that are connected or disconnected to the specified nodes and return the ID array of the result arcs

FacilityAnalyst2DResult traceDownFromNode(int nodeID, String networkDataName,FacilityAnalystParameter parameter)

Tracing downstream from a specified node, ie., find the downstream of the specified node and return downstream arcs, nodes and total cost

FacilityAnalyst2DResult traceUpFromNode(int nodeID,String networkDataName,FacilityAnalystParameter parameter)

Tracing upstream from a specified node, ie., find the upstream of the specified node and return upstream arcs, nodes and total cost

FacilityAnalyst2DResult traceDownFromEdge(int edgeID,String networkDataName,FacilityAnalystParameter parameter)

Tracing downstream from a specified arc, ie., find the downstream of the specified arc and return downstream arcs, nodes and total cost

FacilityAnalyst2DResult traceUpFromEdge(int edgeID,String networkDataName,FacilityAnalystParameter parameter)

Tracing upstream from a specified arc, ie., find the upstream of the specified arc and return upstream arcs, nodes and total cost
Map

listMVTSprites

List all the Sprite names

getMVTSpriteJson

Get Sprite json

getMVTSpriteResource

Get Sprite resource

getMVTFonts

Get sdf formatted font data

com.supermap.services.components.spi

MapProviderSetting watermark/getWatermark/setWatermark interfaces used to set or get wartermark
WaterMarkSetting imageUrl/ imageAlpha/txtContent/fontSize/fontColor/fontStyle/xIndex/yIndex/random Used to set the general information of wartermarks of tile map services
Measurable measureDistance Calculate distance according to the array of 2D points and measurement parameters
measureArea Calculate area according to the array of 2D points and measurement parameters
GeometryProvider measureDistance Calculate distance according to the array of 2D points and measurement parameters
measureArea Calculate area according to the array of 2D points and measurement parameters
coordtransfer Transform the coordinate system of geometric objects to the specified one
SpatialAnalystProvider CutFillResult cutFill(String gridDataset, Geometry3D region3D,String resultDataset,boolean deleteExistResultDataset, boolean buildPyramid) 3D region Cut and Fill analysis
TransportationAnalystProvider FacilityAnalyst2DResult findConnectedEdgesFromEdges(int[] edgeIDs,boolean returnFeatures, boolean connected) Find the arcs connected to the specified arcs and return the ID array of the result arcs
FacilityAnalyst2DResult findConnectedEdgesFromNodes(int[] nodeIDs,boolean returnFeatures,boolean connected) Find the arcs that are connected or disconnected to the specified nodes and return the ID array of the result arcs
FacilityAnalyst2DResult traceDownFromNode(int nodeID,FacilityAnalystParameter parameter) Tracing downstream from a specified node, ie., find the downstream of the specified node and return downstream arcs, nodes and total cost
FacilityAnalyst2DResult traceUpFromNode(int nodeID,FacilityAnalystParameter parameter) Tracing upstream from a specified node, ie., find the upstream of the specified node and return upstream arcs, nodes and total cost
FacilityAnalyst2DResult traceDownFromEdge(int edgeID,FacilityAnalystParameter parameter) Tracing downstream from a specified arc, ie., find the downstream of the specified arc and return downstream arcs, nodes and total cost

FacilityAnalyst2DResult traceUpFromEdge(int edgeID,FacilityAnalystParameter parameter)

Tracing upstream from a specified arc, ie., find the upstream of the specified arc and return upstream arcs, nodes and total cost
TiledVectorProvider

listMVTSprites

List all the Sprite names

getMVTSpriteJson

Get Sprite json

getMVTSpriteResource

Get Sprite resource

getMVTFonts

Get sdf formatted font data

com.supermap.services.providers

UGCDataProviderSetting

getDatasourceInfos/setDatasourceInfos

Set the datasources, datasets to be published

 

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note URL Template

distributedanalyst-rest

featureJoin FeatureJoinResource New added feature join analysis resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/featurejoin

featureJoinresult FeatureJoinResultResource New added feature join analysis result resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/featurejoin/{resultID}

overlay OverlayGeoResource New added overlay analysis resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/overlay

overlayresult OverlayGeoResultResource New added overlay analysis result resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/overlay/{resultID}

buffers BuffersResource New added buffer analysis resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/buffers

buffersresult BuffersResultResource New added buffer analysis result resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/buffers/{resultID}

summaryAttributes SummaryAttributesResource New added summary attributes analysis resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/summaryattributes

summaryAttributesresult SummaryAttributesResultResource New added summary attributes analysis result resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/summaryattributes/{resultID}

topologyValidator TopologyValidatorResource New added topology validation analysis resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/topologyvalidator

topologyValidatorresult TopologyValidatorResultResource New added topology validation analysis result resource

/distributedanalyst/rest/v1/jobs/spatialanalyst/topologyvalidator/{resultID}

grid BuildGridIndexResource New added building grid index resource

/distributedanalyst/rest/v1/jobs/dataprocessing/buildindex/grid

gridresult BuildGridIndexResultResource New added building grid index result resource

/distributedanalyst/rest/v1/jobs/dataprocessing/buildindex/grid/{resultID}

services-rest

area

GeometryAreaServiceResource

Calculate the are according to the measurement parameters

/iserver/services/{component}/restjsr/v1/geometry/area

distance

GeometryDistanceServiceResource

Calculate the distance according to the measurement parameters

/iserver/services/{component}/restjsr/v1/geometry/distance

coordtransfer GeometryCoordTransferResource Convert the coordinate system of the geometric objects

/iserver/services/{component}/restjsr/v1/geometry/coordtransfer

connectedEdges ConnectedEdgesAnalyseFaclilities2DResource Connectivity analysis

/networkanalyst/{networkDataName}/connectededges

traceDown TraceDownAnalyseFaclilities2DResource Tracing downstream analysis

/networkanalyst/{networkDataName}/tracedown

traceUp TraceUpAnalyseFaclilities2DResource Tracing upstream analysis

/networkanalyst/{networkDataName}/traceup

/services-rest-management

streamingconfiger

StreamingConfigerResource

Create a new streaming service via page

/iserver/manager/streaming/streamingconfiger

streamingModelEditor StreamingConfigerResource Edit streaming service via page

/iserver/manager/streaming/streamingconfiger/{serviceName}

map-rest mvtsprites MVTSpritesResource Sprites list resource /maps/{mapName}/tilefeature/mvtsprites
mvtsprite MVTSpriteResource Get Sprite resource /maps/{mapName}/tilefeature/mvtsprites/{spriteName}
  

Configuration File Changes

File Path File Name

Configuration Item

Note

{ISERVER_HOME}\webapps\iserver\WEB-INF

iserver-system.xml

processing>>referServicesAddress
processing>>referToken
processing>>xmx
processing>>workerPort
The service root address to be published.
Service token.
The heap memory of the distributed analysis process.
The port of the distributed analysis process.

{ISERVER_HOME}\webapps\iserver\WEB-INF

iserver-services.xml

watermark>>imageUrl
watermark>>imageAlpha
watermark>>txtContent
watermark>>fontSize
watermark>>fontColor
watermark>>fontStyle
watermark>>xIndex
watermark>>yIndex
watermark>>random
Image address.
The transparency of the image. Range: 0->1. Default: 0.8.
Text content.
Font size. Default: 20.
Font color. Default: 100,100,100,128.
Java logical font type. Default: Dialog.
x position of the Water mark. Default: x of the center point of a tile.
y position of the Water mark. Default: y of the center point of a tile.
The probability of a watermark shown in each tile. Range: 1—>100. Default: 25.