Changes between Version 3 and Version 4 of FDORfc57
- Timestamp:
- 03/23/11 19:04:22 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc57
v3 v4 43 43 Basically, the goal is that users must be able to not only connect to WMS services and add features to maps from those services; they should also be able to click on map features to get more information.[[BR]] 44 44 As to the 1.1.0 version, the standard employs the x = pixel_column and y = pixel_row to replace I = pixel_column and J = pixel_row.[[BR]] 45 45 46 More details regarding the WMS !GetFeatureInfo request can be found in the WMS standards http://www.opengeospatial.org/standards/wms. 46 47 47 48 == Proposed Solution == 48 49 49 The shortest WMS !GetFeatureInfo implementation path would involve implementing !GetFeatureInfo request within the current FDO WMS provider. The design solution would provide a custom command to users to retrieve the feature information: FdoWmsCommandType_GetFeatureInfo.[[BR]]50 The shortest WMS !GetFeatureInfo implementation path would involve implementing !GetFeatureInfo request within the current FDO WMS provider. The design solution would provide a custom command to users to retrieve the feature information: !FdoWmsCommandType_GetFeatureInfo.[[BR]] 50 51 51 52 '''• Input of the !GetFeatureInfo request'''[[BR]] 53 52 54 From the required parameters table above, we can see !GetFeatureInfo requires almost all the parameters required by !GetMap request and plus more, the custom command would also require the same input for Select command and extra parameters (i, j coordinate in pixels of feature in Map CS). [[BR]] 53 55 54 56 '''• Output of the !GetFeatureInfo request'''[[BR]] 57 55 58 The format of responded message from the !GetFeatureInfo request is defined by the WMS server. For example:[[BR]] 59 56 60 <Format>text/plain</Format> [[BR]] 57 61 <Format>text/html</Format>[[BR]] 58 Currently, the WMS implementation specification doesn’t define a standard format for it. So, the solution is to return a FdoString* type pointer by this command. If user set the FEATURE_COUNT greater than 1, the information for multiple candidate features will be returned. However, we don’t parse the returned information since no standard regarding the format and client should take the responsibility to parse it. For example the following text is returned from one server to response the !GetFeatureInfo request.[[BR]] 59 Layer 'IBA'[[BR]] 62 63 Currently, the WMS implementation specification doesn’t define a standard format for it. So, the solution is to return a !FdoString* type pointer by this command. If user set the FEATURE_COUNT greater than 1, the information for multiple candidate features will be returned. However, we don’t parse the returned information since no standard regarding the format and client should take the responsibility to parse it. For example the following text is returned from one server to response the !GetFeatureInfo request.[[BR]] 64 65 Layer 'IBA'[[BR]] 60 66 Feature 6:[[BR]] 61 67 SITEID = 'NU009'[[BR]] 62 68 NAME = 'Queen Maud Lowlands' [[BR]] 63 69 LINK = 'http://www.bsc-eoc.org/iba/site.jsp?siteID=NU009' [[BR]] 64 65 70 66 71 Feature 66:[[BR]] … … 198 203 == Implications == 199 204 200 • A new command FdoWmsCommandType_GetFeatureInfo is added for WMS provider.205 • A new command !FdoWmsCommandType_GetFeatureInfo is added for WMS provider. 201 206 202 207 == Test Plan ==