Skip to content

Scrape features from the ArcGIS Server REST API and return a geopandas GeoDataFrame

License

Notifications You must be signed in to change notification settings

PhilaController/esri2gpd

Repository files navigation

esri2gpd

Coverage Status t PyPi version Anaconda-Server Badge

A lightweight Python tool to scrape features from the ArcGIS Server REST API and return a geopandas GeoDataFrame python.

Inspired by the R package esri2sf.

Installation

Via conda:

conda install -c controllerphl esri2gpd

Via PyPi:

pip install esri2gpd

Example

import esri2gpd

url = "https://services.arcgis.com/fLeGjb7u4uXqeF9q/ArcGIS/rest/services/Philly_Neighborhoods/FeatureServer/0"
gdf = esri2gpd.get(url, fields=['MAPNAME'], where="MAPNAME='Chestnut Hill'")

gdf.head()

About

Scrape features from the ArcGIS Server REST API and return a geopandas GeoDataFrame

Topics

Resources

License

Stars

Watchers

Forks