Skip to main content

geobuffers - a minipackage for computing areas around points

Project description

Geobuffers

This repository contains code that allows simple definitions of polygons defined around a coordinate of interest using geodesic distances. Some of the functionality can be reproduced with geopandas buffer functionality.

Instead, all methods here rely on pyproj.Geod geodetic computations using Clarke 1866 Ellipsoid.

Available shapes

Name Parameters Description
square square radius, azimuth_angle Square with a distance center-to-corner radius and rotated by azimuth_angle
triangle triangle radius, azimuth_angle Square with a distance center-to-corner radius and rotated by azimuth_angle
hex hexagon radius, azimuth_angle Hexagon with a distance center-to-vertex radius and rotated by azimuth_angle
13-gon regpol n, radius, azimuth_angle Regular polygon with n vertices radius metres away from the center, with first vertex at azimuth of azimuth_angle degrees
fov fov radius, azimuth_angle, fov_angle Field of view traingle at distance radius, pointing towards angle azimuth_angle with angular width of fov_angle degrees

Example Usage

  import geobuffers as gbf
  from shapely import Point

  my_point = Point([1.0, -1.0])

  square(my_point)

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

geobuffers-0.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

geobuffers-0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file geobuffers-0.1.tar.gz.

File metadata

  • Download URL: geobuffers-0.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for geobuffers-0.1.tar.gz
Algorithm Hash digest
SHA256 7f5888439476173d7dfb6ee6ebba89cda9201d336199085ba63fc396a8c83bcf
MD5 16891ef3fafe388fafb86e48273e0948
BLAKE2b-256 938f3dba9b643df0cd93aa4055d159a00ba2623233928fea3fd2b73486afb9d1

See more details on using hashes here.

File details

Details for the file geobuffers-0.1-py3-none-any.whl.

File metadata

  • Download URL: geobuffers-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for geobuffers-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d828e1271ec437914082359a1ed79114865b0945a1adf23b0a0a5a08eb943a12
MD5 a2c56fbbac5f78c4f4c6d604b3b410e4
BLAKE2b-256 b11b49ffece59bf0c6d97d839346a4d8208e2a866ef923b9d30d914fd1f76bf6

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