mapbox-sdk-py

A Python client for Mapbox web services

The Mapbox Python SDK is a low-level client API, not a Resource API such as the ones in boto3 or github3.py. Its methods return objects containing HTTP responses from the Mapbox API.

https://github.com/mapbox/mapbox-sdk-py

Advertisements

upoints

upoints is a collection of GPL v3 licensed modules for working with points on Earth, or other near spherical objects. It allows you to calculate the distance and bearings between points, mangle xearth/xplanet data files, work with online UK trigpoint databases, NOAA’s weather station database and other such location databases.

Previous versions of upoints were called earth_distance, but the name was changed as it no longer reflected the majority of uses the packages was targeted at.

https://pypi.python.org/pypi/upoints/

LatLon

Methods for representing geographic coordinates (latitude and longitude) including the ability to:

– Convert lat/lon strings from almost any format into a LatLon object (analogous to the datetime library’s stptime method)
– Automatically store decimal degrees, decimal minutes, and degree, minute, second information in a LatLon object
– Output lat/lon information into a formatted string (analogous to the datetime library’s strftime method)
– Project lat/lon coordinates into some other proj projection
– Calculate distance and heading between lat/lon pairs using either the FAI or WGS84 approximation
– Create a new LatLon object by offsetting an initial coordinate by a distance and heading
– Subtracting one LatLon object from another creates a GeoVector object with distance and heading attributes (analogous to the datetime library’s timedelta object)
– Adding or subtracting a Latlon object and a GeoVector object creates a new LatLon object with the coordinates adjusted by the GeoVector object’s distance and heading
– GeoVector objects can be added, subtracted, multiplied or divided

https://pypi.python.org/pypi/LatLon

Status: Actively developed

Depends on: PyProj

Optional extensions:

Python versions: N/A

OS Platforms: N/A

 

Examples:

Official package examples

https://pypi.python.org/pypi/LatLon

 

Installation:

Pip

pip install latlon

GDAL

This Python package and extensions are a number of tools for programming and manipulating the GDAL Geospatial Data Abstraction Library.

https://pypi.python.org/pypi/GDAL/

Status: Actively developed

Depends on: GDAL C++, Numpy

Optional extensions:

Python versions: 2, 3

OS Platforms: N/A

 

Examples:

Official package examples

https://pcjericks.github.io/py-gdalogr-cookbook/

 

Installation:

Windows binary

http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal

Commandline

python setup.py install

PySpatialite

Pyspatialite is an interface to the SQLite 3.x embedded relational database engine with spatialite extensions. It is almost fully compliant with the Python database API version 2.0 and also exposes the unique features of SQLite and spatialite.

https://github.com/lokkju/pyspatialite

Status: N/A

Depends on: N/A

Optional extensions:

Python versions: N/A

Examples:

Some usage examples


http://false.ekta.is/2011/04/pyspatialite-spatial-queries-in-python-built-on-sqlite3/

Installation:

Commandline

python setup.py install

Blog at WordPress.com.

Up ↑