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 git+https://github.com/efren-cabrera/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.2.tar.gz
(3.6 kB
view hashes)