[GRASS-SVN] r30452 - in grass/trunk/swig/python: . examples

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 3 17:52:50 EST 2008


Author: hamish
Date: 2008-03-03 17:52:50 -0500 (Mon, 03 Mar 2008)
New Revision: 30452

Modified:
   grass/trunk/swig/python/README
   grass/trunk/swig/python/examples/m.distance
Log:
add some links

Modified: grass/trunk/swig/python/README
===================================================================
--- grass/trunk/swig/python/README	2008-03-03 18:53:05 UTC (rev 30451)
+++ grass/trunk/swig/python/README	2008-03-03 22:52:50 UTC (rev 30452)
@@ -28,7 +28,9 @@
 	mapset=python_grass6.G_mapset()
 	print mapset
 
-More examples can be found on the GRASS wiki site's Python page:
+See examples/m.distance for an example of a working SWIG-Python module.
+
+More examples can be found on the GRASS Wiki site's Python page:
   http://grass.gdf-hannover.de/wiki/GRASS_and_Python#Python-SWIG-GRASS_interface
 
 

Modified: grass/trunk/swig/python/examples/m.distance
===================================================================
--- grass/trunk/swig/python/examples/m.distance	2008-03-03 18:53:05 UTC (rev 30451)
+++ grass/trunk/swig/python/examples/m.distance	2008-03-03 22:52:50 UTC (rev 30452)
@@ -18,6 +18,8 @@
 #
 ############################################################################
 #
+# Requires GRASS SWIG-Python interface
+# Requires Numeric module (NumPy) from  http://numpy.scipy.org/
 # Requires NumPrt module from  http://geosci.uchicago.edu/csc/numptr/
 #
 



More information about the grass-commit mailing list