com.supermap.data

Class EngineType

  • java.lang.Object
    • com.supermap.data.EngineType


  • public class EngineType
    extends java.lang.Object
    Defines the spatial database engine type constants.

    The spatial database engine is more than a regular database management system, and besides the necessary functionality of a regular database management system, it provides specific storage and management function for spatial data.

    SuperMap SDX+ is the spatial database engine of SuperMap. All kinds of spatial geometric objects and images can be stored in relational database via SDX+ engine to become a spatial database which can implement incorporate storage of spatial data and attribute data.

    For different types of datasources, different types of engines are needed, for file datasource, or UDB datasource, SDX+ for UDB is needed, the engine type isUDB. The current engine types supported areUDB and image read onlyIMAGEPLUGINS.

    • Field Detail

      • IMAGEPLUGINS

        @Deprecated
        public static final EngineType IMAGEPLUGINS
        Deprecated. Obsolete, Cache replacement of SCI isRest. Read-only engine for image file, such as common image formats like BMP, JPG, TIFF, the SuperMap-defined SIT format, 2D map cache configuration file format SCI, etc.

        While loading 2D map caches, the engine type should be employed. Besides, it is needed to set the DatasourceConnectionInfo method of the setServer() class to the 2D map cache configuration file (SCI).

      • OGC

        public static final EngineType OGC
        The OGC engine type for Web datasource.

        The current version supports following types, they are WMS, WFS, WCS and WMTS.

      • UDB

        public static final EngineType UDB
        The UDB engine type.
      • SuperMapCloud

        public static final EngineType SuperMapCloud
        SuperMap Cloud Services. It's a read only engine and can not be created.
      • GoogleMaps

        public static final EngineType GoogleMaps
        GoogleMaps engine. It's a read only engine and can not be created.
      • BaiDu

        public static final EngineType BaiDu
        Baidu map engine, it is a read only engine and can be created.
      • Rest

        public static final EngineType Rest
         REST map services engine. It's a read only engine and can not be created.
         The server address is map server address on iServer, when open Rest map service datasource, e.g. World map: http://192.168.120.1:8090/iserver/services/map-world/rest/maps/World
         
         

        From 811, REST engine supports to open sci cache directly, include REST web cache and cache files generated by iDesktop. This method replacedIMAGEPLUGINS. The parameter set as absolute path of sci cache files while opening directly.

        Note: left of "index range" should be set as -180, and top should be set as 90, when generate map cache with latitude and longitude coordinates, otherwise, it could not be displayed on mobile.

      • MapWorldMaps

        @Deprecated
        public static final EngineType MapWorldMaps
        Deprecated. Obsolete Tianditu services engine. It's a read only engine and can not be created.
      • OpenStreetMaps

        public static final EngineType OpenStreetMaps
        OpenStreetMaps engine is used to open the OpenStreetMaps datasource
      • BingMaps

        public static final EngineType BingMaps
        BingMaps engine is used to open the BingMaps datasource
      • OpenGLCache

        public static final EngineType OpenGLCache
        GL tile, open GL tile data, this data is generated to GL tile cache data from vector map by GL tile generation tool. This method improve display performance of big data map on mobile equipment. This tool only supports longitude and latitude vector data and Web Mercator vector data.
      • MVTCache

        public static final EngineType MVTCache
        MVT data type.
      • XYZTILE

        public static final EngineType XYZTILE
        Customizes XYZ service
    • Method Detail

      • newInstance

        public static EngineType newInstance(int value)
        Returns the custom engine type.
        Parameters:
        value - the enumeration of the custom engine.
        Returns:
        Returns the custom engine type.