[mapguide-users] selectAggregate error
Nandorov
nandorov at gmail.com
Mon Oct 6 10:15:45 EDT 2008
that's right. i fixed it making my own algorithm, but it want to know why i
got that error. thanks
Mauricio Villablanca wrote:
>
>
> Your variable $aggregateOptions is a MgFeatureAggregateOptions object and
> your featureService variable is a MgFeatureService object, right?
>
>
>
> Moog wrote:
>>
>>
>> hello,
>> i need some help. Do you know why i get the following error in this line?
>>
>> $dataReader = $featureService->SelectAggregate($resId,
>> $layer->GetFeatureClassName(), $aggregateOptions);
>>
>> where, $aggregateOptions is
>> $aggregateOptions->AddFeatureProperty($this->args['PROPERTYNAME']);
>> $aggregateOptions->SelectDistinct(true);
>>
>> Index is out of range. Exception occurred in method GetItem at line 81 in
>> file
>> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\foundation\System/DisposableCollection.cpp
>> Index is out of range.
>> - MgFeatureServiceHandler.ProcessOperation line 83 file
>> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\FeatureServiceHandler.cpp
>> - MgOpSelectFeaturesSpatial.Execute line 110 file
>> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\OpSelectFeaturesSpatial.cpp
>> - MgServerSelectFeatures.SelectFeatures line 249 file
>> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\server\src\services\feature\ServerSelectFeatures.cpp
>> - GetItem line 81 file
>> d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\foundation\System/DisposableCollection.cpp
>>
>> thanks ;)
>>
>> --
>> View this message in context:
>> http://www.nabble.com/selectAggregate-error-tp19690193p19690193.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
> --
> View this message in context:
> http://n2.nabble.com/selectAggregate-error-tp1121116p1299635.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://www.nabble.com/selectAggregate-error-tp19690193p19838822.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list