iServer 9D(2019) Interface Changes

Feedback


Java API Changes

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

com.supermap.services.providers

UGCAddressMatchProviderSetting

getBinDistance/setBinDistance

New Parameter

Used to set distances between grids when creating index.

UGCMapProviderSetting

boolean isMapEditable()

New Parameter

When it's ture, it allows you to edit the maps in workspace and to persist maps to disk.

void setMapEditable(boolean mapEditable)

New Parameter

When it's ture, it allows you to edit the maps in workspace and to persist maps to disk.。

UGCSpatialAnalystProvider

booleanOperator3D

3D Boolean operation

loft

3D lofting

getSection

Gets the section

planeProjection

3D plane projection

shadowVolume

Gets the shadow volume

convexHull

3D vonvex hull

getSkylineSectorBody

Gets the closed skyline body

getViewShedBody

Gets the closed viewshed body

ElasticsearchDataProviderSetting

 

New Class

Elasticsearch data service provider config class

ElasticsearchDataProvider

 

New Class

ElasticsearchDataProvider data service provider

UGCDataProvider

filteredDatasourceInfo

New Field

Data service provider added filteredDatasourceInfo for setting the datasets to be filtered

PostgisDataProvider

 

New Class

PostGIS data service provider

PostgisDataProviderSetting

 

New Class

PostGIS data service provider config class

PostgisMapProvider

 

New Class

PostGIS map service provider

PostgisMapProviderSetting

 

New Class

PostGIS map service provider

ShapeFileDataProvider

 

New Class

Shapefile data service provider

ShapeFileDataProviderSetting

 

New Class

Shapefile data service provider config class

ShapeFileMapProvider

 

New Class

Shapefile map service provider

ShapeFileMapProviderSetting

 

New Class

Shapefile map service provider config class

HBaseMapProviderSetting

 

New Class

HBase map service provider config class

HBaseMapProvider

 

New Class

HBase map service provider

HBaseDataProviderSetting

 

New Class

HBase data service provider config class

HBaseDataProvider

 

New Class

HBase data service provider

com.supermap.services.components

Map boolean updateMap(MapParameter mapParameter) Updates map status permenently, the update will be persisted to disk

Rectangle2D getProjectionExtent(String mapName)

Gets the extent in current projection

com.supermap.services.components.spi

MapProvider

boolean updateMap(MapParameter mapParameter)

Updates map status permenently, the update will be persisted to disk
VectorStyle getVectorStyle(VectorStyleParameter vectorStyleParameter) Gets the style of the specified vector layer in a specified map

TiledVectorProvider

Rectangle2D getProjectionExtent(String mapName) Gets the extent in current projection

com.supermap.services.rest.commontypes

GenerateSpatialDataPostParameter

attributeFilter

The linear reference dynamic segmentation query added filter condition

com.supermap.services.components.commontypes

TransferGuideItem

fare

The ticket price of a bus route represented by the transfer guide item

time

The time cost (in seconds) of a bus route or walk route represented by the transfer guide item

TileOutputType

ZXY

New Enumeration

Gets MapBox tile via xyz value

ScaleXY

New Enumeration

Gets MapBox tile via xy and scale

ViewBounds

New Enumeration

Gets MapBox tile via viewBounds

VectorStyleParameter

 

New Class

Used to set vector style when getting MapBox tile.

VectorTileParameter

tileOutputType

Sets tile outputting type, default is in viewBounds type.

x

The column number of a vector tile

y

The row number of a vector tile

z

The level of a vector tile

OutputFormat

MVT

MVT format, MVT tiles stored in mongodb

EngineType

HBASE

New Enumeration Value: HBASE

SHAPEFILE

New Enumeration Value: SHAPEFILE

POSTGIS

New Enumeration Value: POSTGIS

SpatialDataStoreInfo

editable

New Field

Whether allows to edit

com.supermap.services.providers.util

DynamicOSGBRealspaceDataReader

 

New Class

Implements dynamically generating s3m caches using model dataset

com.supermap.services.MappingParameters

Map

VectorStyle getVectorStyle(VectorStyleParameter vectorStyleParameter) throws MapException

New Interface

Gets the style of the specified layer in specified map

com.supermap.processing.jobserver.commontypes

MappingParameters

ColorGradientType colorGradientType

In distributed map outputting settings, used for setting the color gradient type for thematic maps

ThemeRangeItem[] items

In distributed map outputting settings, used for setting the thematic items

double rangeCount

In distributed map outputting settings, used for setting the number of thematic range segments

RangeMode rangeMode

In distributed map outputting settings, used for setting the thematic range mode

OutputType

HBASE

