User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_arcgisfeatureserver

ITGIS_ArcGISFeatureServer interface

DK for ActiveX | TatukGIS_XDK11.ITGIS_ArcGISFeatureServer | Interfaces | Methods | Properties

Encapsulates an ArcGIS feature server.

Available also on: Delphi | .NET | Java | ActiveX | Python.

Syntax

// C#
public interface ITGIS_ArcGISFeatureServer: ITBaseObject
{
}
' VisualBasic
Public Interface ITGIS_ArcGISFeatureServer
  Implements ITBaseObject
End Class
// Oxygene
type
  ITGIS_ArcGISFeatureServer = public interface( ITBaseObject )
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Create_ public Creates a feature server instance for the specified service.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Open public Opens a feature service from the specified URL.
OpenLayer public Opens a feature layer from the specified service URL and layer id.
Open_2 public Opens the feature service using the current URL.

Properties

Inherited Protected
Name Visibility Description
Layers public List of available feature service layers.
Name public Feature service name.
Url public Feature service URL.

Remarks

PURPOSE: Represents one ArcGIS Feature Service connection and manages the layers discovered for that service.

BEHAVIOR: Stores the service URL, service name, and a layer list. The open methods connect to the service and populate available layer metadata, whileOpenLayer opens a single layer by id.

USAGE: Use this class to open a Feature Service endpoint and inspect or access its layers.

server = TGIS_ArcGISFeatureServer()       server.Open(url)       layer = server.OpenLayer(url, "0")

CONSTRAINTS: This class derives fromTGIS_ObjectDisposable. The layer list belongs to the server object and follows its lifecycle.

Example

  fs := TGIS_ArcGISFeatureServer.Create;
  try
    fs.Open('https://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer');
    GIS.Lock;
    try
      for fl in fs.Layers do begin
        ll := GisCreateLayer(fl.Name, fl.Path);
        GIS.Add(ll);
        ll.ParamsList.Assign( fl.DrawingInfo ) ;
      end;
    finally
      GIS.Unlock;
    end;
  finally
    FreeObject(fs);
  end;
  GIS.FullExtent;

2026/07/11 00:08

Page Tools