A collection of scripts, models, and tools written in python, sql, or javascript using open source geospatial software (FOSS4G).
SVN Trunk is organized by software and then by project or type.
For example a recent project primarily using postgis and sql for hydrological analysis and modeling can
... [More]
be found in a 'hydro_project' folder within the 'postgis' directory: http://code.google.com/p/dbsgeo/source/browse/trunk/postgis/hydro_model
Note: All code written on Mac OS 10.5 and not tested on other systems unless noted, so if you attempt to run any scripts on linux or windows you'll find slight modifications necessary. Other great repos on google code for foss4g related scripts include:
http://code.google.com/p/perrygeo/ http://code.google.com/p/bpgeo/ http://code.google.com/p/spatialguru/ http://code.google.com/p/maphew/ http://code.google.com/p/flatlandmaps/
Other google code sites with python, sql, and openlayers examples:
http://code.google.com/p/mapnik-utils/ http://code.google.com/p/geodjango-basic-apps/ http://code.google.com/p/rcoos/ http://code.google.com/p/postexperiments/ http://code.google.com/p/postoolbox/ http://code.google.com/p/webprocessingserver/
Further examples of python for geospatial:
http://www.gis.usu.edu/~chrisg/python/ http://crschmidt.net/python/ http://www.ftools.ca/ https://www.msu.edu/~ashton/classes/825/ https://www.msu.edu/~ashton/classes/825/weekly.html http://trac.reprojected.com/qgislite/ http://os.umbrellaconsulting.com/ http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/scripts http://trac.gispython.org/lab/browser/PCL/trunk/examples http://trac.osgeo.org/grass/browser/grass/trunk/swig/python/examples http://code.djangoproject.com/browser/django/trunk/django/contrib/gis http://scm.wald.intevation.org/svn/thuban/trunk/thuban/ http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapscript/python/examples
General Python learning resources:
http://en.wikibooks.org/wiki/Python_Programming/ http://www.rexx.com/~dkuhlman/ [Less]