PyCRS

PyCRS is a pure Python GIS package for reading, writing, and converting between various common coordinate reference system (CRS) string and data source formats.

https://thepythongischallenge.wordpress.com/2015/08/05/pycrs-a-package-for-reading-and-formatting-crs-definitions/

Status: Actively developed

Depends on:

Optional extensions:

Python versions: 2, 3

OS Platforms: N/A

 

Examples:

Official package examples

https://pypi.python.org/pypi/PyCRS

 

Installation:

Pip

pip install pycrs

Advertisements

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

Rasterio

Rasterio employs GDAL under the hood for file I/O and raster formatting. Its functions typically accept and return Numpy ndarrays. Rasterio is designed to make working with geospatial raster data more productive and more fun.

https://github.com/mapbox/rasterio

Status: Actively developed

Depends on: GDAL, Numpy

Optional extensions:

Python versions: 2.6, 2.7, 3.3+

OS Platforms: N/A

Examples:

Warping images

http://sgillies.net/blog/2014/02/25/warping-images-with-rasterio.html

Installation:

Pip

pip install rasterio

OSX binaries

https://pypi.python.org/pypi/rasterio

Windows binaries

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

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

GeographicLib

This is a python implementation of the geodesic routines from GeographicLib. GeographicLib is a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.

https://pypi.python.org/pypi/geographiclib

Status: N/A

Depends on:

Optional extensions:

Python versions: N/A

OS Platforms: N/A

 

Installation:

Pip

pip install geographiclib

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

Python-dbgis

Python-dbgis is a fork of PPyGIS. python-dbgis is an extension to Psycopg and pyspatialite, respectively a PostgreSQL and SQLite database adapter for the Python programming language. python-dbgis support geometry objects used by PostGIS and SpatiaLite by translating between their EWKB representation and Python objects.

https://projects.bioecoforests.com/projects/python-dbgis/

Status: N/A

Depends on: Psycopg, PySpatialite, N/A

Optional extensions:

Python versions: 2.7

OS Platforms: N/A

 

Installation:

Pip

pip install dbgis

Create a free website or blog at WordPress.com.

Up ↑