Changes between Version 16 and Version 17 of FDORfc6
- Timestamp:
- 07/23/07 21:55:31 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc6
v16 v17 22 22 == Overview == 23 23 24 In the current design of the OSGeo OGC FDO WMS Provider(s), no mechanism exists to allow a client to retrieve all supported CS’s for a specific WMS feature class, neither for image format and style information. 25 In order to resolve this issue, the WMS providers should be enhanced to add 3 new commands for retrieving all supported image format, style and CS information from WMS service. 24 In the current design of the OSGeo OGC FDO WMS Provider(s), no mechanism exists to allow a client to retrieve all supported CRS/style names supported by specific WMS layer, neither for image format types supported by WMS service. 25 26 In order to resolve this issue, the WMS providers should be enhanced to add 3 new commands for retrieving all supported image format, style and CS information from WMS service individually. 26 27 27 28 == Proposed Solution == 28 29 29 In order not to impact the standard FDO command interface, we plan just adding those commands interface for WMS only. Thus, we also declare a new enum type: WmsCommandType for WMS provider.30 In order not to impact the standard FDO command interface, we plan just adding those 3 commands interface for WMS only. Thus, we also declare a new enum type: WmsCommandType for WMS provider. 30 31 The following shows the new enumeration. 31 32 {{{ … … 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. 49 50 * '''GetImageFormats Command''' 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. 51 52 {{{ … … 108 109 }; 109 110 }}} 110 111 * '''GetFeatureClassStyles Command''' 111 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. 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.'''''113 [[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.''''' 113 114 {{{ 114 115 FdoPtr< FDOIGetFeatureStyles > cmd = static_cast< FDOIGetFeatureClassStyles *> (conn->CreateCommand (WmsCommandType_GetFeatureClassStyles)); … … 210 211 }; 211 212 }}} 212 213 * '''GetFeatureClassCRSNames Command''' 213 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. 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.'''''215 [[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.''''' 215 216 {{{ 216 217 FdoPtr<FdoIGetFeatureClassCRSNames> cmd = static_cast<FdoIGetFeatureClassCRSNames*> (conn->CreateCommand (FdoCommandType_GetFeatureClassSupportedCRSNames));