[GRASS-SVN] r64944 - grass-promo/grassposter/2015_EGU_G7_Python
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 30 13:19:17 PDT 2015
Author: wenzeslaus
Date: 2015-03-30 13:19:17 -0700 (Mon, 30 Mar 2015)
New Revision: 64944
Modified:
grass-promo/grassposter/2015_EGU_G7_Python/main.tex
Log:
reduce not filled boxes (NumPy and ctypes are in PyGRASS box)
Modified: grass-promo/grassposter/2015_EGU_G7_Python/main.tex
===================================================================
--- grass-promo/grassposter/2015_EGU_G7_Python/main.tex 2015-03-30 19:55:16 UTC (rev 64943)
+++ grass-promo/grassposter/2015_EGU_G7_Python/main.tex 2015-03-30 20:19:17 UTC (rev 64944)
@@ -285,47 +285,33 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\block{\blocktitlewrap{PyGRASS interface to C libraries}}{
-Some API examples to convert a raster map to a numpy array and then back to a raster.
+Some API examples to convert a raster map to a NumPy array and then back to a raster.
\includegraphics[width=\linewidth, clip, trim=0 0 0 0]{pygrass_raster_examples}
+In addition to PyGRASS interface, advanced programmers can use \pkg{ctypes} interface
+to access C functions from GRASS GIS libraries directly.
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{\blocktitlewrap{Python script versus GRASS GIS module}}{
-and running code from IDE
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\block{\blocktitlewrap{Testing the code}}{
\cite{Petras2014}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{\blocktitlewrap{GRASS GIS Addons}}{
+\block{\blocktitlewrap{GRASS GIS modules, addons and Python scripts}}{
The GRASS GIS Addons ensure long-term preservation of the code.
Well maintained modules in Addons can be moved to GRASS GIS core.
+and running code from IDE
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{\blocktitlewrap{ctypes interface to C libraries}}{
-
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\block{\blocktitlewrap{Using NumPy}}{
-
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\block{\blocktitlewrap{Alternatives to Python}}{
+GRASS GIS API is not limited only to Python.
GRASS GIS modules are command line tools, so they can be used in shell scripting (e.g. Bash)
-and as subprocesses virtually any language as long as proper environment is set.
-
-The GRASS GIS library povides a C API which is commonly used to create GRASS modules in C and C++.
-
-GRASS GIS modules can be used within R using the \pkg{rgrass7} package.
+and as subprocesses in virtually any language as long as the proper environment is set.
+The GRASS GIS library provides a C API which is commonly used to create GRASS GIS modules in C and C++ programming languages.
+Finally, GRASS GIS modules can be used within R statistical environment using the \pkg{rgrass7} package.
}
More information about the grass-commit
mailing list