Python GIS
Some Python programs useful for GIS.
pygps, a Python GPS
Features
- Records a track,
- Records notes,
- Shows you satellites,
- Shows you your position,
- Shows you on a map,
- Runs on any machine which supports Python, pygtk, and libglade.
- Downloads maps from terraserver on the fly.
Screenshot
I was in Bombay the other day:

Downloading
Tarball of
source code. There's a binary ipkg in the unstable feed of Familiar.
Documentation
How to get maps. Yes, there are some bugs.
Open Source License
GPL
.
mapview, a Python map browser
Features
- It lets you browse Terraserver-usa map tiles.
- It lets you edit a track file.
Screenshot

Downloading
You can download the current
version. Requires python, gtk, pygtk, and libglade. If you are
running Fedora Core, you already have all of these. Also requires my
LatLongUTMconversion (below).
Roadmap
- Allow mixing between Colorimage and Topo.
- Smooth zooming between scales.
- Write shapefiles, or else just use OGR to be able to write anything.
- Should be able to create a waypoint (single point datum rather than a line).
- Should be able to to create a polygon (area rather than a line).
LatLongUTMconversion, Python code to convert between Lat/Lon and UTM
This Python library code converts between Lat/Long and UTM. I use
it in Pygps, Mapview, and a few other programs. This same algorithm
is available in libproj.
There are python bindings for libproj in Thuban. Thuban is good, but I
don't want my code to depend on Thuban. Also turns out that there are
independent Python bindings for proj.
Downloading
You can download the current version.
Installing
Unpack it, and run "python setup.py install" as root. That will
install it in your site-packages directory and byte-compile it.
ccintersect
A Python library to calculate the intersection of two circles.
Downloading
The code.
Russell Nelson
Last modified: Wed Apr 1 20:03:36 EDT 2009