Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox'sgeojson-area for Python
Project description
Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python.
Installation
$ pip install area
Usage
>>> from area import area
>>> obj = {'type':'Polygon','coordinates':[[[-180,-90],[-180,90],[180,90],[180,-90],[-180,-90]]]}
>>> area(obj)
511207893395811.06
Credit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
area-1.0.0.tar.gz
(3.9 kB
view details)
File details
Details for the file area-1.0.0.tar.gz
.
File metadata
- Download URL: area-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ce08e207fe484f81dbd4d8e06e6d71c3a518a6d2a2cf21ad78ea3baa5a7b58 |
|
MD5 | a4a1ad1b87e0fc92eaf2baa497d9349a |
|
BLAKE2b-256 | a74772b627dddb4602972b54907a9dbf78a9b40082fa760be49d572209ffd256 |