Changes between Version 19 and Version 20 of FDORfc6


Ignore:
Timestamp:
07/24/07 18:50:35 (17 years ago)
Author:
yangm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc6

    v19 v20  
    4747
    4848
    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 
     493 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'''''
    5752{{{
    5853class FdoIGetImageFormats: public FdoICommand
     
    110105}}}
    111106
    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'''''
    113108[[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 
    120109{{{
    121110class FdoIGetFeatureClassStyles : public FdoICommand
     
    212201}}}
    213202
    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'''''
    215204[[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 }}}
    221205
    222206{{{