AcMapFeatureService::GetSpatialContexts Method

Autodesk GIS Map Platform

AcMapFeatureService:: GetSpatialContexts Method

Gets all of the spatial contexts available in the feature source or just the active one.

virtual MgSpatialContextReader* GetSpatialContexts(
    MgResourceIdentifier* resource, 
    bool bActiveOnly = false
);
Parameters 
Description 
resource 
A resource identifier identifying a feature source in the repository.  
bActiveOnly 
If true, the return value contains only the active spatial context. If false, the return value contains all of the available spatial contexts.  
Returns

Returns an MgSpatialContextReader object.

Remarks

The FdoSpatialContextList XML schema contains a specification of the content of the spatial context information returned in the MgSpatialContextReader object.

MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].