Changes between Version 25 and Version 26 of FDORfc6
- Timestamp:
- 07/30/07 16:00:06 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc6
v25 v26 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 CRS/style names supported by specific WMS layer, neither for image format types supported byWMS service.24 In the current design of the OSGeo FDO WMS Provider, no mechanism exists to allow a client to retrieve the supported CRS and Style names supported by specific WMS layer. In addition, no mechanism exists to allow an application to retrieve all the image format types supported by a WMS service. 25 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 In order to resolve this oversight, the OSGeo WMS provider will be enhanced to provide an application with the ability to use the FDO command invocation system to retrieve the supported image formats, styles and CRS information from the WMS service. 27 27 28 28 == Proposed Solution == 29 29 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. 31 The following shows the new enumeration. 30 In order not to impact the existing FDO command interface, the three new command interface will be designated as WMS specific and be implemented only by the WMS provider. In order to facilitate the implemntation, a new enum type, !FdoWmsCommandType, will be defined for the OSGeo WMS provider. 31 32 The following section defines the WMS command enumerations. 32 33 {{{ 33 34 // This number is defined so our custom command would not clash with other … … 46 47 }}} 47 48 48 3 new commands will be added to the FDO WMS Provider s, individually for getting image formats, styles and CS names.49 3 new commands will be added to the FDO WMS Provider specification, allowing an application to request image format, style and CRS name information. These commands willonly be able to be invoked once a connection has successfully been made to the WMS provider and in turn to the specified WMS service. 49 50 50 51 === Get Image Formats Command === … … 55 56 public: 56 57 /// \brief 57 /// Executes the GetImageFormats command and returns a 58 /// FdoStringCollection, which contains all image formats supported byWMS service.58 /// Executes the GetImageFormats command and returns a FdoStringCollection 59 /// which contains all the image formats supported by the current WMS service. 59 60 /// 60 61 /// \return 61 62 /// Returns the image format collection supported by WMS service 62 63 /// 63 64 FDO_API virtual FdoStringCollection * Execute() = 0; 64 65 }; … … 75 76 public: 76 77 /// \brief 77 /// Gets the name of the feature class to getall supported styles.78 /// Gets the name of the feature class from which to retrieve all supported styles. 78 79 /// 79 80 /// \return 80 /// Returns the featu erclass name81 /// Returns the feature class name 81 82 /// 82 83 FDO_API virtual FdoString* GetFeatureClassName() = 0; 83 84 84 85 /// \brief 85 /// Sets the name of the feature class to getall supported styles.86 /// This function is mandatory; if not specified,87 /// execution of the command will throwexception.86 /// Sets the name of the feature class from which to retrieve all supported styles. 87 /// Invocation of this function is mandatory; if not specified, execution of the 88 /// command will throw an exception. 88 89 /// 89 90 /// \param value … … 96 97 97 98 /// \brief 98 /// Executes the GetFeatureClassStyles command and returns a 99 /// FdoStringCollection, which contains all styles supported by specificfeature class100 /// and all styles supported by its ancestors , because WMS service supportsStyle101 /// declarations areinherited by child Layers.99 /// Executes the GetFeatureClassStyles command and returns a FdoStringCollection 100 /// which contains all styles supported by specified feature class 101 /// and all styles supported by its ancestors. WMS services support Style 102 /// declarations inherited by child Layers. 102 103 /// 103 104 /// \return … … 126 127 127 128 /// \brief 128 /// Sets the name of the FeatureClass to getall supported CRS names.129 /// This function is mandatory; if not specified,130 /// execution of the command will throwexception.129 /// Sets the name of the FeatureClass for which to retrived all supported CRS names. 130 /// Invocation of this function is mandatory; if not specified, execution of the 131 /// command will throw an exception. 131 132 /// 132 133 /// \param value … … 139 140 140 141 /// \brief 141 /// Executes the GetCRSNames command and returns a 142 /// FdoStringCollection, which contains entire CRS names supported by specificfeature class.143 /// and all CRS names supported by its ancestors , because WMS servicesupports CRS144 /// declarations areinherited by child Layers.142 /// Executes the GetCRSNames command and returns an FdoStringCollection 143 /// which contains all the CRS names supported by specified feature class. 144 /// and all CRS names supported by its ancestors. WMS services supports CRS 145 /// declarations inherited by child Layers. 145 146 /// 146 147 /// \return … … 158 159 == Test Plan == 159 160 160 Existing unit tests will be expanded to test th ose changes.161 Existing unit tests will be expanded to test the proposed enhancements defined above. 161 162 162 163 == Funding/Resources ==