New Enumeration Value

Request body added HBASE output type

POSTGIS

New Enumeration Value

Request body added POSTGIS output type

RDD

New Enumeration Value

Request body added RDD output type

EngineType

HBASE

New Enumeration Value: HBASE

SHAPEFILE

New Enumeration Value: HAPEFILE

POSTGIS

New Enumeration Value: POSTGIS
com.supermap.server.config.DistributeAnalysisSetting outputStoreInfo

 

New Output Storage Info Class
com.supermap.server.config OutputType

ISERVERDATASTORE

New Output Storage Info Type: iserver datastore

REGISTEREDDATABASE

New Output Storage Info Type: registered database

REST API Changes

Module Resource Name Resource/Parameter/Request/Representation Note URL Template
spatialanalyst planeProjection DatasetPlaneProjectionResultsResource   /spatialanalyst/datasets/{datasetName}/planeprojection
section

DatasetSectionResultsResource

New resource for getting 3D section /spatialanalyst/datasets/{datasetName}/section

shadowVolume

DatasetShadowVolumeResultsResource

New resource for constructing shadow volume

/spatialanalyst/datasets/{datasetName}/shadowvolume

booleanOperator3D

GeometryBooleanOperator3DResultsResource

New resource for 3D Boolean operations

/spatialanalyst/geometry/3d/booleanoperator

convexHull

GeometryConvexHullResultsResource

New 3D convex hull resource

/spatialanalyst/geometry/3d/convexhull

loft

GeometryLoftResultsResource New 3D lofting resource /spatialanalyst/geometry/3d/loft

skylineSectorBody

GeometrySkylineSectorBodyResultsResource

New resource for building closed skyline body

/spatialanalyst/geometry/3d/skylinesectorbody

viewShedBody

GeometryViewShedBodyResultsResource

New resource for building closed viewshed body

/spatialanalyst/geometry/3d/viewshedbody

generatespatialdata

 

The linear reference dynamic segmentation query added filter field for using in request body.

spatialanalyst/datasets/{datasetName}/linearreferencing/generatespatialdata
spatialanalyst/datasets/{datasetIndex}/linearreferencing/generatespatialdata
map

layers

LayersResource Updates map status /maps/{mapName}/layers

prjProjectionExtent

PrjProjectionExtentResource New resource for getting map extent in current projected coordinate system /maps/{mapName}/prjCoordSys/projection/extent
data

featureResults

  New supported parameter:

aggregations, used for aggregation query. When aggreagations appears in request body, the response will also contain this field, indicating the result of the aggregation query

services/{servicesName}/rest/data/featureResults
datacatalog

dataexport

RsExportDataResource New relational-type data exporting resource

datacatalog/relationship/dataexport?dataId={dataId}&fileType={}

management

validation

ValidationResource New suppots creating service provider using the datasources in pgSql manager/validation
distributedanalyst

odlinemake

  New OD line constructing resource distributedanalyst/rest/v1/jobs/spatialanalyst/odlinemake

reconstructtracks

  New tracks reconstructing resource distributedanalyst/rest/v1/jobs/spatialanalyst/reconstructtracks

Configuration File Changes

File Path

File Name

Configuration Item

Note

{ISERVER_HOME}\webapps\iserver\WEB-INF

iserver-system.xml

New added service provider: ElasticsearchProvider PostGIS data service provider
New added service provider: MongoDBMVTTileProvider
New added service provider: PostgisDataProvider
New added service provider: PostgisMapProvider PostGIS map service provider
New added service provider: ShapeFileDataProvider Shape data service provider
New added service provider: ShapeFileMapProvider Shape map service provider
New added service provider: HBaseMapProvider HBase map service provider
New added service provider: HBaseDataProvider HBase data service provider

iserver-services.xml

Under <com.supermap.services.providers.FilteredDatasourceInfo> node, if the datasource name exists, you need to configure the following items:
  • <datasourceName>: Datasource name.
  • <includedDatasetNames>: The list of datasets to be published.
If the datasource name doesn't exist, you need to configure:
  • <connInfo>: Datasource connection info.
  • <alias>: Datasource alias.
  • <engineType>: Engine type.
  • <server>: Service.
  • <dataBase>: The database name.
  • <driver>: The driver name used for connecting datasource.
  • <password>: Password.
  • <user>: User name.
  • <connect>: Whether the datasource automatically connects to the data.
  • <exclusive>: Whether to open the datasource exclusively.
  • <openLinkTable>: Whether to open other SuperMap tables in database as LinkTable.
  • <readOnly>: Read-only or not.
  • <includedDatasetNames>: The list of datasets to be filtered.