[fdo][FDO249][New] WMS: FdoIExpressionCapabilities::GetFunctions() returns Spat...

Greg Boone greg.boone at autodesk.com
Thu Nov 2 17:46:17 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO249

Type
 Defect

Artifact ID
 FDO249 (WMS: FdoIExpressionCapabilities::GetFunctions() returns SpatialExtents Function with Invalid ReturnPropertyType)

Reported by
 Greg Boone
 gregboone (greg.boone at autodesk.com)

New artifact details:
---------------------------------------------------------

- Operating system set to new value
  Windows XP
- Platform set to new value
  All
- Summary set to new value
  WMS: FdoIExpressionCapabilities::GetFunctions() returns SpatialExtents Function with Invalid ReturnPropertyType
- Target milestone set to new value
  3.2.0
- Submission Reviewed set to new value
  Yes
- OS Distribution and Version set to new value
  SP2
- Component set to new value
  WMS
- Artifact created
- Build set to new value
  G025
- Subcomponent set to new value
  CAPABILITIES
- Steps to Reproduce set to new value
  Execute the following test....

FdoPtr<FdoIExpressionCapabilities> expressionCapabilities = connection->GetExpressionCapabilities();
FdoExpressionType *expressionTypes = expressionCapabilities->GetExpressionTypes(size);
CPPUNIT_ASSERT(size == 1);
CPPUNIT_ASSERT(expressionTypes != NULL);
CPPUNIT_ASSERT(expressionTypes[0] == FdoExpressionType_Function);

FdoPtr<FdoFunctionDefinitionCollection> functions = expressionCapabilities->GetFunctions();
FdoPtr<FdoFunctionDefinition> extentsFunction = functions->GetItem(2);
CPPUNIT_ASSERT(STRCASEEQ(extentsFunction->GetName(), L"SpatialExtents"));
CPPUNIT_ASSERT(extentsFunction->GetReturnPropertyType() == FdoPropertyType_GeometricProperty);

args = extentsFunction->GetArguments();
CPPUNIT_ASSERT(args->GetCount() == 1);
rasterArg = args->GetItem(0);
CPPUNIT_ASSERT(STRCASEEQ(rasterArg->GetName(), L"raster"));
CPPUNIT_ASSERT(rasterArg->GetDataType() == FdoDataType_BLOB);

The extents function property return type is not a Geometric Property.
- Artifact Status set to new value
  New
- Priority set to new value
  P2

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list