Changes between Version 13 and Version 14 of FDORfc6
- Timestamp:
- 07/23/07 21:31:40 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc6
v13 v14 45 45 }}} 46 46 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 48 3 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. 48 49 49 50 The 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. … … 108 109 }}} 109 110 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. 111 The 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.'' 111 113 {{{ 112 114 FdoPtr< FDOIGetFeatureStyles > cmd = static_cast< FDOIGetFeatureClassStyles *> (conn->CreateCommand (WmsCommandType_GetFeatureClassStyles)); 113 cmd->SetFeatureClassName(L”ABC”); 115 cmd->SetFeatureClassName(L”ABC”); 114 116 FdoPtr<FdoStringCollection> result = cmd->Execute (); 115 117 }}} … … 144 146 /// \brief 145 147 /// 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 150 154 /// 151 155 FDO_API virtual FdoStringCollection * Execute() = 0; … … 180 184 public: 181 185 // 182 /// <summary> 186 /// <summary>Gets the name of the feature class to get all supported styles. </summary> 183 187 /// <returns>Returns the feature class name</returns> 184 188 virtual FdoString* GetFeatureClassName (); 185 189 186 /// <summary> 190 /// <summary>Sets the name of the FeatureClass to get all supported styles 187 191 /// This function is mandatory; if not specified, 188 192 /// execution of the command will throw exception. … … 194 198 /// <summary> 195 199 /// 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> 199 206 virtual FdoStringCollection* Execute (); 200 207 … … 204 211 }}} 205 212 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. 213 The 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.'' 207 215 {{{ 208 216 FdoPtr<FdoIGetFeatureClassCRSNames> cmd = static_cast<FdoIGetFeatureClassCRSNames*> (conn->CreateCommand (FdoCommandType_GetFeatureClassSupportedCRSNames)); … … 218 226 public: 219 227 /// \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. 221 229 /// 222 230 /// \return … … 226 234 227 235 /// \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. 229 237 /// This function is mandatory; if not specified, 230 238 /// execution of the command will throw exception. … … 241 249 /// Executes the GetCRSNames command and returns a 242 250 /// 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. 243 253 /// 244 254 /// \return … … 290 300 /// <summary> 291 301 /// 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> 295 307 virtual FdoStringCollection* Execute (); 296 308