Posted in Packages

Pixelscan

The pixelscan library provides functions to scan pixels on a grid in a variety of spatial patterns. The library consists of scan generators and coordinate transformations. Scan generators are Python generators that return pixel coordinates in a particular spatial pattern. Coordinate transformations are iterators that apply spatial transformations to the coordinates created by the scan generators. Transformation can be chained to yield very generic transformations.

https://github.com/dpmcmlxxvi/pixelscan

Posted in Packages

Geo sampling

Say you want to learn about the average number of potholes per kilometer of street in a city. Or estimate a similar such quantity. To estimate the quantity, you need to sample locations on the streets. This package helps you sample those locations.

https://pypi.python.org/pypi/geo-sampling/

STATUS: N/A

DEPENDS ON: Shapely, PyShp, PyProj, Matplotlib, UTM, beautifulsoup4, requests

OPTIONAL EXTENSIONS:

PYTHON VERSIONS: N/A

OS PLATFORMS: N/A

Posted in Packages

gis-raster-tools

The gisrastertools is a python module that provides a fast and flexible tool to work with GIS raster files. It includes tools to

  • Given a point (lat,lon) find its location in a raster
  • Aggregate rasters to lower resolutions
  • Align two rasters of different sizes to common area and size
  • Get all the geographical information of raster
  • Create GeoTiff files easily
  • Load GeoTiff files as masked numpy rasters

https://github.com/ozak/gis-raster-tools

STATUS: N/A

DEPENDS ON: Shapely, Numpy, GDAL, Pandas, PyProj, Scikit-image

OPTIONAL EXTENSIONS:

PYTHON VERSIONS: N/A

OS PLATFORMS: N/A

Posted in Packages

gcmap

This is a Python rewrite of the code used to create the Visualizing Facebook Friends visualization in 2010.

The original code was written in R and was built specifically around the Facebook dataset. This rewrite is as a Python module and is built to work on top of any dataset.

If you are looking to visualize a few (<10,000) coordinate pairs, matplotlib with basemap will be more flexible. The visualization implemented by this module is useful when the data alone are sufficient to show the geography.

The algorithm uses a heuristic which attempts to visualize the structure of the pairs rather than their relative importance. In interpreting the results, you should not come to any conclusions about the relative importance of different coordinate pairs.

https://github.com/paulgb/gcmap

STATUS: N/A

DEPENDS ON: aggdraw, Numpy, Pillow, PyProj

OPTIONAL EXTENSIONS:

PYTHON VERSIONS: N/A

OS PLATFORMS: N/A

Posted in Packages

PyGeoprocessing

PyGeoprocessing is a Python/Cython based library that provides a set of commonly used raster, vector, and hydrological operations for GIS processing. Similar functionality can be found in ArcGIS/QGIS raster algebra, ArcGIS zonal statistics, and ArcGIS/GRASS/TauDEM hydrological routing routines.

PyGeoprocessing was developed at the Natural Capital Project to create a programmable, open source, and free GIS processing library to support the ecosystem service software InVEST. PyGeoprocessing’s design prioritizes computation and memory efficient runtimes, easy installation and cross compatibility with other open source and proprietary software licenses, and a simplified set of orthogonal GIS processing routines that interact with GIS data via filename. Specifically the functionally provided by PyGeoprocessing includes

  • programmable raster algebra routine (vectorize_datasets)
  • routines for simplified raster creation and statistics
  • integration with vector based geometry in many of the routines
  • a simplified hydrological routing library

https://pypi.python.org/pypi/pygeoprocessing

STATUS: N/A

DEPENDS ON: Cython, Numpy, Scipy, Shapely, GDAL

OPTIONAL EXTENSIONS:

PYTHON VERSIONS: N/A

OS PLATFORMS: N/A

Posted in Packages

python-geotiepoints

Python-geotiepoints is a python module that interpolates (and extrapolates if needed) geographical tiepoints into a larger geographical grid. This is usefull when the full resolution lon/lat grid is needed while only a lower resolution grid of tiepoints was provided.

Some helper functions are provided to accomodate for satellite data, but the package should be generic enough to be used for any kind of data.

https://github.com/pytroll/python-geotiepoints

STATUS: N/A

DEPENDS ON: Numpy, Scipy, Pyresample

OPTIONAL EXTENSIONS:

PYTHON VERSIONS: N/A

OS PLATFORMS: N/A