Calculate the area from latitude longitude coordinates list
Project description
geoarea
This is a fork from geojson-area (python). Calculate the area from lists of latitude and longitude coordinates.
Installation
$ pip install geoarea
Usage
Simply pass a list of latitude and longitude
>>> from geoarea import area
>>> latitude_world = [-90, 90, 90, -90, -90]
>>> longitude_world = [-180, -180, 180, 180, -180]
>>> area(latitude_world, longitude_world)
511207893395811.06
Test
$ python test.py
Credit
References
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geoarea-0.1.3.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file geoarea-0.1.3.tar.gz
.
File metadata
- Download URL: geoarea-0.1.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618acef5e90dcdd82b086d9f709e023092b2c6f492f90f6880d035a6e5b24c72 |
|
MD5 | 26fe1891450538b7785aedf171924658 |
|
BLAKE2b-256 | e815b068f374ad7e1c3b11a6d6fee7c719fbeaa03bd1e1bc9940d4de9eb3258f |
File details
Details for the file geoarea-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: geoarea-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb6e3bed0856700ad3725ab8d84d0c4b212c8f316f2cda3610736283be47409d |
|
MD5 | 70cf764c1a1c89fe2a1a5fb8652b1a36 |
|
BLAKE2b-256 | c04564440a20d32652f37cdc40c77106893faf160c34d0408904368038e3f3ab |