Metadata-Version: 2.1
Name: esridumpgdf
Version: 0.1.1
Summary: 
License: MIT
Author: wchatx
Author-email: wchatx@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: esridump (>=1.10.1,<2.0.0)
Requires-Dist: geopandas (>=0.10.2,<0.11.0)
Description-Content-Type: text/markdown

# esridumpgdf

Simple module using [pyesridump](https://github.com/openaddresses/pyesridump) 
and [geopandas](https://github.com/geopandas/geopandas) to create GeoDataFrames from 
ArcGIS Map and Feature layers and services.  

## Install
```
pip install esridumpgdf
```

## Usage
For exporting a single Map or Feature service to GeoDataFrame:
```python
from esridumpgdf import Layer
layer = 'https://sampleserver6.arcgisonline.com/arcgis/rest/services/911CallsHotspot/MapServer/1'
gdf = Layer(layer).to_gdf()
```

To export an entire service to a multiple GeoDataFrames:
```python
from esridumpgdf import Service
service = 'https://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/MapServer'
gdfs = Service(service).to_gdfs()
```
