Metadata-Version: 2.1
Name: arcgis2geojson
Version: 1.3.0
Summary: A Python library for converting ArcGIS JSON to GeoJSON
Home-page: https://github.com/chris48s/arcgis2geojson/
Author: chris48s
License: MIT
Description: [![Build Status](https://travis-ci.org/chris48s/arcgis2geojson.svg?branch=master)](https://travis-ci.org/chris48s/arcgis2geojson)
        [![Coverage Status](https://coveralls.io/repos/github/chris48s/arcgis2geojson/badge.svg?branch=master)](https://coveralls.io/github/chris48s/arcgis2geojson?branch=master)
        ![PyPI Version](https://img.shields.io/pypi/v/arcgis2geojson.svg)
        ![License](https://img.shields.io/pypi/l/arcgis2geojson.svg)
        ![Python Support](https://img.shields.io/pypi/pyversions/arcgis2geojson.svg)
        
        # arcgis2geojson.py
        A Python library for converting ArcGIS JSON to GeoJSON: A partial port of ESRI's [arcgis-to-geojson-utils](https://github.com/Esri/arcgis-to-geojson-utils/).
        
        ## Installation
        ```
        pip install arcgis2geojson
        ```
        
        ## Usage
        
        ```python
        >>> input = {
        ...     'attributes': {'OBJECTID': 123},
        ...     'geometry': {   'rings': [   [   [41.8359375, 71.015625],
        ...                                      [56.953125, 33.75],
        ...                                      [21.796875, 36.5625],
        ...                                      [41.8359375, 71.015625]]],
        ...                     'spatialReference': {'wkid': 4326}}}
        >>> from arcgis2geojson import arcgis2geojson
        >>> output = arcgis2geojson(input)
        >>> import pprint
        >>> pp = pprint.PrettyPrinter(indent=4)
        >>> pp.pprint(output)
        {   'geometry': {   'coordinates': [   [   [41.8359375, 71.015625],
                                                   [56.953125, 33.75],
                                                   [21.796875, 36.5625],
                                                   [41.8359375, 71.015625]]],
                            'type': 'Polygon'},
            'id': 123,
            'properties': {'OBJECTID': 123},
            'type': 'Feature'}
        ```
        
        ## Licensing
        
        arcgis2geojson is a derivative work of ESRI's [arcgis-to-geojson-utils](https://github.com/Esri/arcgis-to-geojson-utils/). Original code is Copyright 2015 by Esri and was licensed under [the Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
        
        arcgis2geojson is made available under the MIT License.
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Provides-Extra: testing
