Changes between Version 1 and Version 2 of FDORfc57
- Timestamp:
- 03/22/11 23:37:16 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc57
v1 v2 11 11 ||Author||Cheney Sun|| 12 12 ||RFC Status||proposed|| 13 ||Implementation Status|| under development||13 ||Implementation Status||completed|| 14 14 ||Proposed Milestone||3.7.0.0 || 15 15 ||Assigned PSC guide(s)||Orest Halustchak, Greg Boone|| … … 175 175 176 176 {{{ 177 177 FdoPtr<FdoWmsIGetFeatureInfo> cmdGFI = static_cast<FdoWmsIGetFeatureInfo*> (connection->CreateCommand(FdoWmsCommandType_GetFeatureInfo)); 178 178 FdoPtr<FdoIdentifier> id = FdoIdentifier::Create(L”Park”); 179 179 cmdGFI->SetFeatureClassNames(id); … … 183 183 FdoStringP featureInfo = cmdGFI->Execute (); 184 184 }}} 185 Since lot of same parameters required with GetMap request, the execute function of this custom command will be similar with the select command. The difference is to pass the extra i, j values and fire the GetFeatureInfo request to WMS server. What’s more, share the same codes between select command and GetFeatureInfo custom command should be considered seriously.[[BR]]185 Since there are lots of same parameters required as GetMap request, the Execute function of this custom command will be similar with the select command. The difference is to pass the extra i, j values and fire the GetFeatureInfo request to WMS server. What’s more, share the same codes between select command and GetFeatureInfo custom command should be considered seriously.[[BR]] 186 186 187 Similar to the GetMap command, the parameters regarding the GetMap parts should be obtained from the override configuration. If it’s not customized, the default parameters will be gotten from capabilities documents (returned from GetCapabilities). One note is that the command should generally be called after the GetMap request; otherwise, the returned result is probably unexpected if the parameters are wrongly specified.187 Similar to the GetMap request, the parameters regarding the GetMap parts should be obtained from the override configuration. If it’s not customized, the default parameters will be gotten from capabilities documents (returned from GetCapabilities). One note is that the command should generally be called after the GetMap request; otherwise, the returned result is probably unexpected if the parameters are wrongly specified. 188 188 189 189 == Implications ==