com.supermap.services.components

Interface Plot

  • All Known Implementing Classes:
    PlotImpl


    public interface Plot
    

    Dynamically plotting the service component interface.

    Dynamically plotting service component is a class of GIS service components that encapsulate GIS functions related to dynamic plotting.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Boolean deleteSMLFile(java.lang.String smlFileName)
      According to the situation map file description to delete the specified situation map file information.
      GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters)
      Obtains graphic object information according to LibID, Code, point string and other related parameters.
      byte[] getSMLFileBinary(java.lang.String smlFileName)
      Gets the contents of the binary form of the specified situation map file.
      java.lang.String getSMLFileContent(java.lang.String smlFileName)
      According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.
      java.util.List<SMLInfo> getSMLInfos(int start, int count)
      Gets the list of situation map information.
      SymbolLib getSymbolLib(int libID)
      Obtains the label library information according to the label library ID.
      int[] getSymbolLibIDs()
      Returns all label library IDs supported by server.
      boolean saveAsSMLFile(java.lang.String content, java.lang.String smlFileName, java.lang.Boolean isCover)
      Stores the situation map file information
    • Method Detail

      • getSymbolLibIDs

        int[] getSymbolLibIDs()
                              throws PlotException
        

        Returns all label library IDs supported by server.

        Returns:
        Returns the list of label library IDs.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • getSymbolLib

        SymbolLib getSymbolLib(int libID)
                               throws PlotException
        

        Obtains the label library information according to the label library ID.

        Parameters:
        libID - Label library ID.
        Returns:
        Returns label library information.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • getGraphicObject

        GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters)
                                          throws PlotException
        

        Obtains graphic object information according to LibID, Code, point string and other related parameters.

        Parameters:
        getGOParameters - Related parameters.
        Returns:
        Returns the primitive object information.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • saveAsSMLFile

        boolean saveAsSMLFile(java.lang.String content,
                            java.lang.String smlFileName,
                            java.lang.Boolean isCover)
                              throws PlotException
        

        Stores the situation map file information

        Parameters:
        content - Situation chart content.
        smlFileName - Situation map physical file name.
        isCover - Whether or not to cover the existing situation map.
        Returns:
        Whether the preservation is successful
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • getSMLFileContent

        java.lang.String getSMLFileContent(java.lang.String smlFileName)
                                           throws PlotException
        

        According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.

        Parameters:
        smlFileName - Situation map physical file name.
        Returns:
        Situation map information.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • deleteSMLFile

        java.lang.Boolean deleteSMLFile(java.lang.String smlFileName)
                                        throws PlotException
        

        According to the situation map file description to delete the specified situation map file information.

        Parameters:
        smlFileName - Situation map physical file name.
        Returns:
        Whether the deletion was successful.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • getSMLFileBinary

        byte[] getSMLFileBinary(java.lang.String smlFileName)
                                throws PlotException
        

        Gets the contents of the binary form of the specified situation map file.

        Parameters:
        smlFileName - Situation map physical file name.
        Returns:
        File flow.
        Throws:
        PlotException - Dynamically plotting service component exception information.
      • getSMLInfos

        java.util.List<SMLInfo> getSMLInfos(int start,
                                          int count)
                                            throws PlotException
        

        Gets the list of situation map information.

        Parameters:
        start - Returns the starting index of the situation map file list.
        count - Returns the number of the situation map file list.
        Returns:
        Gets the list of situation map information.
        Throws:
        PlotException - Dynamically plotting service component exception information.