geojson-area
============
.. image:: https://travis-ci.org/scisco/area.svg?branch=develop
:target: https://travis-ci.org/scisco/area
.. image:: https://badge.fury.io/py/area.svg
:target: http://badge.fury.io/py/area
Calculate the area inside of any `GeoJSON <http://geojson.org/>`_ geometry. This is a port of Mapbox's `geojson-area <https://github.com/mapbox/geojson-area>`_ for Python.
Installation
------------
.. code::
$ pip install area
Usage
-----
Simply pass a geojson string or python dictionary to the area function and get the area.
.. code::
>>> from area import area
>>> obj = {'type':'Polygon','coordinates':[[[-180,-90],[-180,90],[180,90],[180,-90],[-180,-90]]]}
>>> area(obj)
511207893395811.06
Test
----
.. code::
$ python test.py
Credit
------
- `geojson-area <https://github.com/mapbox/geojson-area>`_
Raw data
{
"_id": null,
"home_page": "https://github.com/scisco/area",
"name": "area",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "geojson area geometry",
"author": "Alireza J (Scisco)",
"author_email": "scisco7@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f4/1b/9e434947304bafaeca6a5760272ded9b43edbcadfe9f15116596b4d6b7eb/area-1.1.1.tar.gz",
"platform": "",
"description": "geojson-area\n============\n\n.. image:: https://travis-ci.org/scisco/area.svg?branch=develop\n :target: https://travis-ci.org/scisco/area\n\n.. image:: https://badge.fury.io/py/area.svg\n :target: http://badge.fury.io/py/area\n\n\n\nCalculate the area inside of any `GeoJSON <http://geojson.org/>`_ geometry. This is a port of Mapbox's `geojson-area <https://github.com/mapbox/geojson-area>`_ for Python.\n\nInstallation\n------------\n\n.. code::\n\n $ pip install area\n\nUsage\n-----\n\nSimply pass a geojson string or python dictionary to the area function and get the area.\n\n.. code::\n\n >>> from area import area\n >>> obj = {'type':'Polygon','coordinates':[[[-180,-90],[-180,90],[180,90],[180,-90],[-180,-90]]]}\n >>> area(obj)\n 511207893395811.06\n\nTest\n----\n\n.. code::\n\n $ python test.py\n\n\nCredit\n------\n\n- `geojson-area <https://github.com/mapbox/geojson-area>`_",
"bugtrack_url": null,
"license": "BSD-2-Clause",
"summary": "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox'sgeojson-area for Python",
"version": "1.1.1",
"split_keywords": [
"geojson",
"area",
"geometry"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7ddd08c7138b140355a7d8e7f13e7b63",
"sha256": "caebb96668ddeddb50e7f56ed236da3b84459f6eb67f0306a652c14e2b8765a2"
},
"downloads": -1,
"filename": "area-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "7ddd08c7138b140355a7d8e7f13e7b63",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4114,
"upload_time": "2018-10-31T14:22:29",
"upload_time_iso_8601": "2018-10-31T14:22:29.054499Z",
"url": "https://files.pythonhosted.org/packages/f4/1b/9e434947304bafaeca6a5760272ded9b43edbcadfe9f15116596b4d6b7eb/area-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-10-31 14:22:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "scisco",
"github_project": "area",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "area"
}