{ "info": { "author": "chris48s", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[![Build Status](https://travis-ci.org/chris48s/arcgis2geojson.svg?branch=master)](https://travis-ci.org/chris48s/arcgis2geojson)\n[![Coverage Status](https://coveralls.io/repos/github/chris48s/arcgis2geojson/badge.svg?branch=master)](https://coveralls.io/github/chris48s/arcgis2geojson?branch=master)\n![PyPI Version](https://img.shields.io/pypi/v/arcgis2geojson.svg)\n![License](https://img.shields.io/pypi/l/arcgis2geojson.svg)\n![Python Support](https://img.shields.io/pypi/pyversions/arcgis2geojson.svg)\n\n# arcgis2geojson.py\nA 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/).\n\n## Installation\n```\npip install arcgis2geojson\n```\n\n## Usage\n\n### As a Library\n\n```python\n>>> input = {\n... 'attributes': {'OBJECTID': 123},\n... 'geometry': { 'rings': [ [ [41.8359375, 71.015625],\n... [56.953125, 33.75],\n... [21.796875, 36.5625],\n... [41.8359375, 71.015625]]],\n... 'spatialReference': {'wkid': 4326}}}\n>>> from arcgis2geojson import arcgis2geojson\n>>> output = arcgis2geojson(input)\n>>> import pprint\n>>> pp = pprint.PrettyPrinter(indent=4)\n>>> pp.pprint(output)\n{ 'geometry': { 'coordinates': [ [ [41.8359375, 71.015625],\n [56.953125, 33.75],\n [21.796875, 36.5625],\n [41.8359375, 71.015625]]],\n 'type': 'Polygon'},\n 'id': 123,\n 'properties': {'OBJECTID': 123},\n 'type': 'Feature'}\n```\n\n### On the Console\n\n```sh\n# convert ArcGIS json file to GeoJOSN file\n$ arcgis2geojson arcgis.json > geo.json\n\n# fetch ArcGIS json from the web and convert to GeoJSON\n$ curl \"https://myserver.com/arcgis.json\" | arcgis2geojson\n```\n\n\n## Licensing\n\narcgis2geojson 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).\n\narcgis2geojson is made available under the MIT License.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chris48s/arcgis2geojson/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "arcgis2geojson", "package_url": "https://pypi.org/project/arcgis2geojson/", "platform": "", "project_url": "https://pypi.org/project/arcgis2geojson/", "project_urls": { "Homepage": "https://github.com/chris48s/arcgis2geojson/" }, "release_url": "https://pypi.org/project/arcgis2geojson/1.5.0/", "requires_dist": null, "requires_python": "", "summary": "A Python library for converting ArcGIS JSON to GeoJSON", "version": "1.5.0" }, "last_serial": 4922778, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "d3afca36d28d376ba35deec12307c9d2", "sha256": "aefa7d18a8d38ae6f13a7e90500e510db6a0ede329a9c20b714f1f339d2ee63b" }, "downloads": -1, "filename": "arcgis2geojson-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d3afca36d28d376ba35deec12307c9d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3143, "upload_time": "2017-10-25T18:48:21", "url": "https://files.pythonhosted.org/packages/39/67/158d88c6860852f095980caea7291d0632f4b55d69139e515b89c3a16e31/arcgis2geojson-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1257e3ff9aafa491fa51c8865e38283b", "sha256": "69545240c00d922ff826777805e5bfd9f4be55bb55e273348a730f55693b9b5f" }, "downloads": -1, "filename": "arcgis2geojson-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1257e3ff9aafa491fa51c8865e38283b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3148, "upload_time": "2017-10-26T20:01:33", "url": "https://files.pythonhosted.org/packages/e3/81/556360576f028ee811800a80092a74cfef737abb02615e98250585601d7a/arcgis2geojson-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "fc564d046f63fd3bd0a5461600f950e8", "sha256": "d3f71eb05dbb7c29261b162f2e37af43642b2e0f7767a0c1086bc29b54c3d080" }, "downloads": -1, "filename": "arcgis2geojson-1.0.4.tar.gz", "has_sig": false, "md5_digest": "fc564d046f63fd3bd0a5461600f950e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3272, "upload_time": "2017-12-29T11:47:58", "url": "https://files.pythonhosted.org/packages/ff/48/99c3151e924dfe3786a8cf5fc5427bfd08297b99a97691d266161a7c21f0/arcgis2geojson-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "868e65cffcc5e1fecac71d3a5af92cd0", "sha256": "f3d6a1df325b99476e976d38cd097cb313d04966b812a61c70bb77fd4aa0a164" }, "downloads": -1, "filename": "arcgis2geojson-1.1.0.tar.gz", "has_sig": false, "md5_digest": "868e65cffcc5e1fecac71d3a5af92cd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3531, "upload_time": "2018-02-26T19:43:37", "url": "https://files.pythonhosted.org/packages/86/69/bc3607df43e33df1777501c20c442dd54546b4f38bfabc6f58c6940f14fa/arcgis2geojson-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "334c4838f2397cd06c5463dced841ccb", "sha256": "e758cc377363781699f2713e20e5070453f6b159956aa2e4e3d737d6a9792c6b" }, "downloads": -1, "filename": "arcgis2geojson-1.1.1.tar.gz", "has_sig": false, "md5_digest": "334c4838f2397cd06c5463dced841ccb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4027, "upload_time": "2018-02-28T19:15:43", "url": "https://files.pythonhosted.org/packages/f7/a9/10708c6dce1d1d268d2c408359dc76549c77990c9130af9f536d05a29c8b/arcgis2geojson-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "2f3d2f3f333c6f585fb6291589db6bb4", "sha256": "fe4f75e55ac6c5841ad9ad41f8f346a3556196aad6622ea63026ff8c3eb15b5c" }, "downloads": -1, "filename": "arcgis2geojson-1.2.0.tar.gz", "has_sig": false, "md5_digest": "2f3d2f3f333c6f585fb6291589db6bb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4126, "upload_time": "2018-03-30T12:07:46", "url": "https://files.pythonhosted.org/packages/83/47/a065e6610a997096eb2db3b052dcfa094b8e149dda5f9b3b6d94358275c2/arcgis2geojson-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "84e8d66de79295dae1868ad612ea2e39", "sha256": "02d26d9016babd447e6c80b8292f883b826efb65f0f7a8b5eb4cdacf42199654" }, "downloads": -1, "filename": "arcgis2geojson-1.3.0.tar.gz", "has_sig": false, "md5_digest": "84e8d66de79295dae1868ad612ea2e39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4223, "upload_time": "2018-07-07T13:02:01", "url": "https://files.pythonhosted.org/packages/70/e8/e6053975b6bdf96584fcd78864b20a2d7b30d7dcb9a5082cb250b1801210/arcgis2geojson-1.3.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "786a076a0c8b41e157da278b66627eb4", "sha256": "e8f7078e47f4a85dda557736989afcaf30edeae0f1c34f50b18452646b9b4c48" }, "downloads": -1, "filename": "arcgis2geojson-1.4.0.tar.gz", "has_sig": false, "md5_digest": "786a076a0c8b41e157da278b66627eb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4212, "upload_time": "2018-11-09T20:53:13", "url": "https://files.pythonhosted.org/packages/11/b6/de1ad83d3bc7165bb1558d942050e4267de0bb8c12af3a089b54cc89c2bd/arcgis2geojson-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "192b841fbb79a9aba4ff09ce715d9f13", "sha256": "95f42cd835bbeddfc4a7fb43a84f10f258806a86bd7da67d8ee34d1e04e870b3" }, "downloads": -1, "filename": "arcgis2geojson-1.5.0.tar.gz", "has_sig": false, "md5_digest": "192b841fbb79a9aba4ff09ce715d9f13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4707, "upload_time": "2019-03-10T21:39:46", "url": "https://files.pythonhosted.org/packages/08/a9/ed19dbadc7faef56cba8d94025e0873122d4731e4fb635bbedf27154d56a/arcgis2geojson-1.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "192b841fbb79a9aba4ff09ce715d9f13", "sha256": "95f42cd835bbeddfc4a7fb43a84f10f258806a86bd7da67d8ee34d1e04e870b3" }, "downloads": -1, "filename": "arcgis2geojson-1.5.0.tar.gz", "has_sig": false, "md5_digest": "192b841fbb79a9aba4ff09ce715d9f13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4707, "upload_time": "2019-03-10T21:39:46", "url": "https://files.pythonhosted.org/packages/08/a9/ed19dbadc7faef56cba8d94025e0873122d4731e4fb635bbedf27154d56a/arcgis2geojson-1.5.0.tar.gz" } ] }