Upload
mathias-eder
View
216
Download
0
Embed Size (px)
DESCRIPTION
Developper Manual GIS Geospatial
Citation preview
7/17/2019 Developper Manual GIS Geospatial
http://slidepdf.com/reader/full/developper-manual-gis-geospatial 1/2
Points To Watch
■ In the feature source XML, the provider name (for example, OSGeo.SDF.3.3)
must match one of the provider names listed in the output of
MgFeatureService.GetFeatureProviders() .
■ In the layer definition, the ResourceId value must match the path of the
feature source. In the example above, this path is used in the layer
definition:
<ResourceId>Library://Data/SDF/Zoning.FeatureSource
</ResourceId>
So the corresponding path must be used when the feature source is created.
For example:
MgResourceIdentifier rID_feature_source =
new MgResourceIdentifier(@"Library://Data/SDF/Zoning.FeatureSource");
■ Create new layers using the static method AcMapLayer.Create() .
■ Create new layer groups using the AcMapLayerGroup constructor
AcMapLayerGroup(groupName) .
Points To Watch | 15
7/17/2019 Developper Manual GIS Geospatial
http://slidepdf.com/reader/full/developper-manual-gis-geospatial 2/2
16