parsewkt

The parser was written to have a clean and complete parser for WKT. Other WKT to python parsers use regular expression to do the same and are more or less complete. I wanted to have a reference implementation that could handle any kind of valid WKT that you throw at it. You can also use it as a reference if you want to write your own parser with grako.

https://github.com/cleder/parsewkt

Advertisements

PyGeoif

PyGeoIf provides a GeoJSON-like protocol for geo-spatial (GIS) vector data. So when you want to write your own geospatial library with support for this protocol you may use pygeoif as a starting point and build your functionality on top of it. You may think of pygeoif as a ‘shapely ultralight’ which lets you construct geometries and perform very basic operations like reading and writing geometries from/to WKT, constructing line strings out of points, polygons from linear rings, multi polygons from polygons, etc.

https://github.com/cleder/pygeoif

Status: Actively developed

Depends on:

Optional extensions:

Python versions: N/A

OS Platforms: N/A

 

Installation:

Pip

pip install pygeoif

Python-Geojson

This library contains: Functions for encoding and decoding GeoJSON formatted data; Classes for all GeoJSON Objects; An implementation of the Python __geo_interface__ Specification.

https://github.com/frewsxcv/python-geojson

Status: N/A

Depends on:

Optional extensions:

Python versions: 2.6, 2.7, 3.2+

OS Platforms: N/A

 

Installation:

Pip

pip install geojson

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

Blog at WordPress.com.

Up ↑