AddFeatureLayer

Go Back

Summary:
  Method for adding a VGIS Feature Layer

Header File:
  vgis_featurelayer.h

Library Name:
  imagedrape

Vgis_FeatureLayer*    AddFeatureLayer  (
    Vgis_Scene*    scene,
    char*    featuretype,
    int    argc,
    char**    argv,
    Eerr_ErrorReport**    lclerr,
  )
scene
    This is a pointer to a scene structure. This structure contains pointers to functions and data that are necessary for managing the scene.
featuretype
    This is the type of the feature layer that is opened. 
argc
    This is used as a counter variable for the number of arguments that is given to AddFeatureLayer.
argv
    Argv[0] is used for the filename of the feature layer that is being opened. 
lclerr
    This is a standard error report variable that is used when passing errors back to VGIS.  For further documentation please see the eerr.h header file which is located in the erasterlib directory of the toolkit.

Description:
  Adds a Feature Layer to a VGIS scene.

Notes:
  None.

Return Description:
  This function returns a handle to the Vgis_FeatureLayer structure. This structure contains methods and data that are necessary for managing the Feature Layer.