regi0.geographic.arcgis
- regi0.geographic.arcgis.get_feature_layer_field(gdf: geopandas.GeoDataFrame, url: str, field: Union[list, str], where: str = '1=1') pandas.Series
Gets the corresponding values of one or multiple fields in a Feature Service layer.
- Parameters
gdf (GeoDataFrame) – GeoDataFrame with records.
url (str.) – Feature Service layer. Must end with /query.
field (list or str) – Field(s) to retrieve from the layer.
where (str) – A WHERE clause for the query filter
- Returns
Extracted values from the Feature Service layer.
- Return type
Series
- regi0.geographic.arcgis.intersects_feature_layer(gdf: geopandas.GeoDataFrame, url: str, where: str = '1=1') pandas.Series
Checks whether records from gdf intersect any feature of the Feature Service layer.
- Parameters
gdf (GeoDataFrame) – GeoDataFrame with records.
url (str.) – URL of the Feature Service layer. Must end with /query.
where (str) – A WHERE clause for the query filter
- Returns
Boolean Series indicating whether each record intersects any feature of the Feature Service layer.
- Return type
Series