Changes between Version 13 and Version 14 of FDORfc6


Ignore:
Timestamp:
07/23/07 21:31:40 (17 years ago)
Author:
yangm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc6

    v13 v14  
    4545}}}
    4646
    47 3 new commands will be added to the FDO WMS Providers, individually for getting image formats, style and CS. The usage and the new classes and interfaces are listed as follows.
     47
     483 new commands will be added to the FDO WMS Providers, individually for getting image formats, styles and CS names. The usage and the new classes and interfaces are listed as follows.
    4849
    4950The following is an example of how WMS GetImageFormats command would be used to get the entire supported image formats list from WMS server after connection.
     
    108109}}}
    109110
    110 The following is an example of how WMS GetFeatureClassStyles command would be used to get the entire supported image formats list from WMS server after connection.
     111The following is an example of how WMS GetFeatureClassStyles command would be used to get all styles supported by specific layer on WMS server after connection.
     112''Note: FeatureClass is a FDO conception, one feature class is correspond with one layer name in the WMS service. We use feature class, instead of layer here, in order to avoid the confusion of FDO user.''
    111113{{{
    112114FdoPtr< FDOIGetFeatureStyles > cmd = static_cast< FDOIGetFeatureClassStyles *> (conn->CreateCommand (WmsCommandType_GetFeatureClassStyles));
    113 cmd->SetFeatureClassName(L”ABC”);
     115cmd->SetFeatureClassName(L”ABC”);   
    114116FdoPtr<FdoStringCollection> result = cmd->Execute ();
    115117}}}
     
    144146    /// \brief
    145147    /// Executes the GetFeatureClassStyles command and returns a
    146     /// FdoStringCollection, which contains all styles supported by specific feature class.
    147     ///
    148     /// \return
    149     /// Returns the styles collection supported by server
     148    /// FdoStringCollection, which contains all styles supported by specific feature class
     149    /// and all styles supported by its ancestors, because WMS service supports Style
     150    /// declarations are inherited by child Layers.
     151    ///
     152    /// \return
     153    /// Returns the styles collection supported by specific feature class
    150154    ///
    151155    FDO_API virtual FdoStringCollection * Execute() = 0;
     
    180184public:
    181185    //
    182     /// <summary> Gets the name of the feature class to get all supported styles. </summary>
     186    /// <summary>Gets the name of the feature class to get all supported styles. </summary>
    183187    /// <returns>Returns the feature class name</returns>
    184188    virtual FdoString* GetFeatureClassName ();
    185189
    186     /// <summary> Sets the name of the FeatureClass to get all supported styles
     190    /// <summary>Sets the name of the FeatureClass to get all supported styles
    187191    /// This function is mandatory; if not specified,
    188192    /// execution of the command will throw exception.
     
    194198    /// <summary>
    195199    /// Executes the GetFeatureClassStyles command and returns a
    196     /// FdoStringCollection, which contains entire styles supported by FeatureClass.
    197     /// <returns> Returns the style collection supported by FeatureClass.
    198     ///</returns>
     200    /// FdoStringCollection, which contains entire styles supported by feature class.
     201    /// and all styles supported by its ancestors, because WMS service supports Style
     202    /// declarations are inherited by child Layers.
     203    ///
     204    /// </summary>
     205    /// <returns> Returns the style collection supported by FeatureClass. </returns>
    199206    virtual FdoStringCollection* Execute ();
    200207
     
    204211}}}
    205212
    206 The following is an example of how WMS GetFeatureClassCRSNames command would be used to get the entire supported image formats list from WMS server after connection.
     213The following is an example of how WMS GetFeatureClassCRSNames command would be used to get the all CRS names supported by specifc layer on WMS server after connection.
     214''Note: FeatureClass is a FDO conception, one feature class is correspond with one layer name in the WMS service. We use feature class, instead of layer here, in order to avoid the confusion of FDO user.''
    207215{{{
    208216FdoPtr<FdoIGetFeatureClassCRSNames> cmd = static_cast<FdoIGetFeatureClassCRSNames*> (conn->CreateCommand (FdoCommandType_GetFeatureClassSupportedCRSNames));
     
    218226public:
    219227    /// \brief
    220     /// Gets the name of the FeatureClass to get all supported styles.
     228    /// Gets the name of the FeatureClass to get all supported CRS names.
    221229    ///
    222230    /// \return
     
    226234
    227235    /// \brief
    228     /// Sets the name of the FeatureClass to get all supported styles.
     236    /// Sets the name of the FeatureClass to get all supported CRS names.
    229237    /// This function is mandatory; if not specified,
    230238    /// execution of the command will throw exception.
     
    241249    /// Executes the GetCRSNames command and returns a
    242250    /// FdoStringCollection, which contains entire CRS names supported by server.
     251    /// and all CRS names supported by its ancestors, because WMS service supports CRS
     252    /// declarations are inherited by child Layers.
    243253    ///
    244254    /// \return
     
    290300    /// <summary>
    291301    /// Executes the GetFeatureClassCRSNames command and returns a
    292     /// FdoStringCollection, which contains entire CRS names supported by FeatureClass.
    293     /// <returns> Returns the CRS names collection supported by FeatureClass.
    294     ///</returns>
     302    /// FdoStringCollection, which contains entire CRS names supported by feature class.
     303    /// and all CRS names supported by its ancestors, because WMS service supports CRS
     304    /// declarations are inherited by child Layers.
     305    /// </summary>
     306    /// <returns> Returns the CRS names collection supported by FeatureClass.</returns>
    295307    virtual FdoStringCollection* Execute ();
    296308