Skip to main content

V&H (or 'V and H' or 'VH') Coordinates in Python

Project description

V&H (or 'V and H' or 'VH') Coordinates in Python

I created a python class to do V&H coordinate math and conversions. It's something I've done before in perl, and seemed like it might be useful to someone.

For those of you who don't know what V&H coordinates are, consider yourself lucky. V&H coordinates are an old system, created in the late fifties, to map locations for AT&T. According to Voip-Info.org, the system was designed to be easy to use with a slide rule.

AT&T dropped a gird over the US, placed at an angle, so it could get most of Canada, all of the 48 states, and some of Cuba. This allowed an approximate location for any AT&T telephone switch on a grid of roughly 10000 x 10000 points with no fractions or extra decimal places. Hawaii and Alaska don't fit in the 10000 x 10000 scheme, but work fine with bigger numbers.

Telcordia has a hillarious map showing how add-hoc V&H is on this page Telcordia V&H Map

If you've never used V&H before then there's nothing for you to see here. Look at the Telcordia map, have a chuckle and move on.

But for those of you in the telco field who need a python module for V&H, here it is.

The class file: VH.py The test file: testVH.py


Paul Pomerleau is the author of Networking for English Majors, which teaches people with liberal arts and social science degrees how to get jobs in computer networking. You don't need a computer science degree to get a well-paying job in computing.

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

vhpy-0.1.3.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

vhpy-0.1.3-py3-none-any.whl (6.7 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