[mapguide-users] Select Distinct QueryOption or Filter?

Scott Reisdorf reisdorf1 at llnl.gov
Tue Dec 5 19:28:52 EST 2006


Thanks Dave.
I am using SDF3, and from the provider it says it supports 
SelectDistinct (<SupportsSelectDistinct>true</SupportsSelectDistinct> )
I now dont know how to set the Flag in the QueryOptions to be Distinct.  
Looking at the API and the code, it does not appear that the Distinct 
option is available on the QueryOptions.  Does anyone know how to select 
Distinct Features using the FeatureService?

Thanks,
-scott

Dave Wilson wrote:
> Not all providers support distinct.
>
> You need to check the GetCapabilities for each provider via
> http://localhost/mapguide/mapagent/index.html under FeatureServices -
> GetProviders will list your providers. Then using GetCapabilities it
> will indicate if it supports Distinct. Distinct is a flag in the
> QueryOptions that can be set if I recall correctly.
>
> Dave
>
> -----Original Message-----
> From: Scott Reisdorf [mailto:reisdorf1 at llnl.gov] 
> Sent: Tuesday, December 05, 2006 2:50 PM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] Select Distinct QueryOption or Filter?
>
> All,
> Is there a way to query DISTINCT Features when using the
> FeatureService.SelectFeatures() or SelectAggregrate() with the
> QueryOptions, or possibly is there a "Distinct" filter option available.
> Any help or code/source documenting this would be helpful.
>
> Thanks,
>
> -scott
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>   




More information about the Mapguide_users mailing list