gis

GIS related utilities.

functions

bits.gis.gprmc_to_degdec(lat, latDirn, lng, lngDirn)[source]

Converts GPRMC formats (Decimal Minutes) to Degrees Decimal.

bits.gis.tinygps_to_degdec(lat, lng)[source]

Converts TinyGPS formats (Decimal Degrees to e-5) to Degrees Decimal.

bits.gis.change_in_latitude(miles)[source]

Given a distance north, return the change in latitude.

bits.gis.change_in_longitude(lat, miles)[source]

Given a latitude and a distance west, return the change in longitude.

bits.gis.calculate_boundingbox(lng, lat, miles)[source]

Given a latitude, longitude and a distance in miles, calculate the co-ordinates of the bounding box 2*miles on long each side with the given co-ordinates at the center.

Project Versions

Table Of Contents

Previous topic

models

Next topic

Cache

This Page