Skip to main content

Vincenty

Calculate the geographical distance (in kilometers or miles) between 2 points with extreme accuracy.

This library implements Vincenty’s solution to the inverse geodetic problem. It is based on the WGS 84 reference ellipsoid and is accurate to within 1 mm (!) or better.

This formula is widely used in geographic information systems (GIS) and is much more accurate than methods for computing the great-circle distance (which assume a spherical Earth).

CUDA-friendly

This repo is modification of vincenty package. Since CUDA has some limitations (it doesn’t understand try…except, for example) original code can’t run on GPU.

Example: distance between Boston and New York City

>>> from cuda_friendly_vincenty import vincenty
>>> boston = (-71.0693514, 42.3541165)
>>> newyork = (-73.9680804, 40.7791472)
>>> vincenty(*boston, *newyork)
298396.06

Installation

$ pip install cuda-friendly-vincenty

References

Metadata

Release files for cuda-friendly-vincenty 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cuda-friendly-vincenty 0.1.2
File Size Uploaded Provenance Actions
cuda-friendly-vincenty-0.1.2.tar.gz 2.8 kB Without provenance Details for cuda-friendly-vincenty-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cuda-friendly-vincenty 0.1.2
File Interpreter ABI Platform Actions
cuda_friendly_vincenty-0.1.2-py3-none-any.whl Python 3 none any Details for cuda_friendly_vincenty-0.1.2-py3-none-any.whl

Total release size: 6.1 kB

Release files / cuda-friendly-vincenty-0.1.2.tar.gz

Download URL cuda-friendly-vincenty-0.1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8c4fa686b9e4694db7c58ac239755c3ad7b19ad56cdffe14e8b361c0a7acd697
BLAKE2b-256 checksum
How to use checksums
826664175f126148ecc5518fc3b34f32d311b7cf5f237eac4d313e6109684828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / cuda_friendly_vincenty-0.1.2-py3-none-any.whl

Download URL cuda_friendly_vincenty-0.1.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f588a34deef886e84c731194850df4616f255507e6301d93f41623d4a62a67b
BLAKE2b-256 checksum
How to use checksums
c76b5f40c6ede1ec86e4bfbf5ceba286979943b52c784a08ad351ddeca638d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for cuda-friendly-vincenty 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page