[mapguide-trac] #796: Expression Functions(If, Lookup, Range) are not working

MapGuide Open Source trac_mapguide at osgeo.org
Tue Dec 16 10:26:58 EST 2008


#796: Expression Functions(If,Lookup,Range) are not working
-------------------------------+--------------------------------------------
   Reporter:  mgluobin         |       Owner:       
       Type:  defect           |      Status:  new  
   Priority:  high             |   Milestone:  2.1  
  Component:  Feature Service  |     Version:  2.0.1
   Severity:  blocker          |    Keywords:       
External_id:                   |  
-------------------------------+--------------------------------------------
 When i execute the code in PHP with the sample data,such as :
 $resourceName =
 "Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource";
 $resId = new MgResourceIdentifier($resourceName);
 $aggregateOptions = new MgFeatureAggregateOptions();
 $aggregateOptions->AddComputedProperty("rangeTest",
 "Range(Autogenerated_SDF_ID, 4.0, 1, 100, 6.0, 100, 200, 8.0)");
 $dataReader = $featureService->SelectAggregate($resId,
 'SHP_Schema:RoadCenterLines', $aggregateOptions);

 There are such errors:An exception occurred in FDO component. Item 'RANGE'
 not found in collection An exception occurred in FDO component. Item
 'RANGE' not found in collection Exception occurred in method
 MgServerSelectFeatures.SelectFeatures at line 249 in file
 f:\mapguide\2.3.1\mgdev\server\src\services\feature\ServerSelectFeatures.cpp

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/796>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list