Skip to main content

Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox'sgeojson-area for Python

Project description

https://travis-ci.org/scisco/area.svg?branch=develop https://badge.fury.io/py/area.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

area-0.9rc0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file area-0.9rc0.tar.gz.

File metadata

  • Download URL: area-0.9rc0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for area-0.9rc0.tar.gz
Algorithm Hash digest
SHA256 f74e3148d5ce90bffc4e05da2716aa8904a348cf29736e2c074e2accade5bb57
MD5 ffa6483441c209a9e1ad693a4ff4d843
BLAKE2b-256 f4fbad2dd6e72d9410caf6b640ba13f5df4de3e0c27a0a9df60c32b4e5963a95

See more details on using hashes here.

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