Changes between Version 19 and Version 20 of FDORfc6
- Timestamp:
- 07/24/07 18:50:35 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc6
v19 v20 47 47 48 48 49 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. 50 51 The following is an example of how WMS GetImageFormats command would be used to get all image formats supported by WMS service after connection. 52 {{{ 53 FdoPtr<FdoIGetImageFormats > cmd = static_cast<FdoIGetImageFormats *> (conn->CreateCommand (WmsCommandType_GetImageFormats)); 54 FdoPtr<FdoStringCollection> result = cmd->Execute (); 55 }}} 56 49 3 new commands will be added to the FDO WMS Providers, individually for getting image formats, styles and CS names. 50 51 [[BR]]* '''''Get Image Formats Command''''' 57 52 {{{ 58 53 class FdoIGetImageFormats: public FdoICommand … … 110 105 }}} 111 106 112 The following is an example of how WMS GetFeatureClassStyles command would be used to get all styles supported by specific layer on WMS service after connection. 107 [[BR]]* '''''Get Styles Command Interface''''' 113 108 [[BR]]''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.'' 114 {{{115 FdoPtr< FDOIGetFeatureStyles > cmd = static_cast< FDOIGetFeatureClassStyles *> (conn->CreateCommand (WmsCommandType_GetFeatureClassStyles));116 cmd->SetFeatureClassName(L”ABC”);117 FdoPtr<FdoStringCollection> result = cmd->Execute ();118 }}}119 120 109 {{{ 121 110 class FdoIGetFeatureClassStyles : public FdoICommand … … 212 201 }}} 213 202 214 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 service after connection. 203 [[BR]]* '''''Get CRS Names Command Interface''''' 215 204 [[BR]]''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.'' 216 {{{217 FdoPtr<FdoIGetFeatureClassCRSNames> cmd = static_cast<FdoIGetFeatureClassCRSNames*> (conn->CreateCommand (FdoCommandType_GetFeatureClassSupportedCRSNames));218 cmd->SetFeatureClassName(L“ABC”);219 FdoPtr<FdoStringCollection> result = cmd->Execute ();220 }}}221 205 222 206 {{{