Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.29 KB

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()