Skip to main content

Calculate the area from latitude longitude coordinates list

Project description

geoarea

travis

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 hashes)

Uploaded Source

Built Distribution

geoarea-0.1.3-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page