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.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

geobuffers-0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geobuffers-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 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.1.tar.gz
Algorithm Hash digest
SHA256 1b9add784ca2fd8cd31fd28c7e3c9f70238f7f422dd4bceebb08232daffe3a9a
MD5 b151500eb54c0aa68c5db8cfeafea2b8
BLAKE2b-256 c5707ec6e594139fdbceceb5c25d6cca1b0194174986cfacd45dd73c59c6c9ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geobuffers-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dae6cb8c260a7f3b396f76d218bcb503a9fa744a7c7da20890e0928e730a93cf
MD5 bc583c9e6d1654e3afc81162dea6e450
BLAKE2b-256 2eaa3adf92a193fe993b3f6797b419c6fe99fa0cf284b8900f7d8fd5d8772035

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