langchain_community.document_loaders.arcgis_loader.ArcGISLoader¶

class langchain_community.document_loaders.arcgis_loader.ArcGISLoader(layer: Union[str, arcgis.features.FeatureLayer], gis: Optional[arcgis.gis.GIS] = None, where: str = '1=1', out_fields: Optional[Union[List[str], str]] = None, return_geometry: bool = False, result_record_count: Optional[int] = None, lyr_desc: Optional[str] = None, **kwargs: Any)[source]¶

Load records from an ArcGIS FeatureLayer.

Methods

__init__(layer[, gis, where, out_fields, ...])

lazy_load()

Lazy load records from FeatureLayer.

load()

Load all records from FeatureLayer.

load_and_split([text_splitter])

Load Documents and split into chunks.

__init__(layer: Union[str, arcgis.features.FeatureLayer], gis: Optional[arcgis.gis.GIS] = None, where: str = '1=1', out_fields: Optional[Union[List[str], str]] = None, return_geometry: bool = False, result_record_count: Optional[int] = None, lyr_desc: Optional[str] = None, **kwargs: Any)[source]¶
lazy_load() Iterator[Document][source]¶

Lazy load records from FeatureLayer.

load() List[Document][source]¶

Load all records from FeatureLayer.

load_and_split(text_splitter: Optional[TextSplitter] = None) List[Document]¶

Load Documents and split into chunks. Chunks are returned as Documents.

Parameters

text_splitter – TextSplitter instance to use for splitting documents. Defaults to RecursiveCharacterTextSplitter.

Returns

List of Documents.

Examples using ArcGISLoader¶