[GRASS-SVN] r47536 - in grass/trunk: . general/g.region gui/wxpython/xml include include/Make lib/dspf lib/gpde lib/gpde/test lib/manage lib/ogsf lib/python/ctypes lib/raster3d lib/raster3d/test locale/po raster raster/r.colors raster/r.colors.out raster/r.mapcalc raster/r.to.rast3 raster/r.to.rast3elev raster/r.univar raster3d raster3d/r3.cross.rast raster3d/r3.gwflow raster3d/r3.in.ascii raster3d/r3.in.v5d raster3d/r3.info raster3d/r3.mask raster3d/r3.mkdspf raster3d/r3.null raster3d/r3.out.ascii raster3d/r3.out.v5d raster3d/r3.out.vtk raster3d/r3.retile raster3d/r3.showdspf raster3d/r3.stats raster3d/r3.timestamp raster3d/r3.to.rast vector/v.to.rast3 vector/v.vol.rst visualization/nviz/scripts visualization/nviz/src visualization/nviz2/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 10 13:20:14 EDT 2011


Author: martinl
Date: 2011-08-10 10:20:14 -0700 (Wed, 10 Aug 2011)
New Revision: 47536

Modified:
   grass/trunk/AUTHORS
   grass/trunk/general/g.region/Makefile
   grass/trunk/general/g.region/main.c
   grass/trunk/gui/wxpython/xml/menudata.xml
   grass/trunk/include/Make/Grass.make
   grass/trunk/include/gsurf.h
   grass/trunk/include/raster3d.h
   grass/trunk/include/raster3ddefs.h
   grass/trunk/lib/dspf/viz.h
   grass/trunk/lib/gpde/Makefile
   grass/trunk/lib/gpde/N_arrays_io.c
   grass/trunk/lib/gpde/N_geom.c
   grass/trunk/lib/gpde/N_pde.h
   grass/trunk/lib/gpde/gpdelib.dox
   grass/trunk/lib/gpde/test/Makefile
   grass/trunk/lib/gpde/test/test_arrays.c
   grass/trunk/lib/gpde/test/test_geom.c
   grass/trunk/lib/gpde/test/test_main.c
   grass/trunk/lib/manage/Makefile
   grass/trunk/lib/ogsf/GVL2.c
   grass/trunk/lib/ogsf/gvl.c
   grass/trunk/lib/ogsf/gvl_file.c
   grass/trunk/lib/python/ctypes/Makefile
   grass/trunk/lib/raster3d/G3d.h_unused
   grass/trunk/lib/raster3d/Makefile
   grass/trunk/lib/raster3d/cache.c
   grass/trunk/lib/raster3d/cache1.c
   grass/trunk/lib/raster3d/cats.c
   grass/trunk/lib/raster3d/changeprecision.c
   grass/trunk/lib/raster3d/changetype.c
   grass/trunk/lib/raster3d/close.c
   grass/trunk/lib/raster3d/color.c
   grass/trunk/lib/raster3d/defaults.c
   grass/trunk/lib/raster3d/doubleio.c
   grass/trunk/lib/raster3d/filecompare.c
   grass/trunk/lib/raster3d/filename.c
   grass/trunk/lib/raster3d/fpcompress.c
   grass/trunk/lib/raster3d/fpxdr.c
   grass/trunk/lib/raster3d/getblock.c
   grass/trunk/lib/raster3d/getvalue.c
   grass/trunk/lib/raster3d/header.c
   grass/trunk/lib/raster3d/headerinfo.c
   grass/trunk/lib/raster3d/history.c
   grass/trunk/lib/raster3d/index.c
   grass/trunk/lib/raster3d/intio.c
   grass/trunk/lib/raster3d/lib.dox
   grass/trunk/lib/raster3d/long.c
   grass/trunk/lib/raster3d/mapset.c
   grass/trunk/lib/raster3d/mask.c
   grass/trunk/lib/raster3d/misc.c
   grass/trunk/lib/raster3d/open.c
   grass/trunk/lib/raster3d/open2.c
   grass/trunk/lib/raster3d/param.c
   grass/trunk/lib/raster3d/putvalue.c
   grass/trunk/lib/raster3d/range.c
   grass/trunk/lib/raster3d/raster3d_intern.h
   grass/trunk/lib/raster3d/region.c
   grass/trunk/lib/raster3d/resample.c
   grass/trunk/lib/raster3d/retile.c
   grass/trunk/lib/raster3d/test/Makefile
   grass/trunk/lib/raster3d/test/test_coordinate_transform.c
   grass/trunk/lib/raster3d/test/test_g3d_lib.h
   grass/trunk/lib/raster3d/test/test_put_get_value.c
   grass/trunk/lib/raster3d/tilealloc.c
   grass/trunk/lib/raster3d/tileio.c
   grass/trunk/lib/raster3d/tilemath.c
   grass/trunk/lib/raster3d/tilenull.c
   grass/trunk/lib/raster3d/tileread.c
   grass/trunk/lib/raster3d/tilewrite.c
   grass/trunk/lib/raster3d/volume.c
   grass/trunk/lib/raster3d/volume_layout.xcf
   grass/trunk/lib/raster3d/window.c
   grass/trunk/lib/raster3d/windowio.c
   grass/trunk/locale/po/grasslibs_de.po
   grass/trunk/locale/po/grassmods_ar.po
   grass/trunk/locale/po/grassmods_cs.po
   grass/trunk/locale/po/grassmods_de.po
   grass/trunk/locale/po/grassmods_el.po
   grass/trunk/locale/po/grassmods_es.po
   grass/trunk/locale/po/grassmods_fr.po
   grass/trunk/locale/po/grassmods_hi.po
   grass/trunk/locale/po/grassmods_it.po
   grass/trunk/locale/po/grassmods_ja.po
   grass/trunk/locale/po/grassmods_ko.po
   grass/trunk/locale/po/grassmods_lv.po
   grass/trunk/locale/po/grassmods_mr.po
   grass/trunk/locale/po/grassmods_pl.po
   grass/trunk/locale/po/grassmods_pt.po
   grass/trunk/locale/po/grassmods_pt_br.po
   grass/trunk/locale/po/grassmods_ru.po
   grass/trunk/locale/po/grassmods_sl.po
   grass/trunk/locale/po/grassmods_th.po
   grass/trunk/locale/po/grassmods_tr.po
   grass/trunk/locale/po/grassmods_vi.po
   grass/trunk/locale/po/grassmods_zh.po
   grass/trunk/locale/po/grasswxpy_cs.po
   grass/trunk/locale/po/grasswxpy_de.po
   grass/trunk/locale/po/grasswxpy_el.po
   grass/trunk/locale/po/grasswxpy_es.po
   grass/trunk/locale/po/grasswxpy_fr.po
   grass/trunk/locale/po/grasswxpy_id.po
   grass/trunk/locale/po/grasswxpy_it.po
   grass/trunk/locale/po/grasswxpy_ja.po
   grass/trunk/locale/po/grasswxpy_ml.po
   grass/trunk/locale/po/grasswxpy_pl.po
   grass/trunk/locale/po/grasswxpy_pt.po
   grass/trunk/locale/po/grasswxpy_pt_br.po
   grass/trunk/locale/po/grasswxpy_ru.po
   grass/trunk/locale/po/grasswxpy_th.po
   grass/trunk/locale/po/grasswxpy_tr.po
   grass/trunk/locale/po/grasswxpy_vi.po
   grass/trunk/locale/po/grasswxpy_zh.po
   grass/trunk/raster/r.colors.out/Makefile
   grass/trunk/raster/r.colors/Makefile
   grass/trunk/raster/r.colors/stats.c
   grass/trunk/raster/r.mapcalc/Makefile
   grass/trunk/raster/r.mapcalc/globals3.h
   grass/trunk/raster/r.mapcalc/map3.c
   grass/trunk/raster/r.mapcalc/xcoor3.c
   grass/trunk/raster/r.to.rast3/Makefile
   grass/trunk/raster/r.to.rast3/main.c
   grass/trunk/raster/r.to.rast3/r.to.rast3.html
   grass/trunk/raster/r.to.rast3elev/Makefile
   grass/trunk/raster/r.to.rast3elev/main.c
   grass/trunk/raster/r.univar/Makefile
   grass/trunk/raster/r.univar/r3.univar_main.c
   grass/trunk/raster/rasterintro.html
   grass/trunk/raster3d/r3.cross.rast/Makefile
   grass/trunk/raster3d/r3.cross.rast/main.c
   grass/trunk/raster3d/r3.cross.rast/r3.cross.rast.html
   grass/trunk/raster3d/r3.gwflow/Makefile
   grass/trunk/raster3d/r3.gwflow/main.c
   grass/trunk/raster3d/r3.in.ascii/Makefile
   grass/trunk/raster3d/r3.in.ascii/main.c
   grass/trunk/raster3d/r3.in.ascii/r3.in.ascii.html
   grass/trunk/raster3d/r3.in.v5d/Makefile
   grass/trunk/raster3d/r3.in.v5d/main.c
   grass/trunk/raster3d/r3.info/Makefile
   grass/trunk/raster3d/r3.info/r3.info.main.c
   grass/trunk/raster3d/r3.mask/Makefile
   grass/trunk/raster3d/r3.mask/main.c
   grass/trunk/raster3d/r3.mask/r3.mask.html
   grass/trunk/raster3d/r3.mkdspf/Makefile
   grass/trunk/raster3d/r3.mkdspf/iso_surface.c
   grass/trunk/raster3d/r3.mkdspf/local_proto.h
   grass/trunk/raster3d/r3.mkdspf/main.c
   grass/trunk/raster3d/r3.mkdspf/make_header.c
   grass/trunk/raster3d/r3.mkdspf/r3_data.c
   grass/trunk/raster3d/r3.null/Makefile
   grass/trunk/raster3d/r3.null/main.c
   grass/trunk/raster3d/r3.out.ascii/Makefile
   grass/trunk/raster3d/r3.out.ascii/main.c
   grass/trunk/raster3d/r3.out.ascii/r3.out.ascii.html
   grass/trunk/raster3d/r3.out.v5d/BUG
   grass/trunk/raster3d/r3.out.v5d/Makefile
   grass/trunk/raster3d/r3.out.v5d/main.c
   grass/trunk/raster3d/r3.out.v5d/r3.out.v5d.html
   grass/trunk/raster3d/r3.out.vtk/Makefile
   grass/trunk/raster3d/r3.out.vtk/errorHandling.c
   grass/trunk/raster3d/r3.out.vtk/errorHandling.h
   grass/trunk/raster3d/r3.out.vtk/globalDefs.h
   grass/trunk/raster3d/r3.out.vtk/main.c
   grass/trunk/raster3d/r3.out.vtk/parameters.c
   grass/trunk/raster3d/r3.out.vtk/parameters.h
   grass/trunk/raster3d/r3.out.vtk/r3.out.vtk.html
   grass/trunk/raster3d/r3.out.vtk/writeVTKData.c
   grass/trunk/raster3d/r3.out.vtk/writeVTKData.h
   grass/trunk/raster3d/r3.out.vtk/writeVTKHead.c
   grass/trunk/raster3d/r3.out.vtk/writeVTKHead.h
   grass/trunk/raster3d/r3.retile/Makefile
   grass/trunk/raster3d/r3.retile/main.c
   grass/trunk/raster3d/r3.retile/r3.retile.html
   grass/trunk/raster3d/r3.showdspf/Makefile
   grass/trunk/raster3d/r3.showdspf/init_caps.c
   grass/trunk/raster3d/r3.showdspf/main_ogl.c
   grass/trunk/raster3d/r3.showdspf/make_header.c
   grass/trunk/raster3d/r3.showdspf/vizual2.h
   grass/trunk/raster3d/r3.stats/Makefile
   grass/trunk/raster3d/r3.stats/main.c
   grass/trunk/raster3d/r3.timestamp/Makefile
   grass/trunk/raster3d/r3.to.rast/Makefile
   grass/trunk/raster3d/r3.to.rast/main.c
   grass/trunk/raster3d/r3.to.rast/r3.to.rast.html
   grass/trunk/raster3d/raster3dintro.html
   grass/trunk/vector/v.to.rast3/Makefile
   grass/trunk/vector/v.to.rast3/main.c
   grass/trunk/vector/v.vol.rst/Makefile
   grass/trunk/vector/v.vol.rst/main.c
   grass/trunk/vector/v.vol.rst/user1.c
   grass/trunk/vector/v.vol.rst/userglobs.h
   grass/trunk/visualization/nviz/scripts/mapBrowser.tcl
   grass/trunk/visualization/nviz/src/Makefile
   grass/trunk/visualization/nviz2/cmd/Makefile
Log:
G3D -> RASTER3D


Modified: grass/trunk/AUTHORS
===================================================================
--- grass/trunk/AUTHORS	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/AUTHORS	2011-08-10 17:20:14 UTC (rev 47536)
@@ -276,7 +276,7 @@
                                                 interpolation (RST) 
                                                 and erosion modeling)
  Helena Mitasova <hmitaso unity.ncsu.edu>      (interpolation modules, NVIZ,
-                                                G3D, erosion modelling)
+                                                RASTER3D, erosion modelling)
  Eric G. Miller  <egm2 jps.net>                (sites format, new autoconf 
                                                 system, bugfixes etc.)
  Roger S. Miller <rgrmill rt66.com>            (raster modules, r.drain etc.)
@@ -340,9 +340,9 @@
 
 Former Institutions
  - University of Illinois at Urbana-Champaign, USA
-   Helena Mitasova <hmitaso unity.ncsu.edu> (interpolation modules, NVIZ, G3D)
+   Helena Mitasova <hmitaso unity.ncsu.edu> (interpolation modules, NVIZ, RASTER3D)
    William Brown   <brown gis.uiuc.edu>     (libraries, interpolation modules, 
-					     NVIZ, G3D)
+					     NVIZ, RASTER3D)
 
  - National Center for Supercomputing Applications, USA
    Lubos Mitas (multivariate spline interpolation (RST) and erosion modeling)

Modified: grass/trunk/general/g.region/Makefile
===================================================================
--- grass/trunk/general/g.region/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/general/g.region/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM = g.region
 
-LIBES = $(GPROJLIB) $(VECTORLIB) $(G3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB) $(PROJLIB)
-DEPENDENCIES = $(GPROJDEP) $(VECTORDEP) $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(GPROJLIB) $(VECTORLIB) $(RASTER3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB) $(PROJLIB)
+DEPENDENCIES = $(GPROJDEP) $(VECTORDEP) $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 EXTRA_INC = $(VECT_INC) $(PROJINC)
 EXTRA_CFLAGS = $(VECT_CFLAGS)
 

Modified: grass/trunk/general/g.region/main.c
===================================================================
--- grass/trunk/general/g.region/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/general/g.region/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -483,7 +483,7 @@
 
     /* raster3d= */
     if ((name = parm.raster3d->answer)) {
-	G3D_Region win;
+	RASTER3D_Region win;
 
 	if ((mapset = G_find_grid3(name, "")) == NULL)
 	    G_fatal_error(_("3D raster map <%s> not found"), name);

Modified: grass/trunk/gui/wxpython/xml/menudata.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/menudata.xml	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/gui/wxpython/xml/menudata.xml	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2965,7 +2965,7 @@
     </menuitem>
    	<menuitem>
 	  <label>Interpolate volume from points</label>
-	  <help>Interpolates point data to a G3D grid volume using regularized spline with tension (RST) algorithm.</help>
+	  <help>Interpolates point data to a RASTER3D grid volume using regularized spline with tension (RST) algorithm.</help>
 	  <keywords>vector,surface,interpolation,RST</keywords>
 	  <handler>OnMenuCmd</handler>
 	  <command>v.vol.rst</command>

Modified: grass/trunk/include/Make/Grass.make
===================================================================
--- grass/trunk/include/Make/Grass.make	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/include/Make/Grass.make	2011-08-10 17:20:14 UTC (rev 47536)
@@ -131,7 +131,7 @@
 	DRIVER:driver \
 	DSPF:dspf \
 	FORM:form \
-	G3D:g3d \
+	RASTER3D:g3d \
 	GIS:gis \
 	GMATH:gmath \
 	GPDE:gpde \
@@ -195,10 +195,10 @@
 DRIVERDEPS       = $(GISLIB) $(FTLIB) $(ICONVLIB) $(MATHLIB)
 DSPFDEPS         = $(GISLIB)
 FORMDEPS         = $(DBMILIB) $(GISLIB)
-G3DDEPS          = $(RASTERLIB) $(GISLIB) $(XDRLIB)
+RASTER3DDEPS          = $(RASTERLIB) $(GISLIB) $(XDRLIB)
 GISDEPS          = $(DATETIMELIB) $(ZLIBLIBPATH) $(ZLIB) $(INTLLIB) $(REGEXLIBPATH) $(REGEXLIB) $(ICONVLIB) $(PTHREADLIBPATH) $(PTHREADLIB) $(MATHLIB)
 GMATHDEPS        = $(GISLIB) $(FFTWLIB) $(LAPACKLIB) $(BLASLIB) $(CCMATHLIB)
-GPDEDEPS         = $(G3DLIB) $(RASTERLIB) $(GISLIB) $(GMATHLIB) $(MATHLIB)
+GPDEDEPS         = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB) $(GMATHLIB) $(MATHLIB)
 GPROJDEPS        = $(GISLIB) $(GDALLIBS) $(PROJLIB) $(MATHLIB)
 HTMLDRIVERDEPS   = $(DRIVERLIB) $(GISLIB) $(MATHLIB)
 IMAGERYDEPS      = $(GISLIB) $(MATHLIB)
@@ -206,9 +206,9 @@
 #IORTHODEPS       = $(IMAGERYLIB) $(GISLIB)
 LIDARDEPS        = $(VECTORLIB) $(DBMILIB) $(GMATHLIB) $(RASTERLIB) $(SEGMENTLIB) $(GISLIB) $(MATHLIB)
 LRSDEPS          = $(DBMILIB) $(GISLIB)
-MANAGEDEPS       = $(G3DLIB) $(VECTORLIB) $(GISLIB)
+MANAGEDEPS       = $(RASTER3DLIB) $(VECTORLIB) $(GISLIB)
 NVIZDEPS         = $(OGSFLIB) $(GISLIB) $(OPENGLLIB)
-OGSFDEPS         = $(BITMAPLIB) $(G3DLIB) $(VECTORLIB) $(DBMILIB) $(RASTERLIB) $(GISLIB) $(FFMPEGLIBPATH) $(FFMPEGLIB) $(TIFFLIBPATH) $(TIFFLIB) $(OPENGLLIB) $(OPENGLULIB) $(MATHLIB)
+OGSFDEPS         = $(BITMAPLIB) $(RASTER3DLIB) $(VECTORLIB) $(DBMILIB) $(RASTERLIB) $(GISLIB) $(FFMPEGLIBPATH) $(FFMPEGLIB) $(TIFFLIBPATH) $(TIFFLIB) $(OPENGLLIB) $(OPENGLULIB) $(MATHLIB)
 PNGDRIVERDEPS    = $(DRIVERLIB) $(GISLIB) $(PNGLIB) $(MATHLIB)
 PSDRIVERDEPS     = $(DRIVERLIB) $(GISLIB) $(MATHLIB)
 RASTERDEPS       = $(GISLIB) $(XDRLIB) $(SOCKLIB) $(MATHLIB)

Modified: grass/trunk/include/gsurf.h
===================================================================
--- grass/trunk/include/gsurf.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/include/gsurf.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -112,7 +112,7 @@
 #define LT_SHOW_LABELS   0x00002000
 
 /* types of volume files */
-#define VOL_FTYPE_G3D        0
+#define VOL_FTYPE_RASTER3D        0
 
 /* types of volume values */
 #define VOL_DTYPE_FLOAT     0

Modified: grass/trunk/include/raster3d.h
===================================================================
--- grass/trunk/include/raster3d.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/include/raster3d.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4,44 +4,44 @@
 #include <grass/gis.h>
 #include <grass/raster.h>
 
-#define G3D_TILE_SAME_AS_FILE 2
+#define RASTER3D_TILE_SAME_AS_FILE 2
 
-#define G3D_NO_COMPRESSION 0
-#define G3D_COMPRESSION 1
+#define RASTER3D_NO_COMPRESSION 0
+#define RASTER3D_COMPRESSION 1
 
-#define G3D_USE_LZW 1
-#define G3D_NO_LZW 0
+#define RASTER3D_USE_LZW 1
+#define RASTER3D_NO_LZW 0
 
-#define G3D_USE_RLE 1
-#define G3D_NO_RLE 0
+#define RASTER3D_USE_RLE 1
+#define RASTER3D_NO_RLE 0
 
-#define G3D_MAX_PRECISION -1
+#define RASTER3D_MAX_PRECISION -1
 
-#define G3D_NO_CACHE 0
-#define G3D_USE_CACHE_DEFAULT -1
-#define G3D_USE_CACHE_X -2
-#define G3D_USE_CACHE_Y -3
-#define G3D_USE_CACHE_Z -4
-#define G3D_USE_CACHE_XY -5
-#define G3D_USE_CACHE_XZ -6
-#define G3D_USE_CACHE_YZ -7
-#define G3D_USE_CACHE_XYZ -8
+#define RASTER3D_NO_CACHE 0
+#define RASTER3D_USE_CACHE_DEFAULT -1
+#define RASTER3D_USE_CACHE_X -2
+#define RASTER3D_USE_CACHE_Y -3
+#define RASTER3D_USE_CACHE_Z -4
+#define RASTER3D_USE_CACHE_XY -5
+#define RASTER3D_USE_CACHE_XZ -6
+#define RASTER3D_USE_CACHE_YZ -7
+#define RASTER3D_USE_CACHE_XYZ -8
 
-#define G3D_DEFAULT_WINDOW NULL
+#define RASTER3D_DEFAULT_WINDOW NULL
 
-#define G3D_DIRECTORY      "grid3"
-#define G3D_CELL_ELEMENT   "cell"
-#define G3D_CATS_ELEMENT   "cats"
-#define G3D_RANGE_ELEMENT  "range"
-#define G3D_HEADER_ELEMENT "cellhd"
-#define G3D_HISTORY_ELEMENT "hist"
-#define G3D_COLOR_ELEMENT  "color"
-#define G3D_COLOR2_DIRECTORY  "colr2"
-#define G3D_MASK_MAP       "G3D_MASK"
-#define G3D_WINDOW_ELEMENT   "WIND3"
-#define G3D_DEFAULT_WINDOW_ELEMENT   "DEFAULT_WIND3"
-#define G3D_WINDOW_DATABASE "windows3d"
-#define G3D_PERMANENT_MAPSET "PERMANENT"
+#define RASTER3D_DIRECTORY      "grid3"
+#define RASTER3D_CELL_ELEMENT   "cell"
+#define RASTER3D_CATS_ELEMENT   "cats"
+#define RASTER3D_RANGE_ELEMENT  "range"
+#define RASTER3D_HEADER_ELEMENT "cellhd"
+#define RASTER3D_HISTORY_ELEMENT "hist"
+#define RASTER3D_COLOR_ELEMENT  "color"
+#define RASTER3D_COLOR2_DIRECTORY  "colr2"
+#define RASTER3D_MASK_MAP       "RASTER3D_MASK"
+#define RASTER3D_WINDOW_ELEMENT   "WIND3"
+#define RASTER3D_DEFAULT_WINDOW_ELEMENT   "DEFAULT_WIND3"
+#define RASTER3D_WINDOW_DATABASE "windows3d"
+#define RASTER3D_PERMANENT_MAPSET "PERMANENT"
 
 /*---------------------------------------------------------------------------*/
 
@@ -60,17 +60,17 @@
     int proj;			/* Projection (see gis.h) */
     int zone;			/* Projection zone (see gis.h) */
 
-} G3D_Region;
+} RASTER3D_Region;
 
 /*---------------------------------------------------------------------------*/
 
-struct G3D_Map;
+struct RASTER3D_Map;
 
-typedef void resample_fn(struct G3D_Map *, int, int, int, void *, int);
+typedef void resample_fn(struct RASTER3D_Map *, int, int, int, void *, int);
 
 /*---------------------------------------------------------------------------*/
 
-typedef struct G3D_Map
+typedef struct RASTER3D_Map
 {
 
     char *fileName;
@@ -78,13 +78,13 @@
     char *mapset;
 
     /* operation performed on map */
-    int operation;		/* G3D_WRITE_DATA or G3D_READ_DATA */
+    int operation;		/* RASTER3D_WRITE_DATA or RASTER3D_READ_DATA */
 
     /* region */
-    G3D_Region region;
+    RASTER3D_Region region;
 
     /* window for map */
-    G3D_Region window;
+    RASTER3D_Region window;
 
     /* resmapling function used for map. default is nearest neighbor */
     resample_fn *resampleFun;
@@ -107,12 +107,12 @@
     int type;			/* DCELL_TYPE or FCELL_TYPE */
 
     /* data concering the compression */
-    int precision;		/* G3D_MAX_PRECISION or, 0 .. 23 for float, 
+    int precision;		/* RASTER3D_MAX_PRECISION or, 0 .. 23 for float, 
 				   0 .. 52 for double */
-    int compression;		/* G3D_NO_COMPRESSION or G3D_USE_COMPRESSION */
-    int useLzw;			/* G3D_USE_LZW or G3D_NO_LZW */
-    int useRle;			/* G3D_USE_RLE or G3D_NO_RLE */
-    int useXdr;			/* G3D_USE_XDR or G3D_NO_XDR */
+    int compression;		/* RASTER3D_NO_COMPRESSION or RASTER3D_USE_COMPRESSION */
+    int useLzw;			/* RASTER3D_USE_LZW or RASTER3D_NO_LZW */
+    int useRle;			/* RASTER3D_USE_RLE or RASTER3D_NO_RLE */
+    int useXdr;			/* RASTER3D_USE_XDR or RASTER3D_NO_XDR */
 
     /* pointer to first tile in file */
     int offset;
@@ -130,8 +130,8 @@
     /* pointer to the last entry in the file */
     int fileEndPtr;
 
-    /* indicates if index is stored in file; used for G3D_READ_DATA only */
-    int hasIndex;		/* G3D_HAS_INDEX or G3D_NO_INDEX */
+    /* indicates if index is stored in file; used for RASTER3D_READ_DATA only */
+    int hasIndex;		/* RASTER3D_HAS_INDEX or RASTER3D_NO_INDEX */
 
     /* information concerning internal storage of data */
 
@@ -182,7 +182,7 @@
 
     int useMask;		/* 1 if mask is used; 0 otherwise */
 
-} G3D_Map;
+} RASTER3D_Map;
 
 /*---------------------------------------------------------------------------*/
 
@@ -217,7 +217,7 @@
     void *hash;			/* ptr to hashTable used to relate external names to
 				   internal indices (elts) */
 
-} G3D_cache;
+} RASTER3D_cache;
 
 /*---------------------------------------------------------------------------*/
 

Modified: grass/trunk/include/raster3ddefs.h
===================================================================
--- grass/trunk/include/raster3ddefs.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/include/raster3ddefs.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,28 +2,28 @@
 #define GRASS_RASTER3DDEFS_H
 
 /* cache.c */
-void G3d_cache_reset(G3D_cache *);
-void G3d_cache_dispose(G3D_cache *);
+void G3d_cache_reset(RASTER3D_cache *);
+void G3d_cache_dispose(RASTER3D_cache *);
 void *G3d_cache_new(int, int, int, write_fn *, void *, read_fn *, void *);
-void G3d_cache_set_removeFun(G3D_cache *, write_fn *, void *);
-void G3d_cache_set_loadFun(G3D_cache *, read_fn *, void *);
+void G3d_cache_set_removeFun(RASTER3D_cache *, write_fn *, void *);
+void G3d_cache_set_loadFun(RASTER3D_cache *, read_fn *, void *);
 void *G3d_cache_new_read(int, int, int, read_fn *, void *);
-int G3d_cache_lock(G3D_cache *, int);
-void G3d_cache_lock_intern(G3D_cache *, int);
-int G3d_cache_unlock(G3D_cache *, int);
-int G3d_cache_unlock_all(G3D_cache *);
-int G3d_cache_lock_all(G3D_cache *);
-void G3d_cache_autolock_on(G3D_cache *);
-void G3d_cache_autolock_off(G3D_cache *);
-void G3d_cache_set_minUnlock(G3D_cache *, int);
-int G3d_cache_remove_elt(G3D_cache *, int);
-int G3d_cache_flush(G3D_cache *, int);
-int G3d_cache_remove_all(G3D_cache *);
-int G3d_cache_flush_all(G3D_cache *);
-void *G3d_cache_elt_ptr(G3D_cache *, int);
-int G3d_cache_load(G3D_cache *, int);
-int G3d_cache_get_elt(G3D_cache *, int, void *);
-int G3d_cache_put_elt(G3D_cache *, int, const void *);
+int G3d_cache_lock(RASTER3D_cache *, int);
+void G3d_cache_lock_intern(RASTER3D_cache *, int);
+int G3d_cache_unlock(RASTER3D_cache *, int);
+int G3d_cache_unlock_all(RASTER3D_cache *);
+int G3d_cache_lock_all(RASTER3D_cache *);
+void G3d_cache_autolock_on(RASTER3D_cache *);
+void G3d_cache_autolock_off(RASTER3D_cache *);
+void G3d_cache_set_minUnlock(RASTER3D_cache *, int);
+int G3d_cache_remove_elt(RASTER3D_cache *, int);
+int G3d_cache_flush(RASTER3D_cache *, int);
+int G3d_cache_remove_all(RASTER3D_cache *);
+int G3d_cache_flush_all(RASTER3D_cache *);
+void *G3d_cache_elt_ptr(RASTER3D_cache *, int);
+int G3d_cache_load(RASTER3D_cache *, int);
+int G3d_cache_get_elt(RASTER3D_cache *, int, void *);
+int G3d_cache_put_elt(RASTER3D_cache *, int, const void *);
 
 /* cachehash.c */
 void G3d_cache_hash_reset(G3d_cache_hash *);
@@ -64,16 +64,16 @@
 void G3d_free(void *);
 
 /* g3dcache.c */
-int G3d_initCache(G3D_Map *, int);
-int G3d_disposeCache(G3D_Map *);
-int G3d_flushAllTiles(G3D_Map *);
+int G3d_initCache(RASTER3D_Map *, int);
+int G3d_disposeCache(RASTER3D_Map *);
+int G3d_flushAllTiles(RASTER3D_Map *);
 
 /* g3dcats.c */
 int G3d_writeCats(const char *, struct Categories *);
 int G3d_readCats(const char *, const char *, struct Categories *);
 
 /* g3dclose.c */
-int G3d_closeCell(G3D_Map *);
+int G3d_closeCell(RASTER3D_Map *);
 
 /* g3dcolor.c */
 int G3d_removeColor(const char *);
@@ -114,10 +114,10 @@
 void G3d_setXdrNullNum(void *, int);
 void G3d_setXdrNullDouble(double *);
 void G3d_setXdrNullFloat(float *);
-int G3d_initFpXdr(G3D_Map *, int);
-int G3d_initCopyToXdr(G3D_Map *, int);
+int G3d_initFpXdr(RASTER3D_Map *, int);
+int G3d_initCopyToXdr(RASTER3D_Map *, int);
 int G3d_copyToXdr(const void *, int);
-int G3d_initCopyFromXdr(G3D_Map *, int);
+int G3d_initCopyFromXdr(RASTER3D_Map *, int);
 int G3d_copyFromXdr(int, void *);
 
 /* g3dhistory.c */
@@ -151,15 +151,15 @@
 int G3d_maskFileExists(void);
 int G3d_maskOpenOld(void);
 int G3d_maskReopen(int);
-int G3d_isMasked(G3D_Map *, int, int, int);
-void G3d_maskNum(G3D_Map *, int, int, int, void *, int);
-void G3d_maskFloat(G3D_Map *, int, int, int, float *);
-void G3d_maskDouble(G3D_Map *, int, int, int, double *);
-void G3d_maskTile(G3D_Map *, int, void *, int);
-void G3d_maskOn(G3D_Map *);
-void G3d_maskOff(G3D_Map *);
-int G3d_maskIsOn(G3D_Map *);
-int G3d_maskIsOff(G3D_Map *);
+int G3d_isMasked(RASTER3D_Map *, int, int, int);
+void G3d_maskNum(RASTER3D_Map *, int, int, int, void *, int);
+void G3d_maskFloat(RASTER3D_Map *, int, int, int, float *);
+void G3d_maskDouble(RASTER3D_Map *, int, int, int, double *);
+void G3d_maskTile(RASTER3D_Map *, int, void *, int);
+void G3d_maskOn(RASTER3D_Map *);
+void G3d_maskOff(RASTER3D_Map *);
+int G3d_maskIsOn(RASTER3D_Map *);
+int G3d_maskIsOff(RASTER3D_Map *);
 const char *G3d_maskFile(void);
 int G3d_maskMapExists(void);
 
@@ -181,12 +181,12 @@
 void G3d_setNullValue(void *, int, int);
 
 /* g3dopen2.c */
-void *G3d_openNewParam(const char *, int , int, G3D_Region *, int, int, int, int, int, int, int);
+void *G3d_openNewParam(const char *, int , int, RASTER3D_Region *, int, int, int, int, int, int, int);
 /* g3dopen.c */
 void *G3d_openCellOldNoHeader(const char *, const char *);
-void *G3d_openCellOld(const char *, const char *, G3D_Region *, int, int);
-void *G3d_openCellNew(const char *, int, int, G3D_Region *);
-void *G3d_openNewOptTileSize(const char *, int , G3D_Region * , int , int );
+void *G3d_openCellOld(const char *, const char *, RASTER3D_Region *, int, int);
+void *G3d_openCellNew(const char *, int, int, RASTER3D_Region *);
+void *G3d_openNewOptTileSize(const char *, int , RASTER3D_Region * , int , int );
 
 /* g3dparam.c */
 void G3d_setStandard3dInputParams(void);
@@ -196,32 +196,32 @@
 char *G3d_getWindowParams(void);
 
 /* g3drange.c */
-void G3d_range_updateFromTile(G3D_Map *, const void *, int, int, int, int,
+void G3d_range_updateFromTile(RASTER3D_Map *, const void *, int, int, int, int,
 			      int, int, int, int);
 int G3d_readRange(const char *, const char *, struct FPRange *);
-int G3d_range_load(G3D_Map *);
-void G3d_range_min_max(G3D_Map *, double *, double *);
-int G3d_range_write(G3D_Map *);
-int G3d_range_init(G3D_Map *);
+int G3d_range_load(RASTER3D_Map *);
+void G3d_range_min_max(RASTER3D_Map *, double *, double *);
+int G3d_range_write(RASTER3D_Map *);
+int G3d_range_init(RASTER3D_Map *);
 
 /* g3dregion.c */
-void G3d_getRegionValue(G3D_Map *, double, double, double, void *, int);
-void G3d_adjustRegion(G3D_Region *);
-void G3d_regionCopy(G3D_Region *, G3D_Region *);
-void G3d_incorporate2dRegion(struct Cell_head *, G3D_Region *);
-void G3d_regionFromToCellHead(struct Cell_head *, G3D_Region *);
-void G3d_adjustRegionRes(G3D_Region *);
-void G3d_extract2dRegion(G3D_Region *, struct Cell_head *);
-void G3d_regionToCellHead(G3D_Region *, struct Cell_head *);
-int G3d_readRegionMap(const char *, const char *, G3D_Region *);
-int G3d_isValidLocation(G3D_Region *, double, double, double);
-void G3d_location2coord(G3D_Region *, double, double, double, int *, int *, int *);
-void G3d_location2coord2(G3D_Region *, double, double, double, int *, int *, int *);
-void G3d_coord2location(G3D_Region *, double, double, double, double *, double *, double *);
+void G3d_getRegionValue(RASTER3D_Map *, double, double, double, void *, int);
+void G3d_adjustRegion(RASTER3D_Region *);
+void G3d_regionCopy(RASTER3D_Region *, RASTER3D_Region *);
+void G3d_incorporate2dRegion(struct Cell_head *, RASTER3D_Region *);
+void G3d_regionFromToCellHead(struct Cell_head *, RASTER3D_Region *);
+void G3d_adjustRegionRes(RASTER3D_Region *);
+void G3d_extract2dRegion(RASTER3D_Region *, struct Cell_head *);
+void G3d_regionToCellHead(RASTER3D_Region *, struct Cell_head *);
+int G3d_readRegionMap(const char *, const char *, RASTER3D_Region *);
+int G3d_isValidLocation(RASTER3D_Region *, double, double, double);
+void G3d_location2coord(RASTER3D_Region *, double, double, double, int *, int *, int *);
+void G3d_location2coord2(RASTER3D_Region *, double, double, double, int *, int *, int *);
+void G3d_coord2location(RASTER3D_Region *, double, double, double, double *, double *, double *);
 /* g3dresample.c */
-void G3d_nearestNeighbor(G3D_Map *, int, int, int, void *, int);
-void G3d_setResamplingFun(G3D_Map *, void (*)());
-void G3d_getResamplingFun(G3D_Map *, void (**)());
+void G3d_nearestNeighbor(RASTER3D_Map *, int, int, int, void *, int);
+void G3d_setResamplingFun(RASTER3D_Map *, void (*)());
+void G3d_getResamplingFun(RASTER3D_Map *, void (**)());
 void G3d_getNearestNeighborFunPtr(void (**)());
 
 /* g3dvolume.c */
@@ -234,61 +234,61 @@
 void G3d_makeAlignedVolumeFile(void *, const char *, double, double, double,
 			       double, double, double, int, int, int);
 /* g3dwindow.c */
-void G3d_getValue(G3D_Map *, int, int, int, void *, int);
-float G3d_getFloat(G3D_Map *, int, int, int);
-double G3d_getDouble(G3D_Map *, int, int, int);
-void G3d_getWindowValue(G3D_Map *, double, double, double, void *, int);
+void G3d_getValue(RASTER3D_Map *, int, int, int, void *, int);
+float G3d_getFloat(RASTER3D_Map *, int, int, int);
+double G3d_getDouble(RASTER3D_Map *, int, int, int);
+void G3d_getWindowValue(RASTER3D_Map *, double, double, double, void *, int);
 
 
-G3D_Region *G3d_windowPtr(void);
-void G3d_setWindow(G3D_Region *);
-void G3d_setWindowMap(G3D_Map *, G3D_Region *);
-void G3d_getWindow(G3D_Region *);
+RASTER3D_Region *G3d_windowPtr(void);
+void G3d_setWindow(RASTER3D_Region *);
+void G3d_setWindowMap(RASTER3D_Map *, RASTER3D_Region *);
+void G3d_getWindow(RASTER3D_Region *);
 
 /* g3dwindowio.c */
 void G3d_useWindowParams(void);
-int G3d_readWindow(G3D_Region *, const char *);
+int G3d_readWindow(RASTER3D_Region *, const char *);
 
-/* int G3d_writeWindow (G3D_Region *, char *); */
+/* int G3d_writeWindow (RASTER3D_Region *, char *); */
 /* getblock.c */
-void G3d_getBlockNocache(G3D_Map *, int, int, int, int, int, int, void *,
+void G3d_getBlockNocache(RASTER3D_Map *, int, int, int, int, int, int, void *,
 			 int);
-void G3d_getBlock(G3D_Map *, int, int, int, int, int, int, void *, int);
+void G3d_getBlock(RASTER3D_Map *, int, int, int, int, int, int, void *, int);
 
 /* header.c */
-int G3d_readHeader(G3D_Map *, int *, int *, double *, double *, double *,
+int G3d_readHeader(RASTER3D_Map *, int *, int *, double *, double *, double *,
 		   double *, double *, double *, int *, int *, int *,
 		   double *, double *, double *, int *, int *, int *, int *,
 		   int *, int *, int *, int *, int *, int *, int *, char **);
-int G3d_writeHeader(G3D_Map *, int, int, double, double, double, double,
+int G3d_writeHeader(RASTER3D_Map *, int, int, double, double, double, double,
 		    double, double, int, int, int, double, double, double,
 		    int, int, int, int, int, int, int, int, int, int, int,
 		    char *);
 int G3d_cacheSizeEncode(int, int);
-int G3d__computeCacheSize(G3D_Map *, int);
-int G3d_fillHeader(G3D_Map *, int, int, int, int, int, int, int, int, int,
+int G3d__computeCacheSize(RASTER3D_Map *, int);
+int G3d_fillHeader(RASTER3D_Map *, int, int, int, int, int, int, int, int, int,
 		   int, int, int, int, int, int, int, double, double, double,
 		   double, double, double, int, int, int, double, double,
 		   double, char *);
 /* headerinfo.c */
-void G3d_getCoordsMap(G3D_Map *, int *, int *, int *);
-void G3d_getCoordsMapWindow(G3D_Map *, int *, int *, int *);
-void G3d_getNofTilesMap(G3D_Map *, int *, int *, int *);
-void G3d_getRegionMap(G3D_Map *, double *, double *, double *, double *,
+void G3d_getCoordsMap(RASTER3D_Map *, int *, int *, int *);
+void G3d_getCoordsMapWindow(RASTER3D_Map *, int *, int *, int *);
+void G3d_getNofTilesMap(RASTER3D_Map *, int *, int *, int *);
+void G3d_getRegionMap(RASTER3D_Map *, double *, double *, double *, double *,
 		      double *, double *);
-void G3d_getWindowMap(G3D_Map *, double *, double *, double *, double *,
+void G3d_getWindowMap(RASTER3D_Map *, double *, double *, double *, double *,
 		      double *, double *);
-void G3d_getTileDimensionsMap(G3D_Map *, int *, int *, int *);
-int G3d_tileTypeMap(G3D_Map *);
-int G3d_fileTypeMap(G3D_Map *);
-int G3d_tilePrecisionMap(G3D_Map *);
-int G3d_tileUseCacheMap(G3D_Map *);
-void G3d_printHeader(G3D_Map *);
-void G3d_getRegionStructMap(G3D_Map *, G3D_Region *);
+void G3d_getTileDimensionsMap(RASTER3D_Map *, int *, int *, int *);
+int G3d_tileTypeMap(RASTER3D_Map *);
+int G3d_fileTypeMap(RASTER3D_Map *);
+int G3d_tilePrecisionMap(RASTER3D_Map *);
+int G3d_tileUseCacheMap(RASTER3D_Map *);
+void G3d_printHeader(RASTER3D_Map *);
+void G3d_getRegionStructMap(RASTER3D_Map *, RASTER3D_Region *);
 
 /* index.c */
-int G3d_flushIndex(G3D_Map *);
-int G3d_initIndex(G3D_Map *, int);
+int G3d_flushIndex(RASTER3D_Map *);
+int G3d_initIndex(RASTER3D_Map *, int);
 
 /* retile.c */
 void G3d_retile(void *, const char *, int, int, int);
@@ -299,60 +299,60 @@
 void G_rle_decode(char *, char *, int, int, int *, int *);
 
 /* tilealloc.c */
-void *G3d_allocTilesType(G3D_Map *, int, int);
-void *G3d_allocTiles(G3D_Map *, int);
+void *G3d_allocTilesType(RASTER3D_Map *, int, int);
+void *G3d_allocTiles(RASTER3D_Map *, int);
 void G3d_freeTiles(void *);
 
 /* tileio.c */
-void *G3d_getTilePtr(G3D_Map *, int);
-int G3d_tileLoad(G3D_Map *, int);
-int G3d__removeTile(G3D_Map *, int);
-float G3d_getFloatRegion(G3D_Map *, int, int, int);
-double G3d_getDoubleRegion(G3D_Map *, int, int, int);
-void G3d_getValueRegion(G3D_Map *, int, int, int, void *, int);
+void *G3d_getTilePtr(RASTER3D_Map *, int);
+int G3d_tileLoad(RASTER3D_Map *, int);
+int G3d__removeTile(RASTER3D_Map *, int);
+float G3d_getFloatRegion(RASTER3D_Map *, int, int, int);
+double G3d_getDoubleRegion(RASTER3D_Map *, int, int, int);
+void G3d_getValueRegion(RASTER3D_Map *, int, int, int, void *, int);
 
 /* tilemath.c */
-void G3d_computeOptimalTileDimension(G3D_Region *, int, int *, int *, int *, int);
-void G3d_tileIndex2tile(G3D_Map *, int, int *, int *, int *);
-int G3d_tile2tileIndex(G3D_Map *, int, int, int);
-void G3d_tileCoordOrigin(G3D_Map *, int, int, int, int *, int *, int *);
-void G3d_tileIndexOrigin(G3D_Map *, int, int *, int *, int *);
-void G3d_coord2tileCoord(G3D_Map *, int, int, int, int *, int *, int *, int *,
+void G3d_computeOptimalTileDimension(RASTER3D_Region *, int, int *, int *, int *, int);
+void G3d_tileIndex2tile(RASTER3D_Map *, int, int *, int *, int *);
+int G3d_tile2tileIndex(RASTER3D_Map *, int, int, int);
+void G3d_tileCoordOrigin(RASTER3D_Map *, int, int, int, int *, int *, int *);
+void G3d_tileIndexOrigin(RASTER3D_Map *, int, int *, int *, int *);
+void G3d_coord2tileCoord(RASTER3D_Map *, int, int, int, int *, int *, int *, int *,
 			 int *, int *);
-void G3d_coord2tileIndex(G3D_Map *, int, int, int, int *, int *);
-int G3d_coordInRange(G3D_Map *, int, int, int);
-int G3d_tileIndexInRange(G3D_Map *, int);
-int G3d_tileInRange(G3D_Map *, int, int, int);
-int G3d_computeClippedTileDimensions(G3D_Map *, int, int *, int *, int *,
+void G3d_coord2tileIndex(RASTER3D_Map *, int, int, int, int *, int *);
+int G3d_coordInRange(RASTER3D_Map *, int, int, int);
+int G3d_tileIndexInRange(RASTER3D_Map *, int);
+int G3d_tileInRange(RASTER3D_Map *, int, int, int);
+int G3d_computeClippedTileDimensions(RASTER3D_Map *, int, int *, int *, int *,
 				     int *, int *, int *);
 
 /* tilenull.c */
-void G3d_setNullTileType(G3D_Map *, void *, int);
-void G3d_setNullTile(G3D_Map *, void *);
+void G3d_setNullTileType(RASTER3D_Map *, void *, int);
+void G3d_setNullTile(RASTER3D_Map *, void *);
 
 /* tileread.c */
-int G3d_readTile(G3D_Map *, int, void *, int);
-int G3d_readTileFloat(G3D_Map *, int, void *);
-int G3d_readTileDouble(G3D_Map *, int, void *);
-int G3d_lockTile(G3D_Map *, int);
-int G3d_unlockTile(G3D_Map *, int);
-int G3d_unlockAll(G3D_Map *);
-void G3d_autolockOn(G3D_Map *);
-void G3d_autolockOff(G3D_Map *);
-void G3d_minUnlocked(G3D_Map *, int);
-int G3d_beginCycle(G3D_Map *);
-int G3d_endCycle(G3D_Map *);
+int G3d_readTile(RASTER3D_Map *, int, void *, int);
+int G3d_readTileFloat(RASTER3D_Map *, int, void *);
+int G3d_readTileDouble(RASTER3D_Map *, int, void *);
+int G3d_lockTile(RASTER3D_Map *, int);
+int G3d_unlockTile(RASTER3D_Map *, int);
+int G3d_unlockAll(RASTER3D_Map *);
+void G3d_autolockOn(RASTER3D_Map *);
+void G3d_autolockOff(RASTER3D_Map *);
+void G3d_minUnlocked(RASTER3D_Map *, int);
+int G3d_beginCycle(RASTER3D_Map *);
+int G3d_endCycle(RASTER3D_Map *);
 
 /* tilewrite.c */
-int G3d_writeTile(G3D_Map *, int, const void *, int);
-int G3d_writeTileFloat(G3D_Map *, int, const void *);
-int G3d_writeTileDouble(G3D_Map *, int, const void *);
-int G3d_flushTile(G3D_Map *, int);
-int G3d_flushTileCube(G3D_Map *, int, int, int, int, int, int);
-int G3d_flushTilesInCube(G3D_Map *, int, int, int, int, int, int);
-int G3d_putFloat(G3D_Map *, int, int, int, float);
-int G3d_putDouble(G3D_Map *, int, int, int, double);
-int G3d_putValue(G3D_Map *, int, int, int, const void *, int);
+int G3d_writeTile(RASTER3D_Map *, int, const void *, int);
+int G3d_writeTileFloat(RASTER3D_Map *, int, const void *);
+int G3d_writeTileDouble(RASTER3D_Map *, int, const void *);
+int G3d_flushTile(RASTER3D_Map *, int);
+int G3d_flushTileCube(RASTER3D_Map *, int, int, int, int, int, int);
+int G3d_flushTilesInCube(RASTER3D_Map *, int, int, int, int, int, int);
+int G3d_putFloat(RASTER3D_Map *, int, int, int, float);
+int G3d_putDouble(RASTER3D_Map *, int, int, int, double);
+int G3d_putValue(RASTER3D_Map *, int, int, int, const void *, int);
 
 /* writeascii.c */
 void G3d_writeAscii(void *, const char *);

Modified: grass/trunk/lib/dspf/viz.h
===================================================================
--- grass/trunk/lib/dspf/viz.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/dspf/viz.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -28,7 +28,7 @@
 typedef struct
 {
     int token;			/*type of file */
-    void *g3mapin, *g3mapout;	/* G3D_Map */
+    void *g3mapin, *g3mapout;	/* RASTER3D_Map */
     FILE *datainfp, *dataoutfp;
     FILE *dspfinfp, *dspfoutfp;
     int xdim, ydim, zdim;

Modified: grass/trunk/lib/gpde/Makefile
===================================================================
--- grass/trunk/lib/gpde/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../..
 
-EXTRA_LIBS=$(GISLIB) $(RASTERLIB) $(G3DLIB) $(GMATHLIB) $(MATHLIB)
+EXTRA_LIBS=$(GISLIB) $(RASTERLIB) $(RASTER3DLIB) $(GMATHLIB) $(MATHLIB)
 
 LIB_NAME = $(GPDE_LIBNAME)
 

Modified: grass/trunk/lib/gpde/N_arrays_io.c
===================================================================
--- grass/trunk/lib/gpde/N_arrays_io.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/N_arrays_io.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -258,7 +258,7 @@
     int x, y, z, cols, rows, depths, type;
     double d1 = 0, f1 = 0;
     N_array_3d *data = array;
-    G3D_Region region;
+    RASTER3D_Region region;
 
 
     /*get the current region */
@@ -274,8 +274,8 @@
 
     /*Open all maps with default region */
     map =
-	G3d_openCellOld(name, G_find_grid3(name, ""), G3D_DEFAULT_WINDOW,
-			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+	G3d_openCellOld(name, G_find_grid3(name, ""), RASTER3D_DEFAULT_WINDOW,
+			RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
 	G3d_fatalError(_("Error opening g3d map <%s>"), name);
@@ -389,7 +389,7 @@
     int x, y, z, cols, rows, depths, count, type;
     double d1 = 0.0, f1 = 0.0;
     N_array_3d *data = array;
-    G3D_Region region;
+    RASTER3D_Region region;
 
     /*get the current region */
     G3d_getWindow(&region);
@@ -412,9 +412,9 @@
 
     /*Open the new map */
     if (type == DCELL_TYPE)
-        map = G3d_openNewOptTileSize(name, G3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
+        map = G3d_openNewOptTileSize(name, RASTER3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
     else if (type == FCELL_TYPE)
-        map = G3d_openNewOptTileSize(name, G3D_USE_CACHE_XY, &region, FCELL_TYPE, 32);
+        map = G3d_openNewOptTileSize(name, RASTER3D_USE_CACHE_XY, &region, FCELL_TYPE, 32);
 
     if (map == NULL)
 	G3d_fatalError(_("Error opening g3d map <%s>"), name);

Modified: grass/trunk/lib/gpde/N_geom.c
===================================================================
--- grass/trunk/lib/gpde/N_geom.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/N_geom.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -65,12 +65,12 @@
  * If the projection is not planimetric, a double array will be created based on the 
  * number of rows of the provided region
  *
- * \param region3d G3D_Region *
+ * \param region3d RASTER3D_Region *
  * \param geodata N_geom_data * - if a NULL pointer is given, a new structure will be allocatet and returned
  *
  * \return N_geom_data *
  * */
-N_geom_data *N_init_geom_data_3d(G3D_Region * region3d, N_geom_data * geodata)
+N_geom_data *N_init_geom_data_3d(RASTER3D_Region * region3d, N_geom_data * geodata)
 {
     N_geom_data *geom = geodata;
     struct Cell_head region2d;

Modified: grass/trunk/lib/gpde/N_pde.h
===================================================================
--- grass/trunk/lib/gpde/N_pde.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/N_pde.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -120,7 +120,7 @@
 
 extern N_geom_data *N_alloc_geom_data(void);
 extern void N_free_geom_data(N_geom_data * geodata);
-extern N_geom_data *N_init_geom_data_3d(G3D_Region * region3d, N_geom_data * geodata);
+extern N_geom_data *N_init_geom_data_3d(RASTER3D_Region * region3d, N_geom_data * geodata);
 extern N_geom_data *N_init_geom_data_2d(struct Cell_head *region, N_geom_data * geodata);
 extern double N_get_geom_data_area_of_cell(N_geom_data * geom, int row);
 

Modified: grass/trunk/lib/gpde/gpdelib.dox
===================================================================
--- grass/trunk/lib/gpde/gpdelib.dox	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/gpdelib.dox	2011-08-10 17:20:14 UTC (rev 47536)
@@ -547,8 +547,8 @@
 Releasing memory<br>
 void #N_free_geom_data (N_geom_data *geodata);
 <p>
-Initialize the N_geom_data structure with a G3D_Region<br>
-N_geom_data *#N_init_geom_data_3d(G3D_Region * region3d, N_geom_data * geodata);
+Initialize the N_geom_data structure with a RASTER3D_Region<br>
+N_geom_data *#N_init_geom_data_3d(RASTER3D_Region * region3d, N_geom_data * geodata);
 <p>
 Initialize the N_geom_data structure with a 2d region<br>
 N_geom_data *#N_init_geom_data_2d(struct Cell_head * region, N_geom_data * geodata);

Modified: grass/trunk/lib/gpde/test/Makefile
===================================================================
--- grass/trunk/lib/gpde/test/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/test/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=test.gpde.lib
 
-LIBES = $(GISLIB) $(G3DLIB) $(GPDELIB) $(GMATHLIB)
-DEPENDENCIES = $(GISDEP) $(G3DDEP) $(GPDEDEP)
+LIBES = $(GISLIB) $(RASTER3DLIB) $(GPDELIB) $(GMATHLIB)
+DEPENDENCIES = $(GISDEP) $(RASTER3DDEP) $(GPDEDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/lib/gpde/test/test_arrays.c
===================================================================
--- grass/trunk/lib/gpde/test/test_arrays.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/test/test_arrays.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -611,7 +611,7 @@
 {
     int sum = 0, res = 0;
     char buff[1024];
-    G3D_Region region;
+    RASTER3D_Region region;
 
     N_array_3d *data1;
     N_array_3d *data11;

Modified: grass/trunk/lib/gpde/test/test_geom.c
===================================================================
--- grass/trunk/lib/gpde/test/test_geom.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/test/test_geom.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -52,7 +52,7 @@
 int test_geom_data(void)
 {
     struct Cell_head region2d;
-    G3D_Region region3d;
+    RASTER3D_Region region3d;
     N_geom_data *geom = NULL;
     int sum = 0, i;
     double area = 0;

Modified: grass/trunk/lib/gpde/test/test_main.c
===================================================================
--- grass/trunk/lib/gpde/test/test_main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/gpde/test/test_main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -72,7 +72,7 @@
 }
 
 /* ************************************************************************* */
-/* Main function, open the G3D map and create the raster maps ************** */
+/* Main function, open the RASTER3D map and create the raster maps ************** */
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {

Modified: grass/trunk/lib/manage/Makefile
===================================================================
--- grass/trunk/lib/manage/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/manage/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,7 +1,7 @@
 MODULE_TOPDIR = ../..
 
 LIB = MANAGE
-DEPENDENCIES = $(GISDEP) $(VECTDEP) $(G3DDEP)
+DEPENDENCIES = $(GISDEP) $(VECTDEP) $(RASTER3DDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 include $(MODULE_TOPDIR)/include/Make/Doxygen.make

Modified: grass/trunk/lib/ogsf/GVL2.c
===================================================================
--- grass/trunk/lib/ogsf/GVL2.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/ogsf/GVL2.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -26,7 +26,7 @@
 static int Vol_ID[MAX_VOLS];
 static int Next_vol = 0;
 
-static G3D_Region wind3;
+static RASTER3D_Region wind3;
 static double Region[6];
 
 /*!
@@ -74,7 +74,7 @@
 
    \todo gvl_file.c use this - change
 
-   \return pointer to G3D_Region struct (static)
+   \return pointer to RASTER3D_Region struct (static)
  */
 void *GVL_get_window()
 {
@@ -247,7 +247,7 @@
 
     G_message(_("Loading 3d raster map <%s>..."), filename);
 
-    if (0 > (handle = gvl_file_newh(filename, VOL_FTYPE_G3D)))
+    if (0 > (handle = gvl_file_newh(filename, VOL_FTYPE_RASTER3D)))
 	return (-1);
 
     gvl->hfile = handle;

Modified: grass/trunk/lib/ogsf/gvl.c
===================================================================
--- grass/trunk/lib/ogsf/gvl.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/ogsf/gvl.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -694,7 +694,7 @@
     G_debug(5, "gvl_isosurf_set_att_map(): att=%d map=%s", desc, filename);
 
     if (isosurf) {
-	if (0 > (hfile = gvl_file_newh(filename, VOL_FTYPE_G3D)))
+	if (0 > (hfile = gvl_file_newh(filename, VOL_FTYPE_RASTER3D)))
 	    return (-1);
 
 	gvl_isosurf_set_att_src(isosurf, desc, MAP_ATT);

Modified: grass/trunk/lib/ogsf/gvl_file.c
===================================================================
--- grass/trunk/lib/ogsf/gvl_file.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/ogsf/gvl_file.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -70,7 +70,7 @@
 static int init_volfiles(void)
 {
     int i;
-    G3D_Region *w3;
+    RASTER3D_Region *w3;
 
     for (i = 0; i < MAX_VOL_FILES; i++) {
 	/* avoiding dynamic allocation */
@@ -233,7 +233,7 @@
 void *open_volfile(const char *name, IFLAG file_type, IFLAG * data_type,
 		   double *min, double *max)
 {
-    if (file_type == VOL_FTYPE_G3D) {
+    if (file_type == VOL_FTYPE_RASTER3D) {
 	return open_g3d_file(name, data_type, min, max);
     }
 
@@ -251,7 +251,7 @@
  */
 int close_volfile(void *map, IFLAG type)
 {
-    if (type == VOL_FTYPE_G3D) {
+    if (type == VOL_FTYPE_RASTER3D) {
 	return close_g3d_file(map);
     }
 
@@ -401,7 +401,7 @@
 }
 
 /******************************************************************/
-/* reading from G3D raster volume files */
+/* reading from RASTER3D raster volume files */
 
 /******************************************************************/
 
@@ -431,8 +431,8 @@
 
     /* open g3d file */
     map =
-	G3d_openCellOld(filename, mapset, G3D_DEFAULT_WINDOW,
-			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+	G3d_openCellOld(filename, mapset, RASTER3D_DEFAULT_WINDOW,
+			RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
     if (!map) {
 	G_warning(_("Unable to open 3D raster map <%s>"), filename);
 	return (NULL);
@@ -467,9 +467,9 @@
 int close_g3d_file(void *map)
 {
     /* close opened g3d file */
-    if (G3d_closeCell((G3D_Map *) map) != 1) {
+    if (G3d_closeCell((RASTER3D_Map *) map) != 1) {
 	G_warning(_("Unable to close 3D raster map <%s>"),
-		  ((G3D_Map *) map)->fileName);
+		  ((RASTER3D_Map *) map)->fileName);
 	return (-1);
     }
 
@@ -689,8 +689,8 @@
 int get_direct_value(geovol_file * vf, int x, int y, int z, void *value)
 {
     switch (vf->file_type) {
-	/* G3D file type */
-    case (VOL_FTYPE_G3D):
+	/* RASTER3D file type */
+    case (VOL_FTYPE_RASTER3D):
 	if (0 > read_g3d_value(vf->data_type, vf->map, x, y, z, value))
 	    return (-1);
 	break;
@@ -766,8 +766,8 @@
 int read_vol(geovol_file * vf)
 {
     switch (vf->file_type) {
-	/* G3D file format */
-    case (VOL_FTYPE_G3D):
+	/* RASTER3D file format */
+    case (VOL_FTYPE_RASTER3D):
 	if (0 > read_g3d_vol(vf->data_type, vf->map, vf->buff))
 	    return (-1);
 	break;
@@ -876,8 +876,8 @@
     slice_data *sd = (slice_data *) vf->buff;
 
     switch (vf->file_type) {
-	/* G3D file format */
-    case (VOL_FTYPE_G3D):
+	/* RASTER3D file format */
+    case (VOL_FTYPE_RASTER3D):
 	if (0 > read_g3d_slice(vf->data_type, vf->map, l, sd->slice[s]))
 	    return (-1);
 	break;
@@ -1088,8 +1088,8 @@
 int gvl_file_is_null_value(geovol_file * vf, void *value)
 {
     switch (vf->file_type) {
-	/* G3D file format */
-    case (VOL_FTYPE_G3D):
+	/* RASTER3D file format */
+    case (VOL_FTYPE_RASTER3D):
 	return is_null_g3d_value(vf->file_type, value);
 	break;
 	/* unsupported file format */

Modified: grass/trunk/lib/python/ctypes/Makefile
===================================================================
--- grass/trunk/lib/python/ctypes/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/python/ctypes/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10,7 +10,7 @@
 DOXINPUT=grasspython.dox
 
 MODULES = date gis raster gmath proj imagery vector display stats \
-	dbmi g3d arraystats cluster trans vedit ogsf nviz
+	dbmi raster3d arraystats cluster trans vedit ogsf nviz
 
 date_LIBS       = $(DATETIMELIB)
 gis_LIBS      = $(GISLIB)
@@ -22,7 +22,7 @@
 display_LIBS    = $(DISPLAYLIB)
 stats_LIBS      = $(STATSLIB)
 dbmi_LIBS       = $(DBMILIB)
-g3d_LIBS        = $(G3DLIB)
+raster3d_LIBS   = $(RASTER3DLIB)
 arraystats_LIBS = $(ARRAYSTATSLIB)
 cluster_LIBS    = $(CLUSTERLIB)
 trans_LIBS      = $(TRANSLIB)
@@ -40,7 +40,7 @@
 display_HDRS    = display.h
 stats_HDRS      = stats.h
 dbmi_HDRS       = dbmi.h dbmidefs.h
-g3d_HDRS        = G3d.h
+raster3d_HDRS   = raster3d.h
 arraystats_HDRS = arraystats.h
 cluster_HDRS    = cluster.h
 trans_HDRS      = transform.h

Modified: grass/trunk/lib/raster3d/G3d.h_unused
===================================================================
--- grass/trunk/lib/raster3d/G3d.h_unused	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/G3d.h_unused	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,42 +1,42 @@
-#define G3D_FLOAT 0
-#define G3D_DOUBLE 1
-#define G3D_TILE_SAME_AS_FILE 2
+#define RASTER3D_FLOAT 0
+#define RASTER3D_DOUBLE 1
+#define RASTER3D_TILE_SAME_AS_FILE 2
 
-#define G3D_NO_COMPRESSION 0
-#define G3D_COMPRESSION 1
+#define RASTER3D_NO_COMPRESSION 0
+#define RASTER3D_COMPRESSION 1
 
-#define G3D_USE_LZW 1
-#define G3D_NO_LZW 0
+#define RASTER3D_USE_LZW 1
+#define RASTER3D_NO_LZW 0
 
-#define G3D_USE_RLE 1
-#define G3D_NO_RLE 0
+#define RASTER3D_USE_RLE 1
+#define RASTER3D_NO_RLE 0
 
-#define G3D_MAX_PRECISION -1
+#define RASTER3D_MAX_PRECISION -1
 
-#define G3D_NO_CACHE 0
-#define G3D_USE_CACHE_DEFAULT -1
-#define G3D_USE_CACHE_X -2
-#define G3D_USE_CACHE_Y -3
-#define G3D_USE_CACHE_Z -4
-#define G3D_USE_CACHE_XY -5
-#define G3D_USE_CACHE_XZ -6
-#define G3D_USE_CACHE_YZ -7
-#define G3D_USE_CACHE_XYZ -8
+#define RASTER3D_NO_CACHE 0
+#define RASTER3D_USE_CACHE_DEFAULT -1
+#define RASTER3D_USE_CACHE_X -2
+#define RASTER3D_USE_CACHE_Y -3
+#define RASTER3D_USE_CACHE_Z -4
+#define RASTER3D_USE_CACHE_XY -5
+#define RASTER3D_USE_CACHE_XZ -6
+#define RASTER3D_USE_CACHE_YZ -7
+#define RASTER3D_USE_CACHE_XYZ -8
 
-#define G3D_DEFAULT_WINDOW NULL
+#define RASTER3D_DEFAULT_WINDOW NULL
 
-#define G3D_DIRECTORY      "grid3"
-#define G3D_CELL_ELEMENT   "cell"
-#define G3D_CATS_ELEMENT   "cats"
-#define G3D_RANGE_ELEMENT  "range"
-#define G3D_HEADER_ELEMENT "cellhd"
-#define G3D_COLOR_ELEMENT  "color"
-#define G3D_COLOR2_DIRECTORY  "colr2"
-#define G3D_MASK_MAP       "G3D_MASK"
-#define G3D_WINDOW_ELEMENT   "WIND3"
-#define G3D_DEFAULT_WINDOW_ELEMENT   "DEFAULT_WIND3"
-#define G3D_WINDOW_DATABASE "windows3d"
-#define G3D_PERMANENT_MAPSET "PERMANENT"
+#define RASTER3D_DIRECTORY      "grid3"
+#define RASTER3D_CELL_ELEMENT   "cell"
+#define RASTER3D_CATS_ELEMENT   "cats"
+#define RASTER3D_RANGE_ELEMENT  "range"
+#define RASTER3D_HEADER_ELEMENT "cellhd"
+#define RASTER3D_COLOR_ELEMENT  "color"
+#define RASTER3D_COLOR2_DIRECTORY  "colr2"
+#define RASTER3D_MASK_MAP       "RASTER3D_MASK"
+#define RASTER3D_WINDOW_ELEMENT   "WIND3"
+#define RASTER3D_DEFAULT_WINDOW_ELEMENT   "DEFAULT_WIND3"
+#define RASTER3D_WINDOW_DATABASE "windows3d"
+#define RASTER3D_PERMANENT_MAPSET "PERMANENT"
 
 /*---------------------------------------------------------------------------*/
 
@@ -54,7 +54,7 @@
   int proj;  /* Projection (see gis.h) */
   int zone;  /* Projection zone (see gis.h) */
 
-} G3D_Region;
+} RASTER3D_Region;
 
 /*---------------------------------------------------------------------------*/
 
@@ -90,7 +90,7 @@
 
 extern void G3d_setWindow (/* window */);
 /*extern void G3d_getWindow ();*/
-extern G3D_Region *G3d_windowPtr ();
+extern RASTER3D_Region *G3d_windowPtr ();
 
 /*---------------------------------------------------------------------------*/
 

Modified: grass/trunk/lib/raster3d/Makefile
===================================================================
--- grass/trunk/lib/raster3d/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../..
 
-LIB = G3D
+LIB = RASTER3D
 
 
 include $(MODULE_TOPDIR)/include/Make/Lib.make

Modified: grass/trunk/lib/raster3d/cache.c
===================================================================
--- grass/trunk/lib/raster3d/cache.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/cache.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9,7 +9,7 @@
 
 static int cacheRead_readFun(int tileIndex, void *tileBuf, void *closure)
 {
-    G3D_Map *map = closure;
+    RASTER3D_Map *map = closure;
 
     if (!G3d_readTile(map, tileIndex, tileBuf, map->typeIntern)) {
 	G3d_error("cacheRead_readFun: error in G3d_readTile");
@@ -20,7 +20,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int initCacheRead(G3D_Map * map, int nCached)
+static int initCacheRead(RASTER3D_Map * map, int nCached)
 {
     map->cache = G3d_cache_new_read(nCached,
 				    map->tileSize * map->numLengthIntern,
@@ -55,7 +55,7 @@
 
 static int cacheWrite_readFun(int tileIndex, void *tileBuf, void *closure)
 {
-    G3D_Map *map = closure;
+    RASTER3D_Map *map = closure;
     int index, nBytes;
     long pos, offs, offsLast;
 
@@ -134,7 +134,7 @@
 static int
 cacheWrite_writeFun(int tileIndex, const void *tileBuf, void *closure)
 {
-    G3D_Map *map = closure;
+    RASTER3D_Map *map = closure;
     int nBytes;
     long offs;
 
@@ -165,7 +165,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int disposeCacheWrite(G3D_Map * map)
+static int disposeCacheWrite(RASTER3D_Map * map)
 {
     if (map->cacheFD >= 0) {
 	if (close(map->cacheFD) != 0) {
@@ -183,7 +183,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int initCacheWrite(G3D_Map * map, int nCached)
+static int initCacheWrite(RASTER3D_Map * map, int nCached)
 {
     map->cacheFileName = G_tempfile();
     map->cacheFD = open(map->cacheFileName, O_RDWR | O_CREAT | O_TRUNC, 0666);
@@ -212,9 +212,9 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_initCache(G3D_Map * map, int nCached)
+int G3d_initCache(RASTER3D_Map * map, int nCached)
 {
-    if (map->operation == G3D_READ_DATA) {
+    if (map->operation == RASTER3D_READ_DATA) {
 	if (!initCacheRead(map, nCached)) {
 	    G3d_error("G3d_initCache: error in initCacheRead");
 	    return 0;
@@ -232,7 +232,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int disposeCacheRead(G3D_Map * map)
+static int disposeCacheRead(RASTER3D_Map * map)
 {
     G3d_cache_dispose(map->cache);
     return 1;
@@ -240,9 +240,9 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_disposeCache(G3D_Map * map)
+int G3d_disposeCache(RASTER3D_Map * map)
 {
-    if (map->operation == G3D_READ_DATA) {
+    if (map->operation == RASTER3D_READ_DATA) {
 	if (!disposeCacheRead(map)) {
 	    G3d_error("G3d_disposeCache: error in disposeCacheRead");
 	    return 0;
@@ -263,7 +263,7 @@
 
 static int cacheFlushFun(int tileIndex, const void *tileBuf, void *closure)
 {
-    G3D_Map *map = closure;
+    RASTER3D_Map *map = closure;
 
     if (!G3d_writeTile(map, tileIndex, tileBuf, map->typeIntern)) {
 	G3d_error("cacheFlushFun: error in G3d_writeTile");
@@ -275,12 +275,12 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_flushAllTiles(G3D_Map * map)
+int G3d_flushAllTiles(RASTER3D_Map * map)
 {
     int tileIndex, nBytes;
     long offs;
 
-    if (map->operation == G3D_READ_DATA) {
+    if (map->operation == RASTER3D_READ_DATA) {
 	if (!G3d_cache_remove_all(map->cache)) {
 	    G3d_error("G3d_flushAllTiles: error in G3d_cache_remove_all");
 	    return 0;

Modified: grass/trunk/lib/raster3d/cache1.c
===================================================================
--- grass/trunk/lib/raster3d/cache1.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/cache1.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -31,7 +31,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_reset(G3D_cache * c)
+void G3d_cache_reset(RASTER3D_cache * c)
 {
     int i;
 
@@ -62,7 +62,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_dispose(G3D_cache * c)
+void G3d_cache_dispose(RASTER3D_cache * c)
 {
     if (c == NULL)
 	return;
@@ -89,9 +89,9 @@
 		    int (*eltRemoveFun) (), void *eltRemoveFunData,
 		    int (*eltLoadFun) (), void *eltLoadFunData)
 {
-    G3D_cache *tmp;
+    RASTER3D_cache *tmp;
 
-    tmp = G3d_malloc(sizeof(G3D_cache));
+    tmp = G3d_malloc(sizeof(RASTER3D_cache));
     if (tmp == NULL) {
 	G3d_error("G3d_cache_new: error in G3d_malloc");
 	return (void *)NULL;
@@ -135,7 +135,7 @@
 /*---------------------------------------------------------------------------*/
 
 void
-G3d_cache_set_removeFun(G3D_cache * c, int (*eltRemoveFun) (),
+G3d_cache_set_removeFun(RASTER3D_cache * c, int (*eltRemoveFun) (),
 			void *eltRemoveFunData)
 {
     c->eltRemoveFun = eltRemoveFun;
@@ -145,7 +145,7 @@
 /*---------------------------------------------------------------------------*/
 
 void
-G3d_cache_set_loadFun(G3D_cache * c, int (*eltLoadFun) (),
+G3d_cache_set_loadFun(RASTER3D_cache * c, int (*eltLoadFun) (),
 		      void *eltLoadFunData)
 {
     c->eltLoadFun = eltLoadFun;
@@ -163,7 +163,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static void cache_queue_dequeue(G3D_cache * c, int index)
+static void cache_queue_dequeue(RASTER3D_cache * c, int index)
 {
     if (IS_NOT_IN_QUEUE_ELT(index))
 	G3d_fatalError("cache_queue_dequeue: index not in queue");
@@ -183,7 +183,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static void cache_queue_enqueue(G3D_cache * c, int left, int index)
+static void cache_queue_enqueue(RASTER3D_cache * c, int left, int index)
 {
     if (IS_IN_QUEUE_ELT(index))
 	G3d_fatalError("cache_queue_enqueue: index already in queue");
@@ -224,7 +224,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int cache_queue_get_top(G3D_cache * c)
+static int cache_queue_get_top(RASTER3D_cache * c)
 {
     int top;
 
@@ -237,14 +237,14 @@
 
 /*---------------------------------------------------------------------------*/
 
-static void cache_queue_append(G3D_cache * c, int index)
+static void cache_queue_append(RASTER3D_cache * c, int index)
 {
     cache_queue_enqueue(c, c->last, index);
 }
 
 /*---------------------------------------------------------------------------*/
 
-static void cache_queue_preppend(G3D_cache * c, int index)
+static void cache_queue_preppend(RASTER3D_cache * c, int index)
 {
     cache_queue_enqueue(c, -1, index);
 }
@@ -259,7 +259,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_lock(G3D_cache * c, int name)
+int G3d_cache_lock(RASTER3D_cache * c, int name)
 {
     int index;
 
@@ -284,7 +284,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_lock_intern(G3D_cache * c, int index)
+void G3d_cache_lock_intern(RASTER3D_cache * c, int index)
 {
     if (IS_LOCKED_ELT(index))
 	return;
@@ -295,7 +295,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_unlock(G3D_cache * c, int name)
+int G3d_cache_unlock(RASTER3D_cache * c, int name)
 {
     int index;
 
@@ -316,7 +316,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_unlock_all(G3D_cache * c)
+int G3d_cache_unlock_all(RASTER3D_cache * c)
 {
     int index;
 
@@ -332,7 +332,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_lock_all(G3D_cache * c)
+int G3d_cache_lock_all(RASTER3D_cache * c)
 {
     int index;
 
@@ -345,28 +345,28 @@
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_autolock_on(G3D_cache * c)
+void G3d_cache_autolock_on(RASTER3D_cache * c)
 {
     c->autoLock = 1;
 }
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_autolock_off(G3D_cache * c)
+void G3d_cache_autolock_off(RASTER3D_cache * c)
 {
     c->autoLock = 0;
 }
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_cache_set_minUnlock(G3D_cache * c, int nofMinUnLocked)
+void G3d_cache_set_minUnlock(RASTER3D_cache * c, int nofMinUnLocked)
 {
     c->minUnlocked = nofMinUnLocked;
 }
 
 /*---------------------------------------------------------------------------*/
 
-static int cache_remove_elt(G3D_cache * c, int name, int doFlush)
+static int cache_remove_elt(RASTER3D_cache * c, int name, int doFlush)
 {
     int index;
 
@@ -401,7 +401,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_remove_elt(G3D_cache * c, int name)
+int G3d_cache_remove_elt(RASTER3D_cache * c, int name)
 {
     if (!cache_remove_elt(c, name, 0)) {
 	G3d_error("G3d_cache_remove_elt: error in cache_remove_elt");
@@ -413,7 +413,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_flush(G3D_cache * c, int name)
+int G3d_cache_flush(RASTER3D_cache * c, int name)
 {
     if (!cache_remove_elt(c, name, 1)) {
 	G3d_error("G3d_cache_flush: error in cache_remove_elt");
@@ -425,7 +425,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_remove_all(G3D_cache * c)
+int G3d_cache_remove_all(RASTER3D_cache * c)
 {
     int index;
 
@@ -442,7 +442,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_flush_all(G3D_cache * c)
+int G3d_cache_flush_all(RASTER3D_cache * c)
 {
     int index;
 
@@ -458,7 +458,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void *G3d_cache_elt_ptr(G3D_cache * c, int name)
+void *G3d_cache_elt_ptr(RASTER3D_cache * c, int name)
 {
     int index, oldName, doUnlock;
 
@@ -508,7 +508,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_load(G3D_cache * c, int name)
+int G3d_cache_load(RASTER3D_cache * c, int name)
 {
     if (G3d_cache_elt_ptr(c, name) == NULL) {
 	G3d_error("G3d_cache_load: error in G3d_cache_elt_ptr");
@@ -520,7 +520,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_get_elt(G3D_cache * c, int name, void *dst)
+int G3d_cache_get_elt(RASTER3D_cache * c, int name, void *dst)
 {
     const void *elt;
 
@@ -537,7 +537,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_cache_put_elt(G3D_cache * c, int name, const void *src)
+int G3d_cache_put_elt(RASTER3D_cache * c, int name, const void *src)
 {
     void *elt;
 
@@ -562,7 +562,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static void cache_test_print(G3D_cache * c)
+static void cache_test_print(RASTER3D_cache * c)
 {
     int i, al;
     int *a;
@@ -630,12 +630,12 @@
     static int firstTime = 1;
 
     if (firstTime) {
-	ctd.value = G3d_malloc(((G3D_cache *) c)->eltSize * sizeof(int));
+	ctd.value = G3d_malloc(((RASTER3D_cache *) c)->eltSize * sizeof(int));
 	firstTime = 0;
     }
 
     ctd.value[17] = val;
-    ctd.size = ((G3D_cache *) c)->eltSize;
+    ctd.size = ((RASTER3D_cache *) c)->eltSize;
 
     G3d_cache_load(c, name);
 }

Modified: grass/trunk/lib/raster3d/cats.c
===================================================================
--- grass/trunk/lib/raster3d/cats.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/cats.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -35,7 +35,7 @@
     DCELL val1, val2;
     char str1[100], str2[100];
 
-    fd = G_fopen_new_misc(G3D_DIRECTORY, G3D_CATS_ELEMENT, name);
+    fd = G_fopen_new_misc(RASTER3D_DIRECTORY, RASTER3D_CATS_ELEMENT, name);
     if (!fd)
 	return -1;
 
@@ -86,7 +86,7 @@
     int old;
     long num = -1;
 
-    fd = G_fopen_old_misc(G3D_DIRECTORY, G3D_CATS_ELEMENT, name, mapset);
+    fd = G_fopen_old_misc(RASTER3D_DIRECTORY, RASTER3D_CATS_ELEMENT, name, mapset);
     if (!fd)
 	return -2;
 

Modified: grass/trunk/lib/raster3d/changeprecision.c
===================================================================
--- grass/trunk/lib/raster3d/changeprecision.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/changeprecision.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -25,7 +25,7 @@
     void *map2;
     int x, y, z, savePrecision, saveCompression, saveLzw, saveRle;
     char *data;
-    G3D_Region region;
+    RASTER3D_Region region;
     int typeIntern;
     int nx, ny, nz;
     int tileXsave, tileYsave, tileZsave, tileX, tileY, tileZ, saveType;
@@ -34,7 +34,7 @@
     /*   G3d_setFileType (G3d_fileTypeMap (map)); */
     G3d_getCompressionMode(&saveCompression, &saveLzw, &saveRle,
 			   &savePrecision);
-    G3d_setCompressionMode(G3D_COMPRESSION, saveLzw, saveRle, precision);
+    G3d_setCompressionMode(RASTER3D_COMPRESSION, saveLzw, saveRle, precision);
     G3d_getTileDimension(&tileXsave, &tileYsave, &tileZsave);
     G3d_getTileDimensionsMap(map, &tileX, &tileY, &tileZ);
     G3d_setTileDimension(tileX, tileY, tileZ);
@@ -43,7 +43,7 @@
     G3d_getRegionStructMap(map, &region);
 
     map2 =
-	G3d_openCellNew(nameOut, typeIntern, G3D_USE_CACHE_DEFAULT, &region);
+	G3d_openCellNew(nameOut, typeIntern, RASTER3D_USE_CACHE_DEFAULT, &region);
     if (map2 == NULL)
 	G3d_fatalError("G3d_changePrecision: error in G3d_openCellNew");
 

Modified: grass/trunk/lib/raster3d/changetype.c
===================================================================
--- grass/trunk/lib/raster3d/changetype.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/changetype.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -26,7 +26,7 @@
     void *map2;
     int x, y, z, saveType;
     void *data, *data2;
-    G3D_Region region;
+    RASTER3D_Region region;
     int tileSize;
     int tileX, tileY, tileZ, typeIntern, typeIntern2;
     int tileXsave, tileYsave, tileZsave, nx, ny, nz;
@@ -40,7 +40,7 @@
 
     G3d_getRegionStructMap(map, &region);
     map2 =
-	G3d_openCellNew(nameOut, FCELL_TYPE, G3D_USE_CACHE_DEFAULT, &region);
+	G3d_openCellNew(nameOut, FCELL_TYPE, RASTER3D_USE_CACHE_DEFAULT, &region);
 
     if (map2 == NULL)
 	G3d_fatalError("G3d_changeType: error in G3d_openCellNew");

Modified: grass/trunk/lib/raster3d/close.c
===================================================================
--- grass/trunk/lib/raster3d/close.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/close.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,7 +12,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_closeNew(G3D_Map * map)
+static int G3d_closeNew(RASTER3D_Map * map)
 {
     char path[GPATH_MAX];
     struct Categories cats;
@@ -40,7 +40,7 @@
     close(map->data_fd);
 
     /* finally move tempfile to data file */
-    G3d_filename(path, G3D_CELL_ELEMENT, map->fileName, map->mapset);
+    G3d_filename(path, RASTER3D_CELL_ELEMENT, map->fileName, map->mapset);
 #ifdef __MINGW32__
     if (CopyFile(map->tempName, path, FALSE) == 0) {
 #else
@@ -61,7 +61,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_closeCellNew(G3D_Map * map)
+static int G3d_closeCellNew(RASTER3D_Map * map)
 {
     long ltmp;
 
@@ -107,7 +107,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_closeOld(G3D_Map * map)
+static int G3d_closeOld(RASTER3D_Map * map)
 {
     if (close(map->data_fd) != 0) {
 	G3d_error("G3d_closeOld: could not close file");
@@ -119,7 +119,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_closeCellOld(G3D_Map * map)
+static int G3d_closeCellOld(RASTER3D_Map * map)
 {
     if (!G3d_closeOld(map) != 0) {
 	G3d_error("G3d_closeCellOld: error in G3d_closeOld");
@@ -144,9 +144,9 @@
  *          0 ...  otherwise.
  */
 
-int G3d_closeCell(G3D_Map * map)
+int G3d_closeCell(RASTER3D_Map * map)
 {
-    if (map->operation == G3D_WRITE_DATA) {
+    if (map->operation == RASTER3D_WRITE_DATA) {
 	if (!G3d_closeCellNew(map)) {
 	    G3d_error("G3d_closeCell: error in G3d_closeCellNew");
 	    return 0;
@@ -171,7 +171,7 @@
     else
 	G3d_free(map->data);
 
-    if (map->operation == G3D_WRITE_DATA)
+    if (map->operation == RASTER3D_WRITE_DATA)
 	if (!G3d_writeHeader(map,
 			     map->region.proj, map->region.zone,
 			     map->region.north, map->region.south,

Modified: grass/trunk/lib/raster3d/color.c
===================================================================
--- grass/trunk/lib/raster3d/color.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/color.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -22,7 +22,7 @@
 int G3d_removeColor(const char *name)
  /* adapted from G_remove_colr */
 {
-    return G_remove_misc(G3D_DIRECTORY, G3D_COLOR_ELEMENT, name);
+    return G_remove_misc(RASTER3D_DIRECTORY, RASTER3D_COLOR_ELEMENT, name);
 }
 
 /*---------------------------------------------------------------------------*/
@@ -67,7 +67,7 @@
     int stat;
     char buf[1024];
 
-    fd = G_fopen_old_misc(G3D_DIRECTORY, G3D_COLOR_ELEMENT, name, mapset);
+    fd = G_fopen_old_misc(RASTER3D_DIRECTORY, RASTER3D_COLOR_ELEMENT, name, mapset);
     if (!fd)
 	return -2;
 
@@ -334,7 +334,7 @@
 	return -1;
     }
 
-    fd = G_fopen_new_misc(G3D_DIRECTORY, G3D_COLOR_ELEMENT, name);
+    fd = G_fopen_new_misc(RASTER3D_DIRECTORY, RASTER3D_COLOR_ELEMENT, name);
     if (!fd)
 	return -1;
 

Modified: grass/trunk/lib/raster3d/defaults.c
===================================================================
--- grass/trunk/lib/raster3d/defaults.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/defaults.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5,61 +5,61 @@
 
 /*---------------------------------------------------------------------------*/
 
-#define G3D_NO_DEFAULT -10
+#define RASTER3D_NO_DEFAULT -10
 
-#define G3D_COMPRESSION_DEFAULT G3D_COMPRESSION
-#define G3D_USE_LZW_DEFAULT G3D_NO_LZW
-#define G3D_USE_RLE_DEFAULT G3D_USE_RLE
-#define G3D_PRECISION_DEFAULT G3D_MAX_PRECISION
-#define G3D_CACHE_SIZE_DEFAULT 1000
-#define G3D_CACHE_SIZE_MAX_DEFAULT 16777216
-#define G3D_FILE_TYPE_DEFAULT DCELL_TYPE
-#define G3D_TILE_X_DEFAULT 16
-#define G3D_TILE_Y_DEFAULT 16
-#define G3D_TILE_Z_DEFAULT 8
-#define G3D_ERROR_FUN_DEFAULT G3d_skipError
-#define G3D_UNIT_DEFAULT "none"
+#define RASTER3D_COMPRESSION_DEFAULT RASTER3D_COMPRESSION
+#define RASTER3D_USE_LZW_DEFAULT RASTER3D_NO_LZW
+#define RASTER3D_USE_RLE_DEFAULT RASTER3D_USE_RLE
+#define RASTER3D_PRECISION_DEFAULT RASTER3D_MAX_PRECISION
+#define RASTER3D_CACHE_SIZE_DEFAULT 1000
+#define RASTER3D_CACHE_SIZE_MAX_DEFAULT 16777216
+#define RASTER3D_FILE_TYPE_DEFAULT DCELL_TYPE
+#define RASTER3D_TILE_X_DEFAULT 16
+#define RASTER3D_TILE_Y_DEFAULT 16
+#define RASTER3D_TILE_Z_DEFAULT 8
+#define RASTER3D_ERROR_FUN_DEFAULT G3d_skipError
+#define RASTER3D_UNIT_DEFAULT "none"
 
 /*---------------------------------------------------------------------------*/
 
-#define G3D_COMPRESSION_ENV_VAR_YES "G3D_USE_COMPRESSION"
-#define G3D_COMPRESSION_ENV_VAR_NO "G3D_NO_COMPRESSION"
+#define RASTER3D_COMPRESSION_ENV_VAR_YES "RASTER3D_USE_COMPRESSION"
+#define RASTER3D_COMPRESSION_ENV_VAR_NO "RASTER3D_NO_COMPRESSION"
 
-#define G3D_LZW_ENV_VAR_YES "G3D_USE_LZW"
-#define G3D_LZW_ENV_VAR_NO "G3D_NO_LZW"
+#define RASTER3D_LZW_ENV_VAR_YES "RASTER3D_USE_LZW"
+#define RASTER3D_LZW_ENV_VAR_NO "RASTER3D_NO_LZW"
 
-#define G3D_RLE_ENV_VAR_YES "G3D_USE_RLE"
-#define G3D_RLE_ENV_VAR_NO "G3D_NO_RLE"
+#define RASTER3D_RLE_ENV_VAR_YES "RASTER3D_USE_RLE"
+#define RASTER3D_RLE_ENV_VAR_NO "RASTER3D_NO_RLE"
 
-#define G3D_PRECISION_ENV_VAR "G3D_PRECISION"
-#define G3D_PRECISION_ENV_VAR_MAX "G3D_MAX_PRECISION"
+#define RASTER3D_PRECISION_ENV_VAR "RASTER3D_PRECISION"
+#define RASTER3D_PRECISION_ENV_VAR_MAX "RASTER3D_MAX_PRECISION"
 
-#define G3D_CACHE_SIZE_ENV_VAR "G3D_DEFAULT_CACHE_SIZE"
-#define G3D_CACHE_SIZE_MAX_ENV_VAR "G3D_MAX_CACHE_SIZE"
+#define RASTER3D_CACHE_SIZE_ENV_VAR "RASTER3D_DEFAULT_CACHE_SIZE"
+#define RASTER3D_CACHE_SIZE_MAX_ENV_VAR "RASTER3D_MAX_CACHE_SIZE"
 
-#define G3D_FILE_FLOAT_ENV_VAR "G3D_WRITE_FLOAT"
-#define G3D_FILE_DOUBLE_ENV_VAR "G3D_WRITE_DOUBLE"
+#define RASTER3D_FILE_FLOAT_ENV_VAR "RASTER3D_WRITE_FLOAT"
+#define RASTER3D_FILE_DOUBLE_ENV_VAR "RASTER3D_WRITE_DOUBLE"
 
-#define G3D_TILE_DIM_X_ENV_VAR "G3D_TILE_DIMENSION_X"
-#define G3D_TILE_DIM_Y_ENV_VAR "G3D_TILE_DIMENSION_Y"
-#define G3D_TILE_DIM_Z_ENV_VAR "G3D_TILE_DIMENSION_Z"
+#define RASTER3D_TILE_DIM_X_ENV_VAR "RASTER3D_TILE_DIMENSION_X"
+#define RASTER3D_TILE_DIM_Y_ENV_VAR "RASTER3D_TILE_DIMENSION_Y"
+#define RASTER3D_TILE_DIM_Z_ENV_VAR "RASTER3D_TILE_DIMENSION_Z"
 
-#define G3D_FATAL_ERROR_ENV_VAR "G3D_USE_FATAL_ERROR"
-#define G3D_PRINT_ERROR_ENV_VAR "G3D_USE_PRINT_ERROR"
+#define RASTER3D_FATAL_ERROR_ENV_VAR "RASTER3D_USE_FATAL_ERROR"
+#define RASTER3D_PRINT_ERROR_ENV_VAR "RASTER3D_USE_PRINT_ERROR"
 
-#define G3D_DEFAULT_WINDOW3D "G3D_DEFAULT_WINDOW3D"
+#define RASTER3D_DEFAULT_WINDOW3D "RASTER3D_DEFAULT_WINDOW3D"
 
 /*---------------------------------------------------------------------------*/
 
-int g3d_do_compression = G3D_NO_DEFAULT;
-int g3d_do_lzw_compression = G3D_NO_DEFAULT;
-int g3d_do_rle_compression = G3D_NO_DEFAULT;
-int g3d_precision = G3D_NO_DEFAULT;
-int g3d_cache_default = G3D_NO_DEFAULT;
-int g3d_cache_max = G3D_NO_DEFAULT;
-int g3d_file_type = G3D_NO_DEFAULT;
+int g3d_do_compression = RASTER3D_NO_DEFAULT;
+int g3d_do_lzw_compression = RASTER3D_NO_DEFAULT;
+int g3d_do_rle_compression = RASTER3D_NO_DEFAULT;
+int g3d_precision = RASTER3D_NO_DEFAULT;
+int g3d_cache_default = RASTER3D_NO_DEFAULT;
+int g3d_cache_max = RASTER3D_NO_DEFAULT;
+int g3d_file_type = RASTER3D_NO_DEFAULT;
 int g3d_tile_dimension[3] =
-    { G3D_NO_DEFAULT, G3D_NO_DEFAULT, G3D_NO_DEFAULT };
+    { RASTER3D_NO_DEFAULT, RASTER3D_NO_DEFAULT, RASTER3D_NO_DEFAULT };
 void (*g3d_error_fun) (const char *) = NULL;
 char *g3d_unit_default = NULL;
 
@@ -69,9 +69,9 @@
 /*!
  * \brief 
  *
- * <em>doCompress</em> should be one of G3D_NO_COMPRESSION and
- * G3D_COMPRESSION, <em>doRle</em> should be either G3D_NO_RLE or
- * G3D_USE_RLE, and <em>precision</em> should be either G3D_MAX_PRECISION or
+ * <em>doCompress</em> should be one of RASTER3D_NO_COMPRESSION and
+ * RASTER3D_COMPRESSION, <em>doRle</em> should be either RASTER3D_NO_RLE or
+ * RASTER3D_USE_RLE, and <em>precision</em> should be either RASTER3D_MAX_PRECISION or
  * a positive integer.
  *
  *  \param doCompress
@@ -84,18 +84,18 @@
 void
 G3d_setCompressionMode(int doCompress, int doLzw, int doRle, int precision)
 {
-    if ((doCompress != G3D_NO_COMPRESSION) && (doCompress != G3D_COMPRESSION))
+    if ((doCompress != RASTER3D_NO_COMPRESSION) && (doCompress != RASTER3D_COMPRESSION))
 	G3d_fatalError("G3d_setCompressionMode: wrong value for doCompress.");
 
     g3d_do_compression = doCompress;
 
-    if (doCompress == G3D_NO_COMPRESSION)
+    if (doCompress == RASTER3D_NO_COMPRESSION)
 	return;
 
-    if ((doLzw != G3D_NO_LZW) && (doLzw != G3D_USE_LZW))
+    if ((doLzw != RASTER3D_NO_LZW) && (doLzw != RASTER3D_USE_LZW))
 	G3d_fatalError("G3d_setCompressionMode: wrong value for doLzw.");
 
-    if ((doRle != G3D_NO_RLE) && (doRle != G3D_USE_RLE))
+    if ((doRle != RASTER3D_NO_RLE) && (doRle != RASTER3D_USE_RLE))
 	G3d_fatalError("G3d_setCompressionMode: wrong value for doRle.");
 
     if (precision < -1)
@@ -337,7 +337,7 @@
  * \brief 
  *
  *  Initializes the default values described
- * in G3D Defaults.  Applications have to use this function only if they need to
+ * in RASTER3D Defaults.  Applications have to use this function only if they need to
  * query the default values before the first file (either old or new) has been
  * opened.
  *
@@ -348,62 +348,62 @@
 {
     static int firstTime = 1;
     const char *value, *windowName;
-    G3D_Region window;
+    RASTER3D_Region window;
 
     if (!firstTime)
 	return;
     firstTime = 0;
 
-    if (g3d_do_compression == G3D_NO_DEFAULT) {
-	if (NULL != getenv(G3D_COMPRESSION_ENV_VAR_YES)) {
-	    g3d_do_compression = G3D_COMPRESSION;
+    if (g3d_do_compression == RASTER3D_NO_DEFAULT) {
+	if (NULL != getenv(RASTER3D_COMPRESSION_ENV_VAR_YES)) {
+	    g3d_do_compression = RASTER3D_COMPRESSION;
 	}
 	else {
-	    if (NULL != getenv(G3D_COMPRESSION_ENV_VAR_NO)) {
-		g3d_do_compression = G3D_NO_COMPRESSION;
+	    if (NULL != getenv(RASTER3D_COMPRESSION_ENV_VAR_NO)) {
+		g3d_do_compression = RASTER3D_NO_COMPRESSION;
 	    }
 	    else {
-		g3d_do_compression = G3D_COMPRESSION_DEFAULT;
+		g3d_do_compression = RASTER3D_COMPRESSION_DEFAULT;
 	    }
 	}
     }
 
-    if (g3d_do_lzw_compression == G3D_NO_DEFAULT) {
-	if (NULL != getenv(G3D_LZW_ENV_VAR_YES)) {
-	    g3d_do_lzw_compression = G3D_USE_LZW;
+    if (g3d_do_lzw_compression == RASTER3D_NO_DEFAULT) {
+	if (NULL != getenv(RASTER3D_LZW_ENV_VAR_YES)) {
+	    g3d_do_lzw_compression = RASTER3D_USE_LZW;
 	}
 	else {
-	    if (NULL != getenv(G3D_LZW_ENV_VAR_NO)) {
-		g3d_do_lzw_compression = G3D_NO_LZW;
+	    if (NULL != getenv(RASTER3D_LZW_ENV_VAR_NO)) {
+		g3d_do_lzw_compression = RASTER3D_NO_LZW;
 	    }
 	    else {
-		g3d_do_lzw_compression = G3D_USE_LZW_DEFAULT;
+		g3d_do_lzw_compression = RASTER3D_USE_LZW_DEFAULT;
 	    }
 	}
     }
 
-    if (g3d_do_rle_compression == G3D_NO_DEFAULT) {
-	if (NULL != getenv(G3D_RLE_ENV_VAR_YES)) {
-	    g3d_do_rle_compression = G3D_USE_RLE;
+    if (g3d_do_rle_compression == RASTER3D_NO_DEFAULT) {
+	if (NULL != getenv(RASTER3D_RLE_ENV_VAR_YES)) {
+	    g3d_do_rle_compression = RASTER3D_USE_RLE;
 	}
 	else {
-	    if (NULL != getenv(G3D_RLE_ENV_VAR_NO)) {
-		g3d_do_rle_compression = G3D_NO_RLE;
+	    if (NULL != getenv(RASTER3D_RLE_ENV_VAR_NO)) {
+		g3d_do_rle_compression = RASTER3D_NO_RLE;
 	    }
 	    else {
-		g3d_do_rle_compression = G3D_USE_RLE_DEFAULT;
+		g3d_do_rle_compression = RASTER3D_USE_RLE_DEFAULT;
 	    }
 	}
     }
 
-    if (g3d_precision == G3D_NO_DEFAULT) {
-	if (NULL != getenv(G3D_PRECISION_ENV_VAR_MAX)) {
-	    g3d_precision = G3D_MAX_PRECISION;
+    if (g3d_precision == RASTER3D_NO_DEFAULT) {
+	if (NULL != getenv(RASTER3D_PRECISION_ENV_VAR_MAX)) {
+	    g3d_precision = RASTER3D_MAX_PRECISION;
 	}
 	else {
-	    value = getenv(G3D_PRECISION_ENV_VAR);
+	    value = getenv(RASTER3D_PRECISION_ENV_VAR);
 	    if (value == NULL) {
-		g3d_precision = G3D_PRECISION_DEFAULT;
+		g3d_precision = RASTER3D_PRECISION_DEFAULT;
 	    }
 	    else {
 		if (sscanf(value, "%d", &g3d_precision) != 1) {
@@ -420,25 +420,25 @@
 	}
     }
 
-    if (g3d_file_type == G3D_NO_DEFAULT) {
-	if (NULL != getenv(G3D_FILE_FLOAT_ENV_VAR)) {
+    if (g3d_file_type == RASTER3D_NO_DEFAULT) {
+	if (NULL != getenv(RASTER3D_FILE_FLOAT_ENV_VAR)) {
 	    g3d_file_type = FCELL_TYPE;
 	}
 	else {
-	    if (NULL != getenv(G3D_FILE_DOUBLE_ENV_VAR)) {
+	    if (NULL != getenv(RASTER3D_FILE_DOUBLE_ENV_VAR)) {
 		g3d_file_type = DCELL_TYPE;
 	    }
 	    else {
-		g3d_file_type = G3D_FILE_TYPE_DEFAULT;
+		g3d_file_type = RASTER3D_FILE_TYPE_DEFAULT;
 	    }
 	}
     }
 
-    if (g3d_cache_default == G3D_NO_DEFAULT) {
-	value = getenv(G3D_CACHE_SIZE_ENV_VAR);
+    if (g3d_cache_default == RASTER3D_NO_DEFAULT) {
+	value = getenv(RASTER3D_CACHE_SIZE_ENV_VAR);
 
 	if (value == NULL) {
-	    g3d_cache_default = G3D_CACHE_SIZE_DEFAULT;
+	    g3d_cache_default = RASTER3D_CACHE_SIZE_DEFAULT;
 	}
 	else {
 	    if (sscanf(value, "%d", &g3d_cache_default) != 1) {
@@ -452,11 +452,11 @@
 	}
     }
 
-    if (g3d_cache_max == G3D_NO_DEFAULT) {
-	value = getenv(G3D_CACHE_SIZE_MAX_ENV_VAR);
+    if (g3d_cache_max == RASTER3D_NO_DEFAULT) {
+	value = getenv(RASTER3D_CACHE_SIZE_MAX_ENV_VAR);
 
 	if (value == NULL) {
-	    g3d_cache_max = G3D_CACHE_SIZE_MAX_DEFAULT;
+	    g3d_cache_max = RASTER3D_CACHE_SIZE_MAX_DEFAULT;
 	}
 	else {
 	    if (sscanf(value, "%d", &g3d_cache_max) != 1) {
@@ -470,11 +470,11 @@
 	}
     }
 
-    if (g3d_tile_dimension[0] == G3D_NO_DEFAULT) {
-	value = getenv(G3D_TILE_DIM_X_ENV_VAR);
+    if (g3d_tile_dimension[0] == RASTER3D_NO_DEFAULT) {
+	value = getenv(RASTER3D_TILE_DIM_X_ENV_VAR);
 
 	if (value == NULL) {
-	    g3d_tile_dimension[0] = G3D_TILE_X_DEFAULT;
+	    g3d_tile_dimension[0] = RASTER3D_TILE_X_DEFAULT;
 	}
 	else {
 	    if (sscanf(value, "%d", g3d_tile_dimension) != 1) {
@@ -487,10 +487,10 @@
 	    }
 	}
 
-	value = getenv(G3D_TILE_DIM_Y_ENV_VAR);
+	value = getenv(RASTER3D_TILE_DIM_Y_ENV_VAR);
 
 	if (value == NULL) {
-	    g3d_tile_dimension[1] = G3D_TILE_Y_DEFAULT;
+	    g3d_tile_dimension[1] = RASTER3D_TILE_Y_DEFAULT;
 	}
 	else {
 	    if (sscanf(value, "%d", g3d_tile_dimension + 1) != 1) {
@@ -503,10 +503,10 @@
 	    }
 	}
 
-	value = getenv(G3D_TILE_DIM_Z_ENV_VAR);
+	value = getenv(RASTER3D_TILE_DIM_Z_ENV_VAR);
 
 	if (value == NULL) {
-	    g3d_tile_dimension[2] = G3D_TILE_Z_DEFAULT;
+	    g3d_tile_dimension[2] = RASTER3D_TILE_Z_DEFAULT;
 	}
 	else {
 	    if (sscanf(value, "%d", g3d_tile_dimension + 2) != 1) {
@@ -521,29 +521,29 @@
     }
 
     if (g3d_error_fun == NULL) {
-	value = getenv(G3D_FATAL_ERROR_ENV_VAR);
+	value = getenv(RASTER3D_FATAL_ERROR_ENV_VAR);
 
 	if (value != NULL) {
 	    g3d_error_fun = G3d_fatalError_noargs;
 	}
 	else {
-	    value = getenv(G3D_PRINT_ERROR_ENV_VAR);
+	    value = getenv(RASTER3D_PRINT_ERROR_ENV_VAR);
 
 	    if (value != NULL) {
 		g3d_error_fun = G3d_printError;
 	    }
 	    else {
-		g3d_error_fun = G3D_ERROR_FUN_DEFAULT;
+		g3d_error_fun = RASTER3D_ERROR_FUN_DEFAULT;
 	    }
 	}
     }
 
     if (g3d_unit_default == NULL)
-	g3d_unit_default = G_store(G3D_UNIT_DEFAULT);
+	g3d_unit_default = G_store(RASTER3D_UNIT_DEFAULT);
 
     windowName = G3d_getWindowParams();
     if (windowName == NULL) {
-	value = getenv(G3D_DEFAULT_WINDOW3D);
+	value = getenv(RASTER3D_DEFAULT_WINDOW3D);
 	if (value != NULL)
 	    if (*value != 0)
 		windowName = value;

Modified: grass/trunk/lib/raster3d/doubleio.c
===================================================================
--- grass/trunk/lib/raster3d/doubleio.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/doubleio.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,13 +12,13 @@
 {
     int firstTime = 1;
     XDR xdrEncodeStream;
-    char xdrDoubleBuf[G3D_XDR_DOUBLE_LENGTH * 1024];
+    char xdrDoubleBuf[RASTER3D_XDR_DOUBLE_LENGTH * 1024];
     u_int n;
 
     if (nofNum <= 0)
 	G3d_fatalError("G3d_writeDoubles: nofNum out of range");
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	if (write(fd, i, sizeof(double) * nofNum) != sizeof(double) * nofNum) {
 	    G3d_error("G3d_writeDoubles: writing to file failed");
 	    return 0;
@@ -31,7 +31,7 @@
 
     if (firstTime) {
 	xdrmem_create(&xdrEncodeStream, xdrDoubleBuf,
-		      G3D_XDR_DOUBLE_LENGTH * 1024, XDR_ENCODE);
+		      RASTER3D_XDR_DOUBLE_LENGTH * 1024, XDR_ENCODE);
 	firstTime = 1;
     }
 
@@ -51,8 +51,8 @@
 	    return 0;
 	}
 
-	if (write(fd, xdrDoubleBuf, G3D_XDR_DOUBLE_LENGTH * n) !=
-	    G3D_XDR_DOUBLE_LENGTH * n) {
+	if (write(fd, xdrDoubleBuf, RASTER3D_XDR_DOUBLE_LENGTH * n) !=
+	    RASTER3D_XDR_DOUBLE_LENGTH * n) {
 	    G3d_error("G3d_writeDoubles: writing xdr to file failed");
 	    return 0;
 	}
@@ -70,13 +70,13 @@
 {
     int firstTime = 1;
     XDR xdrDecodeStream;
-    char xdrDoubleBuf[G3D_XDR_DOUBLE_LENGTH * 1024];
+    char xdrDoubleBuf[RASTER3D_XDR_DOUBLE_LENGTH * 1024];
     u_int n;
 
     if (nofNum <= 0)
 	G3d_fatalError("G3d_readDoubles: nofNum out of range");
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	if (read(fd, i, sizeof(double) * nofNum) != sizeof(double) * nofNum) {
 	    G3d_error("G3d_readDoubles: reading from file failed");
 	    return 0;
@@ -88,7 +88,7 @@
 
     if (firstTime) {
 	xdrmem_create(&xdrDecodeStream, xdrDoubleBuf,
-		      G3D_XDR_DOUBLE_LENGTH * 1024, XDR_DECODE);
+		      RASTER3D_XDR_DOUBLE_LENGTH * 1024, XDR_DECODE);
 	firstTime = 1;
     }
 
@@ -97,8 +97,8 @@
 	if (n == 0)
 	    n = 1024;
 
-	if (read(fd, xdrDoubleBuf, G3D_XDR_DOUBLE_LENGTH * n) !=
-	    G3D_XDR_DOUBLE_LENGTH * n) {
+	if (read(fd, xdrDoubleBuf, RASTER3D_XDR_DOUBLE_LENGTH * n) !=
+	    RASTER3D_XDR_DOUBLE_LENGTH * n) {
 	    G3d_error("G3d_readDoubles: reading xdr from file failed");
 	    return 0;
 	}

Modified: grass/trunk/lib/raster3d/filecompare.c
===================================================================
--- grass/trunk/lib/raster3d/filecompare.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/filecompare.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -398,15 +398,15 @@
 
     printf("\nComparing %s and %s\n", f1, f2);
 
-    map = G3d_openCellOld(f1, mapset1, G3D_DEFAULT_WINDOW,
-			  G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+    map = G3d_openCellOld(f1, mapset1, RASTER3D_DEFAULT_WINDOW,
+			  RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
     if (map == NULL)
 	G3d_fatalError("G3d_compareFiles: error in G3d_openCellOld");
 
     G3d_printHeader(map);
 
-    map2 = G3d_openCellOld(f2, mapset2, G3D_DEFAULT_WINDOW,
-			   G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+    map2 = G3d_openCellOld(f2, mapset2, RASTER3D_DEFAULT_WINDOW,
+			   RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
     if (map2 == NULL)
 	G3d_fatalError("G3d_compareFiles: error in G3d_openCellOld");
 

Modified: grass/trunk/lib/raster3d/filename.c
===================================================================
--- grass/trunk/lib/raster3d/filename.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/filename.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10,5 +10,5 @@
 G3d_filename(char *path, const char *elementName, const char *mapName,
 	     const char *mapset)
 {
-    G_file_name_misc(path, G3D_DIRECTORY, elementName, mapName, mapset);
+    G_file_name_misc(path, RASTER3D_DIRECTORY, elementName, mapName, mapset);
 }

Modified: grass/trunk/lib/raster3d/fpcompress.c
===================================================================
--- grass/trunk/lib/raster3d/fpcompress.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/fpcompress.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -720,10 +720,10 @@
     G_lzw_set_bits(9);
 #endif
 
-    if (useRle == G3D_USE_RLE)
+    if (useRle == RASTER3D_USE_RLE)
 	rleLength = G_rle_count_only(compressBuf + 1, offsetMantissa, 1);
 
-    if ((useRle == G3D_USE_RLE) && (rleLength < offsetMantissa)) {
+    if ((useRle == RASTER3D_USE_RLE) && (rleLength < offsetMantissa)) {
 
 	G_rle_encode(compressBuf + 1, src, offsetMantissa, 1);
 	srcStop = src + rleLength;
@@ -733,7 +733,7 @@
 
 	*(compressBuf + offsetMantissa - rleLength) = 1;
 
-	if (useLzw == G3D_USE_LZW)
+	if (useLzw == RASTER3D_USE_LZW)
 #ifdef USE_LZW_COMPRESSION
 	    status = G_lzw_write(fd, compressBuf + offsetMantissa - rleLength,
 				 nBytes - offsetMantissa + rleLength + 1);
@@ -764,7 +764,7 @@
     else {
 
 	*compressBuf = 0;
-	if (useLzw == G3D_USE_LZW)
+	if (useLzw == RASTER3D_USE_LZW)
 #ifdef USE_LZW_COMPRESSION
 	    status = G_lzw_write(fd, compressBuf, nBytes + 1);
 #else

Modified: grass/trunk/lib/raster3d/fpxdr.c
===================================================================
--- grass/trunk/lib/raster3d/fpxdr.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/fpxdr.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -64,7 +64,7 @@
 
 XDR xdrEncodeStream, xdrDecodeStream;	/* xdr support structures */
 
-int G3d_initFpXdr(G3D_Map * map, int misuseBytes)
+int G3d_initFpXdr(RASTER3D_Map * map, int misuseBytes)
 
 
 
@@ -76,7 +76,7 @@
     doAlloc = 0;
 
     if (xdr == NULL) {
-	xdrLength = map->tileSize * G3D_MAX(map->numLengthExtern,
+	xdrLength = map->tileSize * RASTER3D_MAX(map->numLengthExtern,
 					    map->numLengthIntern) +
 	    misuseBytes;
 	xdr = G3d_malloc(xdrLength);
@@ -87,10 +87,10 @@
 
 	doAlloc = 1;
     }
-    else if (map->tileSize * G3D_MAX(map->numLengthExtern,
+    else if (map->tileSize * RASTER3D_MAX(map->numLengthExtern,
 				     map->numLengthIntern) + misuseBytes
 	     > xdrLength) {
-	xdrLength = map->tileSize * G3D_MAX(map->numLengthExtern,
+	xdrLength = map->tileSize * RASTER3D_MAX(map->numLengthExtern,
 					    map->numLengthIntern) +
 	    misuseBytes;
 	xdr = G3d_realloc(xdr, xdrLength);
@@ -118,13 +118,13 @@
 static XDR *xdrs;
 static double tmpValue, *tmp;
 
-int G3d_initCopyToXdr(G3D_Map * map, int sType)
+int G3d_initCopyToXdr(RASTER3D_Map * map, int sType)
 {
     xdrTmp = xdr;
     useXdr = map->useXdr;
     srcType = sType;
 
-    if (map->useXdr == G3D_USE_XDR) {
+    if (map->useXdr == RASTER3D_USE_XDR) {
 	if (!xdr_setpos(&(xdrEncodeStream), 0)) {
 	    G3d_error("G3d_InitCopyToXdr: positioning xdr failed");
 	    return 0;
@@ -151,7 +151,7 @@
 {
     int i;
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	G3d_copyValues(src, 0, srcType, xdrTmp, 0, type, nofNum);
 	xdrTmp = G_incr_void_ptr(xdrTmp, nofNum * G3d_externLength(type));
 	return 1;
@@ -193,13 +193,13 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_initCopyFromXdr(G3D_Map * map, int dType)
+int G3d_initCopyFromXdr(RASTER3D_Map * map, int dType)
 {
     xdrTmp = xdr;
     useXdr = map->useXdr;
     dstType = dType;
 
-    if (useXdr == G3D_USE_XDR) {
+    if (useXdr == RASTER3D_USE_XDR) {
 	if (!xdr_setpos(&(xdrDecodeStream), 0)) {
 	    G3d_error("G3d_initCopyFromXdr: positioning xdr failed");
 	    return 0;
@@ -226,7 +226,7 @@
 {
     int i;
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	G3d_copyValues(xdrTmp, 0, type, dst, 0, dstType, nofNum);
 	xdrTmp = G_incr_void_ptr(xdrTmp, nofNum * G3d_externLength(type));
 	return 1;

Modified: grass/trunk/lib/raster3d/getblock.c
===================================================================
--- grass/trunk/lib/raster3d/getblock.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/getblock.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9,7 +9,7 @@
 /*---------------------------------------------------------------------------*/
 
 void
-G3d_getBlockNocache(G3D_Map * map, int x0, int y0, int z0, int nx, int ny,
+G3d_getBlockNocache(RASTER3D_Map * map, int x0, int y0, int z0, int nx, int ny,
 		    int nz, void *block, int type)
 {
     void *tile;
@@ -102,7 +102,7 @@
  */
 
 void
-G3d_getBlock(G3D_Map * map, int x0, int y0, int z0, int nx, int ny, int nz,
+G3d_getBlock(RASTER3D_Map * map, int x0, int y0, int z0, int nx, int ny, int nz,
 	     void *block, int type)
 {
     int x, y, z, nNull, x1, y1, z1, length;
@@ -112,9 +112,9 @@
 	return;
     }
 
-    x1 = G3D_MIN(x0 + nx, map->region.cols);
-    y1 = G3D_MIN(y0 + ny, map->region.rows);
-    z1 = G3D_MIN(z0 + nz, map->region.depths);
+    x1 = RASTER3D_MIN(x0 + nx, map->region.cols);
+    y1 = RASTER3D_MIN(y0 + ny, map->region.rows);
+    z1 = RASTER3D_MIN(z0 + nz, map->region.depths);
 
     length = G3d_length(type);
 

Modified: grass/trunk/lib/raster3d/getvalue.c
===================================================================
--- grass/trunk/lib/raster3d/getvalue.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/getvalue.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -19,7 +19,7 @@
  *  \return void
  */
 
-void G3d_getValue(G3D_Map * map, int x, int y, int z, void *value, int type)
+void G3d_getValue(RASTER3D_Map * map, int x, int y, int z, void *value, int type)
 {
     /* get the resampled value */
     map->resampleFun(map, x, y, z, value, type);
@@ -40,7 +40,7 @@
  *  \return float
  */
 
-float G3d_getFloat(G3D_Map * map, int x, int y, int z)
+float G3d_getFloat(RASTER3D_Map * map, int x, int y, int z)
 {
     float value;
 
@@ -63,7 +63,7 @@
  *  \return double
  */
 
-double G3d_getDouble(G3D_Map * map, int x, int y, int z)
+double G3d_getDouble(RASTER3D_Map * map, int x, int y, int z)
 {
     double value;
 
@@ -91,7 +91,7 @@
  */
 
 void
-G3d_getWindowValue(G3D_Map * map, double north, double east, double top,
+G3d_getWindowValue(RASTER3D_Map * map, double north, double east, double top,
 		   void *value, int type)
 {
     int col, row, depth;
@@ -128,7 +128,7 @@
  */
 
 void
-G3d_getRegionValue(G3D_Map * map, double north, double east, double top,
+G3d_getRegionValue(RASTER3D_Map * map, double north, double east, double top,
 		   void *value, int type)
 {
     int row, col, depth;
@@ -162,7 +162,7 @@
  *  \return float
  */
 
-float G3d_getFloatRegion(G3D_Map * map, int x, int y, int z)
+float G3d_getFloatRegion(RASTER3D_Map * map, int x, int y, int z)
 {
     int tileIndex, offs;
     float *tile;
@@ -195,7 +195,7 @@
  *  \return double
  */
 
-double G3d_getDoubleRegion(G3D_Map * map, int x, int y, int z)
+double G3d_getDoubleRegion(RASTER3D_Map * map, int x, int y, int z)
 {
     int tileIndex, offs;
     double *tile;
@@ -234,7 +234,7 @@
  */
 
 void
-G3d_getValueRegion(G3D_Map * map, int x, int y, int z, void *value, int type)
+G3d_getValueRegion(RASTER3D_Map * map, int x, int y, int z, void *value, int type)
 {
     if (type == FCELL_TYPE) {
 	*((float *)value) = G3d_getFloatRegion(map, x, y, z);

Modified: grass/trunk/lib/raster3d/header.c
===================================================================
--- grass/trunk/lib/raster3d/header.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/header.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -16,18 +16,18 @@
 
 /*---------------------------------------------------------------------------*/
 
-#define G3D_HEADER_TILEX "TileDimensionX"
-#define G3D_HEADER_TILEY "TileDimensionY"
-#define G3D_HEADER_TILEZ "TileDimensionZ"
-#define G3D_HEADER_TYPE "CellType"
-#define G3D_HEADER_COMPRESSION "useCompression"
-#define G3D_HEADER_USERLE "useRle"
-#define G3D_HEADER_USELZW "useLzw"
-#define G3D_HEADER_PRECISION "Precision"
-#define G3D_HEADER_DATA_OFFSET "nofHeaderBytes"
-#define G3D_HEADER_USEXDR "useXdr"
-#define G3D_HEADER_HASINDEX "hasIndex"
-#define G3D_HEADER_UNIT "Units"
+#define RASTER3D_HEADER_TILEX "TileDimensionX"
+#define RASTER3D_HEADER_TILEY "TileDimensionY"
+#define RASTER3D_HEADER_TILEZ "TileDimensionZ"
+#define RASTER3D_HEADER_TYPE "CellType"
+#define RASTER3D_HEADER_COMPRESSION "useCompression"
+#define RASTER3D_HEADER_USERLE "useRle"
+#define RASTER3D_HEADER_USELZW "useLzw"
+#define RASTER3D_HEADER_PRECISION "Precision"
+#define RASTER3D_HEADER_DATA_OFFSET "nofHeaderBytes"
+#define RASTER3D_HEADER_USEXDR "useXdr"
+#define RASTER3D_HEADER_HASINDEX "hasIndex"
+#define RASTER3D_HEADER_UNIT "Units"
 
 /*---------------------------------------------------------------------------*/
 
@@ -59,45 +59,45 @@
     }
 
     returnVal = 1;
-    returnVal &= headerInt(headerKeys, G3D_REGION_PROJ, proj);
-    returnVal &= headerInt(headerKeys, G3D_REGION_ZONE, zone);
+    returnVal &= headerInt(headerKeys, RASTER3D_REGION_PROJ, proj);
+    returnVal &= headerInt(headerKeys, RASTER3D_REGION_ZONE, zone);
 
-    returnVal &= headerDouble(headerKeys, G3D_REGION_NORTH, north);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_SOUTH, south);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_EAST, east);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_WEST, west);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_TOP, top);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_BOTTOM, bottom);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_NORTH, north);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_SOUTH, south);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_EAST, east);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_WEST, west);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_TOP, top);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_BOTTOM, bottom);
 
-    returnVal &= headerInt(headerKeys, G3D_REGION_ROWS, rows);
-    returnVal &= headerInt(headerKeys, G3D_REGION_COLS, cols);
-    returnVal &= headerInt(headerKeys, G3D_REGION_DEPTHS, depths);
+    returnVal &= headerInt(headerKeys, RASTER3D_REGION_ROWS, rows);
+    returnVal &= headerInt(headerKeys, RASTER3D_REGION_COLS, cols);
+    returnVal &= headerInt(headerKeys, RASTER3D_REGION_DEPTHS, depths);
 
-    returnVal &= headerDouble(headerKeys, G3D_REGION_NSRES, ns_res);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_EWRES, ew_res);
-    returnVal &= headerDouble(headerKeys, G3D_REGION_TBRES, tb_res);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_NSRES, ns_res);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_EWRES, ew_res);
+    returnVal &= headerDouble(headerKeys, RASTER3D_REGION_TBRES, tb_res);
 
-    returnVal &= headerInt(headerKeys, G3D_HEADER_TILEX, tileX);
-    returnVal &= headerInt(headerKeys, G3D_HEADER_TILEY, tileY);
-    returnVal &= headerInt(headerKeys, G3D_HEADER_TILEZ, tileZ);
+    returnVal &= headerInt(headerKeys, RASTER3D_HEADER_TILEX, tileX);
+    returnVal &= headerInt(headerKeys, RASTER3D_HEADER_TILEY, tileY);
+    returnVal &= headerInt(headerKeys, RASTER3D_HEADER_TILEZ, tileZ);
 
-    returnVal &= headerValue(headerKeys, G3D_HEADER_TYPE,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_TYPE,
 			     "double", "float", DCELL_TYPE, FCELL_TYPE, type);
-    returnVal &= headerValue(headerKeys, G3D_HEADER_COMPRESSION,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_COMPRESSION,
 			     "0", "1", 0, 1, compression);
-    returnVal &= headerValue(headerKeys, G3D_HEADER_USERLE,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_USERLE,
 			     "0", "1", 0, 1, useRle);
-    returnVal &= headerValue(headerKeys, G3D_HEADER_USELZW,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_USELZW,
 			     "0", "1", 0, 1, useLzw);
 
-    returnVal &= headerInt(headerKeys, G3D_HEADER_PRECISION, precision);
-    returnVal &= headerInt(headerKeys, G3D_HEADER_DATA_OFFSET, dataOffset);
+    returnVal &= headerInt(headerKeys, RASTER3D_HEADER_PRECISION, precision);
+    returnVal &= headerInt(headerKeys, RASTER3D_HEADER_DATA_OFFSET, dataOffset);
 
-    returnVal &= headerValue(headerKeys, G3D_HEADER_USEXDR,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_USEXDR,
 			     "0", "1", 0, 1, useXdr);
-    returnVal &= headerValue(headerKeys, G3D_HEADER_HASINDEX,
+    returnVal &= headerValue(headerKeys, RASTER3D_HEADER_HASINDEX,
 			     "0", "1", 0, 1, hasIndex);
-    returnVal &= headerString(headerKeys, G3D_HEADER_UNIT, unit);
+    returnVal &= headerString(headerKeys, RASTER3D_HEADER_UNIT, unit);
 
     if (returnVal)
 	return 1;
@@ -109,7 +109,7 @@
 /*---------------------------------------------------------------------------*/
 
 int
-G3d_readHeader(G3D_Map * map, int *proj, int *zone, double *north,
+G3d_readHeader(RASTER3D_Map * map, int *proj, int *zone, double *north,
 	       double *south, double *east, double *west, double *top,
 	       double *bottom, int *rows, int *cols, int *depths,
 	       double *ew_res, double *ns_res, double *tb_res, int *tileX,
@@ -120,7 +120,7 @@
     struct Key_Value *headerKeys;
     char path[GPATH_MAX];
 
-    G3d_filename(path, G3D_HEADER_ELEMENT, map->fileName, map->mapset);
+    G3d_filename(path, RASTER3D_HEADER_ELEMENT, map->fileName, map->mapset);
     if (access(path, R_OK) != 0) {
 	G3d_error("G3d_readHeader: unable to find [%s]", path);
 	return 0;
@@ -148,7 +148,7 @@
 /*---------------------------------------------------------------------------*/
 
 int
-G3d_writeHeader(G3D_Map * map, int proj, int zone, double north, double south,
+G3d_writeHeader(RASTER3D_Map * map, int proj, int zone, double north, double south,
 		double east, double west, double top, double bottom, int rows,
 		int cols, int depths, double ew_res, double ns_res,
 		double tb_res, int tileX, int tileY, int tileZ, int type,
@@ -174,7 +174,7 @@
 	return 0;
     }
 
-    G3d_filename(path, G3D_HEADER_ELEMENT, map->fileName, map->mapset);
+    G3d_filename(path, RASTER3D_HEADER_ELEMENT, map->fileName, map->mapset);
     G3d_makeMapsetMapDirectory(map->fileName);
     G_write_key_value_file(path, headerKeys);
 
@@ -194,15 +194,15 @@
  * to specify the size of the cache.
  * If <em>cacheCode</em> is the size (in tiles) of the cache the function returns
  * <em>cacheCode * n</em>.
- * If <em>cacheCode</em> is G3D_USE_CACHE_DEFAULT the function returns
- * G3D_USE_CACHE_DEFAULT.
- * If <em>cacheCode</em> is G3D_USE_CACHE_??? the function returns a value
- * encoding G3D_USE_CACHE_??? and <em>n</em>. Here G3D_USE_CACHE_??? is one
- * of G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
- * G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ, or
- * G3D_USE_CACHE_XYZ, where e.g.  G3D_USE_CACHE_X specifies that the cache
+ * If <em>cacheCode</em> is RASTER3D_USE_CACHE_DEFAULT the function returns
+ * RASTER3D_USE_CACHE_DEFAULT.
+ * If <em>cacheCode</em> is RASTER3D_USE_CACHE_??? the function returns a value
+ * encoding RASTER3D_USE_CACHE_??? and <em>n</em>. Here RASTER3D_USE_CACHE_??? is one
+ * of RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+ * RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ, or
+ * RASTER3D_USE_CACHE_XYZ, where e.g.  RASTER3D_USE_CACHE_X specifies that the cache
  * should store as many tiles as there exist in one row along the x-axis of the
- * tile cube, and G3D_USE_CACHE_XY specifies that the cache should store as
+ * tile cube, and RASTER3D_USE_CACHE_XY specifies that the cache should store as
  * many tiles as there exist in one slice of the tile cube with constant Z
  * coordinate.
  *
@@ -213,12 +213,12 @@
 
 int G3d_cacheSizeEncode(int cacheCode, int n)
 {
-    if (cacheCode >= G3D_NO_CACHE)
+    if (cacheCode >= RASTER3D_NO_CACHE)
 	return cacheCode * n;
-    if (cacheCode == G3D_USE_CACHE_DEFAULT)
+    if (cacheCode == RASTER3D_USE_CACHE_DEFAULT)
 	return cacheCode;
 
-    if (cacheCode < G3D_USE_CACHE_XYZ)
+    if (cacheCode < RASTER3D_USE_CACHE_XYZ)
 	G3d_fatalError("G3d_cacheSizeEncode: invalid cache code");
 
     return n * (-10) + cacheCode;
@@ -226,47 +226,47 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d__computeCacheSize(G3D_Map * map, int cacheCode)
+int G3d__computeCacheSize(RASTER3D_Map * map, int cacheCode)
 {
     int n, size;
 
-    if (cacheCode >= G3D_NO_CACHE)
+    if (cacheCode >= RASTER3D_NO_CACHE)
 	return cacheCode;
-    if (cacheCode == G3D_USE_CACHE_DEFAULT)
-	return G3D_MIN(g3d_cache_default, map->nTiles);
+    if (cacheCode == RASTER3D_USE_CACHE_DEFAULT)
+	return RASTER3D_MIN(g3d_cache_default, map->nTiles);
 
     n = -(cacheCode / 10);
-    n = G3D_MAX(1, n);
+    n = RASTER3D_MAX(1, n);
     cacheCode = -((-cacheCode) % 10);
 
-    if (cacheCode == G3D_USE_CACHE_X)
+    if (cacheCode == RASTER3D_USE_CACHE_X)
 	size = map->nx * n;
-    else if (cacheCode == G3D_USE_CACHE_Y)
+    else if (cacheCode == RASTER3D_USE_CACHE_Y)
 	size = map->ny * n;
-    else if (cacheCode == G3D_USE_CACHE_Z)
+    else if (cacheCode == RASTER3D_USE_CACHE_Z)
 	size = map->nz * n;
-    else if (cacheCode == G3D_USE_CACHE_XY)
+    else if (cacheCode == RASTER3D_USE_CACHE_XY)
 	size = map->nxy * n;
-    else if (cacheCode == G3D_USE_CACHE_XZ)
+    else if (cacheCode == RASTER3D_USE_CACHE_XZ)
 	size = map->nx * map->nz * n;
-    else if (cacheCode == G3D_USE_CACHE_YZ)
+    else if (cacheCode == RASTER3D_USE_CACHE_YZ)
 	size = map->ny * map->nz * n;
-    else if (cacheCode == G3D_USE_CACHE_XYZ)
+    else if (cacheCode == RASTER3D_USE_CACHE_XYZ)
 	size = map->nTiles;
     else
 	G3d_fatalError("G3d__computeCacheSize: invalid cache code");
 
-    return G3D_MIN(size, map->nTiles);
+    return RASTER3D_MIN(size, map->nTiles);
 }
 
 /*---------------------------------------------------------------------------*/
 
 /* this function does actually more than filling the header fields of the */
-/* G3D-Map structure. It also allocates memory for compression and xdr, */
+/* RASTER3D-Map structure. It also allocates memory for compression and xdr, */
 /* and initializes the index and cache. This function should be taken apart. */
 
 int
-G3d_fillHeader(G3D_Map * map, int operation, int compression, int useRle,
+G3d_fillHeader(RASTER3D_Map * map, int operation, int compression, int useRle,
 	       int useLzw, int type, int precision, int cache, int hasIndex,
 	       int useXdr, int typeIntern, int nofHeaderBytes, int tileX,
 	       int tileY, int tileZ, int proj, int zone, double north,
@@ -274,7 +274,7 @@
 	       double bottom, int rows, int cols, int depths, double ew_res,
 	       double ns_res, double tb_res, char *unit)
 {
-    if (!G3D_VALID_OPERATION(operation))
+    if (!RASTER3D_VALID_OPERATION(operation))
 	G3d_fatalError("G3d_fillHeader: operation not valid\n");
 
     map->operation = operation;
@@ -334,7 +334,7 @@
 	G3d_fatalError("G3d_fillHeader: invalid type");
     map->typeIntern = typeIntern;
 
-    if (!G3D_VALID_XDR_OPTION(useXdr))
+    if (!RASTER3D_VALID_XDR_OPTION(useXdr))
 	G3d_fatalError("G3d_fillHeader: invalid xdr option");
     map->useXdr = useXdr;
 
@@ -345,7 +345,7 @@
 	return 0;
     }
 
-    map->useCache = (cache != G3D_NO_CACHE);
+    map->useCache = (cache != RASTER3D_NO_CACHE);
 
     map->numLengthIntern = G3d_length(map->typeIntern);
     map->numLengthExtern = G3d_externLength(map->type);
@@ -357,10 +357,10 @@
 
 #define RLE_STATUS_BYTES 2
 
-    if (map->compression != G3D_NO_COMPRESSION) {
+    if (map->compression != RASTER3D_NO_COMPRESSION) {
 	if (tmpCompress == NULL) {
 	    tmpCompressLength = map->tileSize *
-		G3D_MAX(map->numLengthIntern, map->numLengthExtern) +
+		RASTER3D_MAX(map->numLengthIntern, map->numLengthExtern) +
 		RLE_STATUS_BYTES;
 	    tmpCompress = G3d_malloc(tmpCompressLength);
 	    if (tmpCompress == NULL) {
@@ -369,10 +369,10 @@
 	    }
 	}
 	else if (map->tileSize *
-		 G3D_MAX(map->numLengthIntern, map->numLengthExtern)
+		 RASTER3D_MAX(map->numLengthIntern, map->numLengthExtern)
 		 + RLE_STATUS_BYTES > tmpCompressLength) {
 	    tmpCompressLength = map->tileSize *
-		G3D_MAX(map->numLengthIntern, map->numLengthExtern) +
+		RASTER3D_MAX(map->numLengthIntern, map->numLengthExtern) +
 		RLE_STATUS_BYTES;
 	    tmpCompress = G3d_realloc(tmpCompress, tmpCompressLength);
 	    if (tmpCompress == NULL) {
@@ -390,7 +390,7 @@
     }
 
     if ((!map->useCache) ||
-	((cache == G3D_USE_CACHE_DEFAULT) && (g3d_cache_default == 0))) {
+	((cache == RASTER3D_USE_CACHE_DEFAULT) && (g3d_cache_default == 0))) {
 	map->useCache = 0;
 	map->cache = NULL;
 	/* allocate one tile buffer */
@@ -403,8 +403,8 @@
     }
     else {
 	if (!G3d_initCache(map,
-			   G3D_MAX(1,
-				   G3D_MIN(G3d__computeCacheSize(map, cache),
+			   RASTER3D_MAX(1,
+				   RASTER3D_MIN(G3d__computeCacheSize(map, cache),
 					   g3d_cache_max /
 					   map->tileSize /
 					   map->numLengthIntern)))) {

Modified: grass/trunk/lib/raster3d/headerinfo.c
===================================================================
--- grass/trunk/lib/raster3d/headerinfo.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/headerinfo.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -16,7 +16,7 @@
  *  \return void
  */
 
-void G3d_getCoordsMap(G3D_Map * map, int *rows, int *cols, int *depths)
+void G3d_getCoordsMap(RASTER3D_Map * map, int *rows, int *cols, int *depths)
 {
     *rows = map->region.rows;
     *cols = map->region.cols;
@@ -25,7 +25,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_getCoordsMapWindow(G3D_Map * map, int *rows, int *cols, int *depths)
+void G3d_getCoordsMapWindow(RASTER3D_Map * map, int *rows, int *cols, int *depths)
 {
     *rows = map->window.rows;
     *cols = map->window.cols;
@@ -48,7 +48,7 @@
  *  \return void
  */
 
-void G3d_getNofTilesMap(G3D_Map * map, int *nx, int *ny, int *nz)
+void G3d_getNofTilesMap(RASTER3D_Map * map, int *nx, int *ny, int *nz)
 {
     *nx = map->nx;
     *ny = map->ny;
@@ -74,7 +74,7 @@
  */
 
 void
-G3d_getRegionMap(G3D_Map * map, double *north, double *south, double *east,
+G3d_getRegionMap(RASTER3D_Map * map, double *north, double *south, double *east,
 		 double *west, double *top, double *bottom)
 {
     *north = map->region.north;
@@ -88,7 +88,7 @@
 /*---------------------------------------------------------------------------*/
 
 void
-G3d_getWindowMap(G3D_Map * map, double *north, double *south, double *east,
+G3d_getWindowMap(RASTER3D_Map * map, double *north, double *south, double *east,
 		 double *west, double *top, double *bottom)
 {
     *north = map->window.north;
@@ -112,14 +112,14 @@
  *  \return void
  */
 
-void G3d_getRegionStructMap(G3D_Map * map, G3D_Region * region)
+void G3d_getRegionStructMap(RASTER3D_Map * map, RASTER3D_Region * region)
 {
     G3d_regionCopy(region, &(map->region));
 }
 
 /*---------------------------------------------------------------------------*/
 
-void G3d_getWindowStructMap(G3D_Map * map, G3D_Region * window)
+void G3d_getWindowStructMap(RASTER3D_Map * map, RASTER3D_Region * window)
 {
     G3d_regionCopy(window, &(map->window));
 }
@@ -139,7 +139,7 @@
  *  \return void
  */
 
-void G3d_getTileDimensionsMap(G3D_Map * map, int *x, int *y, int *z)
+void G3d_getTileDimensionsMap(RASTER3D_Map * map, int *x, int *y, int *z)
 {
     *x = map->tileX;
     *y = map->tileY;
@@ -158,7 +158,7 @@
  *  \return int
  */
 
-int G3d_tileTypeMap(G3D_Map * map)
+int G3d_tileTypeMap(RASTER3D_Map * map)
 {
     return map->typeIntern;
 }
@@ -175,7 +175,7 @@
  *  \return int
  */
 
-int G3d_fileTypeMap(G3D_Map * map)
+int G3d_fileTypeMap(RASTER3D_Map * map)
 {
     return map->type;
 }
@@ -192,7 +192,7 @@
  *  \return int
  */
 
-int G3d_tilePrecisionMap(G3D_Map * map)
+int G3d_tilePrecisionMap(RASTER3D_Map * map)
 {
     return map->precision;
 }
@@ -209,7 +209,7 @@
  *  \return int
  */
 
-int G3d_tileUseCacheMap(G3D_Map * map)
+int G3d_tileUseCacheMap(RASTER3D_Map * map)
 {
     return map->useCache;
 }
@@ -225,13 +225,13 @@
  *  \return void
  */
 
-void G3d_printHeader(G3D_Map * map)
+void G3d_printHeader(RASTER3D_Map * map)
 {
     double rangeMin, rangeMax;
 
     printf("File %s open for %sing:\n", map->fileName,
-	   (map->operation == G3D_WRITE_DATA ? "writ" :
-	    (map->operation == G3D_READ_DATA ? "read" : "unknown")));
+	   (map->operation == RASTER3D_WRITE_DATA ? "writ" :
+	    (map->operation == RASTER3D_READ_DATA ? "read" : "unknown")));
     printf("  Fd = %d, Unit %s, Type: %s, ", map->data_fd,
 	   map->unit,
 	   (map->type == FCELL_TYPE ? "float" :
@@ -239,7 +239,7 @@
     printf("Type intern: %s\n",
 	   (map->typeIntern == FCELL_TYPE ? "float" :
 	    (map->typeIntern == DCELL_TYPE ? "double" : "unknown")));
-    if (map->compression == G3D_NO_COMPRESSION)
+    if (map->compression == RASTER3D_NO_COMPRESSION)
 	printf("  Compression: none\n");
     else {
 	printf("  Compression:%s%s Precision: %s",
@@ -253,7 +253,7 @@
 	printf("  Cache: none\n");
     else {
 	printf("  Cache: used%s\n",
-	       (map->operation == G3D_WRITE_DATA ? ", File Cache used" : ""));
+	       (map->operation == RASTER3D_WRITE_DATA ? ", File Cache used" : ""));
     }
 
     G3d_range_min_max(map, &rangeMin, &rangeMax);

Modified: grass/trunk/lib/raster3d/history.c
===================================================================
--- grass/trunk/lib/raster3d/history.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/history.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -67,7 +67,7 @@
 
     G_zero(hist, sizeof(struct History));
 
-    fp = G_fopen_old_misc(G3D_DIRECTORY, G3D_HISTORY_ELEMENT, name, mapset);
+    fp = G_fopen_old_misc(RASTER3D_DIRECTORY, RASTER3D_HISTORY_ELEMENT, name, mapset);
     if (!fp)
 	return -2;
 
@@ -97,7 +97,7 @@
 int G3d_writeHistory(const char *name, struct History *hist)
 /* This function is adapted from Rast_write_history */
 {
-    FILE *fp = G_fopen_new_misc(G3D_DIRECTORY, G3D_HISTORY_ELEMENT, name);
+    FILE *fp = G_fopen_new_misc(RASTER3D_DIRECTORY, RASTER3D_HISTORY_ELEMENT, name);
     if (!fp)
 	return -1;
 

Modified: grass/trunk/lib/raster3d/index.c
===================================================================
--- grass/trunk/lib/raster3d/index.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/index.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -7,7 +7,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_readIndex(G3D_Map * map)
+static int G3d_readIndex(RASTER3D_Map * map)
 {
     unsigned char *tmp, *tmp2;
     int dummy1, dummy2, indexLength, tileIndex;
@@ -75,7 +75,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_flushIndex(G3D_Map * map)
+int G3d_flushIndex(RASTER3D_Map * map)
 {
     int sizeCompressed, indexLength, tileIndex;
     unsigned char *tmp;
@@ -152,7 +152,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_initIndex(G3D_Map * map, int hasIndex)
+int G3d_initIndex(RASTER3D_Map * map, int hasIndex)
 {
     int tile;
     int i0, i1, i2, i3, i4, i5, offset, nofElts;
@@ -167,7 +167,7 @@
 	return 0;
     }
 
-    if (map->operation == G3D_WRITE_DATA) {
+    if (map->operation == RASTER3D_WRITE_DATA) {
 	for (tile = 0; tile < map->nTiles; tile++)
 	    map->index[tile] = -1;
 	return 1;

Modified: grass/trunk/lib/raster3d/intio.c
===================================================================
--- grass/trunk/lib/raster3d/intio.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/intio.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,13 +12,13 @@
 {
     int firstTime = 1;
     XDR xdrEncodeStream;
-    char xdrIntBuf[G3D_XDR_INT_LENGTH * 1024];
+    char xdrIntBuf[RASTER3D_XDR_INT_LENGTH * 1024];
     u_int n;
 
     if (nofNum <= 0)
 	G3d_fatalError("G3d_writeInts: nofNum out of range");
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	if (write(fd, i, sizeof(int) * nofNum) != sizeof(int) * nofNum) {
 	    G3d_error("G3d_writeInts: writing to file failed");
 	    return 0;
@@ -29,7 +29,7 @@
     }
 
     if (firstTime) {
-	xdrmem_create(&xdrEncodeStream, xdrIntBuf, G3D_XDR_INT_LENGTH * 1024,
+	xdrmem_create(&xdrEncodeStream, xdrIntBuf, RASTER3D_XDR_INT_LENGTH * 1024,
 		      XDR_ENCODE);
 	firstTime = 1;
     }
@@ -50,8 +50,8 @@
 	    return 0;
 	}
 
-	if (write(fd, xdrIntBuf, G3D_XDR_INT_LENGTH * n) !=
-	    G3D_XDR_INT_LENGTH * n) {
+	if (write(fd, xdrIntBuf, RASTER3D_XDR_INT_LENGTH * n) !=
+	    RASTER3D_XDR_INT_LENGTH * n) {
 	    G3d_error("G3d_writeInts: writing xdr to file failed");
 	    return 0;
 	}
@@ -69,13 +69,13 @@
 {
     int firstTime = 1;
     XDR xdrDecodeStream;
-    char xdrIntBuf[G3D_XDR_INT_LENGTH * 1024];
+    char xdrIntBuf[RASTER3D_XDR_INT_LENGTH * 1024];
     u_int n;
 
     if (nofNum <= 0)
 	G3d_fatalError("G3d_readInts: nofNum out of range");
 
-    if (useXdr == G3D_NO_XDR) {
+    if (useXdr == RASTER3D_NO_XDR) {
 	if (read(fd, i, sizeof(int) * nofNum) != sizeof(int) * nofNum) {
 	    G3d_error("G3d_readInts: reading from file failed");
 	    return 0;
@@ -86,7 +86,7 @@
     }
 
     if (firstTime) {
-	xdrmem_create(&xdrDecodeStream, xdrIntBuf, G3D_XDR_INT_LENGTH * 1024,
+	xdrmem_create(&xdrDecodeStream, xdrIntBuf, RASTER3D_XDR_INT_LENGTH * 1024,
 		      XDR_DECODE);
 	firstTime = 1;
     }
@@ -96,8 +96,8 @@
 	if (n == 0)
 	    n = 1024;
 
-	if (read(fd, xdrIntBuf, G3D_XDR_INT_LENGTH * n) !=
-	    G3D_XDR_INT_LENGTH * n) {
+	if (read(fd, xdrIntBuf, RASTER3D_XDR_INT_LENGTH * n) !=
+	    RASTER3D_XDR_INT_LENGTH * n) {
 	    G3d_error("G3d_readInts: reading xdr from file failed");
 	    return 0;
 	}

Modified: grass/trunk/lib/raster3d/lib.dox
===================================================================
--- grass/trunk/lib/raster3d/lib.dox	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/lib.dox	2011-08-10 17:20:14 UTC (rev 47536)
@@ -16,7 +16,7 @@
 <b>Overview</b>
 
 The Grid3D raster volume Library is used for the r3.* and vector
-volume tools. The G3D library uses a tile cache based approach to store floating point
+volume tools. The RASTER3D library uses a tile cache based approach to store floating point
  values in abritrary order in a volume. The coordinate system of a volume is 
 column and row compatible to the raster library and counts from the bottom to the top
 of the cube.
@@ -25,7 +25,7 @@
 <img src=g3d_volume_layout.png border=0><BR>
 <table border=0 width=700>
 <tr><td><center>
-<i>The volume coordinate system and tile layout of the G3D library</i>
+<i>The volume coordinate system and tile layout of the RASTER3D library</i>
 </center></td></tr>
 </table>
 </center>
@@ -105,7 +105,7 @@
 \section Tile_Data_NULL_values Tile Data NULL-values
 
 <P>
-G3D uses the same functions as <EM>2d</EM> GRASS to set and test NULL-values.  The
+RASTER3D uses the same functions as <EM>2d</EM> GRASS to set and test NULL-values.  The
 storage in the file is different though.  NULL-values are stored with a special
 bit-pattern if maximum precision is chosen.  They are stored by adding an
 additional bit if the precision is smaller.
@@ -256,7 +256,7 @@
 precision is used.
 <BR>
 <P>
-Binary files not in G3D format can be read by the library. The
+Binary files not in RASTER3D format can be read by the library. The
 following actions have to be taken: 
 
 <P>
@@ -322,7 +322,7 @@
     int proj;  /* Projection (see gis.h) */
     int zone;  /* Projection zone (see gis.h) */
 
-} G3D\_Region;
+} RASTER3D\_Region;
 \endverbatim
 
 <P>
@@ -378,7 +378,7 @@
 \section Masks Masks
 
 <P>
-G3D provides a mask for the <EM>3d</EM> region.  The mask structure is
+RASTER3D provides a mask for the <EM>3d</EM> region.  The mask structure is
 automatically initialized at the time the first file is opened. The same
 structure is used for all the files. The default for every file is that the
 mask is turned off. If masking should be performed, the application program has
@@ -402,11 +402,11 @@
 \section Include_File Include File
 
 <P>
-Exported G3D constants and structures can be found in <EM>G3d.h</EM>.
+Exported RASTER3D constants and structures can be found in <EM>G3d.h</EM>.
 
 <P>
 
-\section G3D_Defaults G3D Defaults
+\section RASTER3D_Defaults RASTER3D Defaults
 
 <P>
 There are three methods to set default variables. First, the default can be set
@@ -432,11 +432,11 @@
 in the cache and does not include the support structure.
 
 <P>
-Default G3D_CACHE_SIZE_MAX_DEFAULT. This is currently set to 16meg and can
+Default RASTER3D_CACHE_SIZE_MAX_DEFAULT. This is currently set to 16meg and can
 be changed at compilation time of the library.
 
 <P>
-Environment variable G3D_MAX_CACHE_SIZE.
+Environment variable RASTER3D_MAX_CACHE_SIZE.
 
 <P>
 void G3d_setCacheLimit(int nBytes)Set cache limit
@@ -450,16 +450,16 @@
 
 <P>
 This value specifies the number of tiles stored in the cache. It is the value
-used if at opening time of a map G3D_USE_CACHE_DEFAULT is used for the cache
+used if at opening time of a map RASTER3D_USE_CACHE_DEFAULT is used for the cache
 mode. Any other value used at opening time will supersede the default value. A
 default value of 0 indicates that non-cache mode should be used by default.
 
 <P>
-Default G3D_CACHE_SIZE_DEFAULT. This is currently set to 1000 and can be
+Default RASTER3D_CACHE_SIZE_DEFAULT. This is currently set to 1000 and can be
 changed at compilation time of the library.
 
 <P>
-Environment variable G3D_DEFAULT_CACHE_SIZE.
+Environment variable RASTER3D_DEFAULT_CACHE_SIZE.
 
 <P>
 void G3d_setCacheSize(int nTiles)
@@ -478,11 +478,11 @@
 map. It does not have any effect on old maps.
 
 <P>
-Default G3D_COMPRESSION_DEFAULT. This is set to G3D_COMPRESSION. This
+Default RASTER3D_COMPRESSION_DEFAULT. This is set to RASTER3D_COMPRESSION. This
 default should not be changed.
 
 <P>
-Environment variables G3D_USE_COMPRESSION and G3D_NO_COMPRESSION.
+Environment variables RASTER3D_USE_COMPRESSION and RASTER3D_NO_COMPRESSION.
 
 <P>
 See functions G3d_setCompressionMode() (cf. 
@@ -497,11 +497,11 @@
 precision).
 
 <P>
-Default G3D_USE_RLE_DEFAULT. This is currently set to G3D_USE_RLE and can
+Default RASTER3D_USE_RLE_DEFAULT. This is currently set to RASTER3D_USE_RLE and can
 be changed at compilation time of the library.
 
 <P>
-Environment variables G3D_USE_RLE and G3D_NO_RLE.
+Environment variables RASTER3D_USE_RLE and RASTER3D_NO_RLE.
 
 <P>
 See functions G3d_setCompressionMode() (cf. 
@@ -511,21 +511,21 @@
 
 <P>
 This number specifies how many mantissa bits should be used when writing a cell
-value. The minimum value is 0. The maximum value is 23 or G3D_MAX_PRECISION
-for type FCELL_TYPE, it is 52 or G3D_MAX_PRECISION for type DCELL_TYPE.
+value. The minimum value is 0. The maximum value is 23 or RASTER3D_MAX_PRECISION
+for type FCELL_TYPE, it is 52 or RASTER3D_MAX_PRECISION for type DCELL_TYPE.
 
 <P>
-Default G3D_PRECISION_DEFAULT. This is set to G3D_MAX_PRECISION. This
+Default RASTER3D_PRECISION_DEFAULT. This is set to RASTER3D_MAX_PRECISION. This
 default should not be changed.
 
 <P>
-Environment variables G3D_PRECISION and G3D_MAX_PRECISION.
+Environment variables RASTER3D_PRECISION and RASTER3D_MAX_PRECISION.
 
 <P>
 void G3d_setCompressionMode(int doCompress, int doLzw, int doRle, int
-  precision) <EM>doCompress</EM> should be one of G3D_NO_COMPRESSION and
-  G3D_COMPRESSION, <EM>doRle</EM> should be either G3D_NO_RLE or
-  G3D_USE_RLE, and <EM>precision</EM> should be either G3D_MAX_PRECISION or
+  precision) <EM>doCompress</EM> should be one of RASTER3D_NO_COMPRESSION and
+  RASTER3D_COMPRESSION, <EM>doRle</EM> should be either RASTER3D_NO_RLE or
+  RASTER3D_USE_RLE, and <EM>precision</EM> should be either RASTER3D_MAX_PRECISION or
   a positive integer.
 
 <P>
@@ -542,13 +542,13 @@
 The dimensions are specified in number of cell.
 
 <P>
-Defaults G3D_TILE_X_DEFAULT, G3D_TILE_Y_DEFAULT, and
-G3D_TILE_Z_DEFAULT. These are currently set to 8 and can be changed at
+Defaults RASTER3D_TILE_X_DEFAULT, RASTER3D_TILE_Y_DEFAULT, and
+RASTER3D_TILE_Z_DEFAULT. These are currently set to 8 and can be changed at
 compilation time of the library.
 
 <P>
-Environment variables G3D_TILE_DIMENSION_X, G3D_TILE_DIMENSION_Y, and
-G3D_TILE_DIMENSION_Z.
+Environment variables RASTER3D_TILE_DIMENSION_X, RASTER3D_TILE_DIMENSION_Y, and
+RASTER3D_TILE_DIMENSION_Z.
 
 <P>
 void G3d_setTileDimension(int tileX, int tileY, int tileZ)
@@ -565,11 +565,11 @@
 chosen independently of the type used to store cell-values in memory.
 
 <P>
-Default G3D_FILE_TYPE_DEFAULT. This is set to DCELL_TYPE. This default
+Default RASTER3D_FILE_TYPE_DEFAULT. This is set to DCELL_TYPE. This default
 should not be changed.
 
 <P>
-Environment variables G3D_WRITE_FLOAT and G3D_WRITE_DOUBLE.
+Environment variables RASTER3D_WRITE_FLOAT and RASTER3D_WRITE_DOUBLE.
 
 <P>
 void G3d_setFileType(int type)
@@ -598,7 +598,7 @@
 mapset but rather a window file in the window database of the (current) mapset.
 
 <P>
-Environment variable G3D_DEFAULT_WINDOW3D.
+Environment variable RASTER3D_DEFAULT_WINDOW3D.
 
 <P>
 See functions 
@@ -641,7 +641,7 @@
 Default <TT>G3d_skipError</TT>.
 
 <P>
-Environment variables G3D_USE_FATAL_ERROR and G3D_USE_PRINT_ERROR.
+Environment variables RASTER3D_USE_FATAL_ERROR and RASTER3D_USE_PRINT_ERROR.
 
 <P>
 void G3d_setErrorFun(void (*fun)(char *))
@@ -664,25 +664,25 @@
 
 <P>
 
-\section G3D_Function_Index G3D Function Index
+\section RASTER3D_Function_Index RASTER3D Function Index
 
-\subsection Opening_and_Closing_G3D_Files Opening and Closing G3D Files
+\subsection Opening_and_Closing_RASTER3D_Files Opening and Closing RASTER3D Files
 
 <P>
-void  *G3d_openCellOld(char *name, char *mapset, G3D_Region *window,
+void  *G3d_openCellOld(char *name, char *mapset, RASTER3D_Region *window,
   int type, int cache)Opens existing g3d-file <EM>name</EM> in <EM>mapset</EM>.
 
 <P>
 Tiles are stored in memory with <EM>type</EM> which must be any of FCELL_TYPE,
-  DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies the
-  cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
-  G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
-  G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
-  G3D_USE_CACHE_XYZ, the result of <TT>G3d_cacheSizeEncode()</TT> (cf. 
+  DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies the
+  cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+  RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+  RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+  RASTER3D_USE_CACHE_XYZ, the result of <TT>G3d_cacheSizeEncode()</TT> (cf. 
   Section 22.4.6), or any positive integer which
   specifies the number of tiles buffered in the cache.  <EM>window</EM> sets the
   window-region for the map. It is either a pointer to a window structure or
-  G3D_DEFAULT_WINDOW, which uses the window stored at initialization time or
+  RASTER3D_DEFAULT_WINDOW, which uses the window stored at initialization time or
   set via <TT>G3d_setWindow()</TT> (cf. Section 22.4.16).
   To modify the window for the map after it has already been opened use
   <TT>G3d_setWindowMap()</TT> (cf. Section 22.4.16).
@@ -692,14 +692,14 @@
   otherwise.
 
 <P>
-void  *G3d_openCellNew(char *name, int type, int cache, G3D_Region
+void  *G3d_openCellNew(char *name, int type, int cache, RASTER3D_Region
   *region)Opens new g3d-file with <EM>name</EM> in the current mapset. Tiles
   are stored in memory with <EM>type</EM> which must be one of FCELL_TYPE,
-  DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies the
-  cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
-  G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
-  G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
-  G3D_USE_CACHE_XYZ, the result of <TT>G3d_cacheSizeEncode()</TT> (cf. 
+  DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies the
+  cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+  RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+  RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+  RASTER3D_USE_CACHE_XYZ, the result of <TT>G3d_cacheSizeEncode()</TT> (cf. 
   Section 22.4.6), or any positive integer which
   specifies the number of tiles buffered in the cache.  <EM>region</EM> specifies
   the 3d region.  
@@ -710,14 +710,14 @@
 
 <P>
 void  *G3d_openCellNewParam(char *name, int typeIntern, int cache,
-  G3D_Region *region, int type, int doLzw, int doRle, int precision, int tileX,
+  RASTER3D_Region *region, int type, int doLzw, int doRle, int precision, int tileX,
   int tileY, int tileZ)Opens new g3d-file with <EM>name</EM> in the current
   mapset. Tiles are stored in memory with <EM>typeIntern</EM> which must be one of
-  FCELL_TYPE, DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies
-  the cache-mode used and must be either G3D_NO_CACHE,
-  G3D_USE_CACHE_DEFAULT, G3D_USE_CACHE_X, G3D_USE_CACHE_Y,
-  G3D_USE_CACHE_Z, G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ,
-  G3D_USE_CACHE_YZ, G3D_USE_CACHE_XYZ, the result of
+  FCELL_TYPE, DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <EM>cache</EM> specifies
+  the cache-mode used and must be either RASTER3D_NO_CACHE,
+  RASTER3D_USE_CACHE_DEFAULT, RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y,
+  RASTER3D_USE_CACHE_Z, RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ,
+  RASTER3D_USE_CACHE_YZ, RASTER3D_USE_CACHE_XYZ, the result of
   <TT>G3d_cacheSizeEncode()</TT> (cf. 
   Section 22.4.6), or any positive integer which
   specifies the number of tiles buffered in the cache.  <EM>region</EM> specifies
@@ -1046,9 +1046,9 @@
   new minimum is larger than the actual number of unlocked tiles.
 
 <P>
-<EM>minUnlocked</EM> must be one of G3D_USE_CACHE_X, G3D_USE_CACHE_Y,
-  G3D_USE_CACHE_Z, G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ,
-  G3D_USE_CACHE_YZ, G3D_USE_CACHE_XYZ, the result of G3d_cacheSizeEncode()
+<EM>minUnlocked</EM> must be one of RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y,
+  RASTER3D_USE_CACHE_Z, RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ,
+  RASTER3D_USE_CACHE_YZ, RASTER3D_USE_CACHE_XYZ, the result of G3d_cacheSizeEncode()
   (cf. Section 22.4.6), or any positive integer
   which explicitly specifies the number of tiles.
 
@@ -1080,17 +1080,17 @@
   <EM>cacheCode * n</EM>.
 
 <P>
-If <EM>cacheCode</EM> is G3D_USE_CACHE_DEFAULT the function returns
-  G3D_USE_CACHE_DEFAULT.
+If <EM>cacheCode</EM> is RASTER3D_USE_CACHE_DEFAULT the function returns
+  RASTER3D_USE_CACHE_DEFAULT.
 
 <P>
-If <EM>cacheCode</EM> is G3D_USE_CACHE_??? the function returns a value
-  encoding G3D_USE_CACHE_??? and <EM>n</EM>. Here G3D_USE_CACHE_??? is one
-  of G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
-  G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ, or
-  G3D_USE_CACHE_XYZ, where e.g.  G3D_USE_CACHE_X specifies that the cache
+If <EM>cacheCode</EM> is RASTER3D_USE_CACHE_??? the function returns a value
+  encoding RASTER3D_USE_CACHE_??? and <EM>n</EM>. Here RASTER3D_USE_CACHE_??? is one
+  of RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+  RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ, or
+  RASTER3D_USE_CACHE_XYZ, where e.g.  RASTER3D_USE_CACHE_X specifies that the cache
   should store as many tiles as there exist in one row along the x-axis of the
-  tile cube, and G3D_USE_CACHE_XY specifies that the cache should store as
+  tile cube, and RASTER3D_USE_CACHE_XY specifies that the cache should store as
   many tiles as there exist in one slice of the tile cube with constant Z
   coordinate.
 
@@ -1177,7 +1177,7 @@
 
 <P>
 
-\subsection G3D_Null_Value_Support G3D Null Value Support
+\subsection RASTER3D_Null_Value_Support RASTER3D Null Value Support
 
 <P>
 void G3d_isNullValueNum(void *n, int type)
@@ -1201,7 +1201,7 @@
 
 <P>
 
-\subsection G3D_Map_Header_Information G3D Map Header Information
+\subsection RASTER3D_Map_Header_Information RASTER3D Map Header Information
 
 <P>
 void G3d_getCoordsMap(void *map, int *rows, int *cols, int *depths)
@@ -1212,7 +1212,7 @@
   int *west, int *top, int *bottom)Returns the size of the region.
 
 <P>
-void G3d_getRegionStructMap(void *map, G3D_Region *region)
+void G3d_getRegionStructMap(void *map, RASTER3D_Region *region)
 Returns in <EM>region</EM> the region of <EM>map</EM>.
 
 <P>
@@ -1246,7 +1246,7 @@
 
 <P>
 
-\subsection G3D_Tile_Math G3D Tile Math
+\subsection RASTER3D_Tile_Math RASTER3D Tile Math
 
 <P>
 void G3d_tileIndex2tile(void *map, int tileIndex, int *xTile, int
@@ -1317,10 +1317,10 @@
 
 <P>
 
-\subsection G3D_Range_Support G3D Range Support
+\subsection RASTER3D_Range_Support RASTER3D Range Support
 
 <P>
-The map structure of G3D provides storage for the range.  The range of a map is
+The map structure of RASTER3D provides storage for the range.  The range of a map is
 updated every time a cell is written to the file. When an old map is opened the
 range is not automatically loaded. The application has to invoke
 <TT>G3d_range_load()</TT> (cf. Section 22.4.12)
@@ -1354,7 +1354,7 @@
 
 <P>
 
-\subsection G3D_Color_Support G3D Color Support
+\subsection RASTER3D_Color_Support RASTER3D Color Support
 
 <P>
 Applications can use the standard grass functions to work with colors, except
@@ -1383,7 +1383,7 @@
 
 <P>
 
-\subsection G3D_Categories_Support G3D Categories Support
+\subsection RASTER3D_Categories_Support RASTER3D Categories Support
 
 <P>
 Applications can use the standard grass functions to work with categories, 
@@ -1404,7 +1404,7 @@
 <P>
 
 
-\subsection G3D_History_Support G3D History Support
+\subsection RASTER3D_History_Support RASTER3D History Support
 
 <P>
 Applications can use the standard grass functions to work with histories, 
@@ -1425,7 +1425,7 @@
 
 <P>
 
-\subsection G3D_Mask_Support G3D Mask Support
+\subsection RASTER3D_Mask_Support RASTER3D Mask Support
 
 <P>
 void G3d_maskOn(void *map) Turns on the mask for <EM>map</EM>. Do
@@ -1504,20 +1504,20 @@
 
 <P>
 
-\subsection G3D_Window_Support G3D Window Support
+\subsection RASTER3D_Window_Support RASTER3D Window Support
 
 <P>
-void G3d_setWindowMap(void *map, G3D_Region *window)
+void G3d_setWindowMap(void *map, RASTER3D_Region *window)
 Sets the window for <EM>map</EM> to <EM>window</EM>.
 Can be used multiple times for the same map.
 
 <P>
-void G3d_setWindow(G3D_Region *window)
+void G3d_setWindow(RASTER3D_Region *window)
 Sets the default window used for every map opened later in the program.
 Can be used multiple times in the same program.
 
 <P>
-void G3d_getWindow(G3D_Region *window)
+void G3d_getWindow(RASTER3D_Region *window)
 Stores the current default window in <EM>window</EM>.
 
 <P>
@@ -1527,7 +1527,7 @@
 provided to pass a window pointer when opening a map.
 
 <P>
-int G3d_readWindow(G3D_Region *window, char *windowName) Reads
+int G3d_readWindow(RASTER3D_Region *window, char *windowName) Reads
   <EM>window</EM> from the file specified by <EM>windowName</EM>. The name is
   converted by the rules defined in window defaults. A NULL pointer indicates
   the <EM>WIND3</EM> file in the current mapset.
@@ -1538,7 +1538,7 @@
         0 ... otherwise.
 
 <P>
-int G3d_writeWindow(G3D_Region *window, char *windowName)
+int G3d_writeWindow(RASTER3D_Region *window, char *windowName)
         Writes <EM>window</EM> to the file specified by <EM>windowName</EM>. The name
         is converted by the rules defined in window defaults. A NULL pointer
         indicates the <EM>WIND3</EM> file in the current mapset.
@@ -1586,29 +1586,29 @@
 
 <P>
 
-\subsection G3D_Region G3D Region
+\subsection RASTER3D_Region RASTER3D Region
 
 <P>
-void G3d_extract2dRegion(G3D_Region *region3d, struct Cell_head
+void G3d_extract2dRegion(RASTER3D_Region *region3d, struct Cell_head
   *region2d) Returns in <EM>region2d</EM> the <EM>2d</EM> portion of <EM>region3d</EM>.
 
 <P>
-void G3d_incorporate2dRegion(struct Cell_head *region2d, G3D_Region
+void G3d_incorporate2dRegion(struct Cell_head *region2d, RASTER3D_Region
   *region3d) Replaces the <EM>2d</EM> portion of <EM>region3d</EM> with the
   values stored in <EM>region2d</EM>.
 
 <P>
-void G3d_adjustRegion(G3D_Region *region)
+void G3d_adjustRegion(RASTER3D_Region *region)
 Computes an adjusts the resolutions in the region structure from the region
 boundaries and number of cells per dimension.
 
 <P>
-void G3d_adjustRegionRes(G3D_Region *region)
+void G3d_adjustRegionRes(RASTER3D_Region *region)
 Computes an adjusts the number of cells per dimension in the region
 structure from the region boundaries and resolutions.
 
 <P>
-void G3d_regionCopy(G3D_Region *regionDest, G3D_Region *regionSrc)
+void G3d_regionCopy(RASTER3D_Region *regionDest, RASTER3D_Region *regionSrc)
 Copies the values of <EM>regionSrc</EM> into <EM>regionDst</EM>.
 (The unfortunate order of parameters was chosen in order to conform to the
 order used in <EM>G_copy()</EM>).
@@ -1621,7 +1621,7 @@
   <EM>value</EM> is of <EM>type</EM>.
 
 <P>
-void G3d_readRegionMap(char *name, char *mapset, G3D_Region *region)
+void G3d_readRegionMap(char *name, char *mapset, RASTER3D_Region *region)
 Returns in <EM>region</EM> the region information for 3d cell <EM>name at mapset</EM>.
 
 <P>
@@ -1630,11 +1630,11 @@
 
 <P>
 void G3d_g3dType2cellType(int g3dType) Returns the GRASS floating
-  point type which is equivalent to the G3D type of <EM>g3dType</EM>.
+  point type which is equivalent to the RASTER3D type of <EM>g3dType</EM>.
 
 <P>
 void G3d_initDefaults() Initializes the default values described
-  in G3D Defaults.  Applications have to use this function only if they need to
+  in RASTER3D Defaults.  Applications have to use this function only if they need to
   query the default values before the first file (either old or new) has been
   opened.
 
@@ -1647,7 +1647,7 @@
   command line arguments provided are the <EM>type</EM> of the cell values, the
   <EM>precision</EM>, the properties of the <EM>compression</EM>, and the dimension
   of the tiles (<EM>tiledimension</EM>). Every of these values defaults to the
-  value described in G3D Defaults.
+  value described in RASTER3D Defaults.
 
 <P>
 This function has to be used in conjunction with
@@ -1691,7 +1691,7 @@
 
 <P>
 
-\section Sample_G3D_Applications Sample G3D Applications
+\section Sample_RASTER3D_Applications Sample RASTER3D Applications
 
 <P>
 These functions were implemented to test the library. They are not very

Modified: grass/trunk/lib/raster3d/long.c
===================================================================
--- grass/trunk/lib/raster3d/long.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/long.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,7 +8,7 @@
     int eltLength, nBytes;
     unsigned char *dstStop, tmp;
 
-    eltLength = G3D_LONG_LENGTH;
+    eltLength = RASTER3D_LONG_LENGTH;
     nBytes = 8;
 
     d = 1;
@@ -20,14 +20,14 @@
 	while (dst != dstStop) {
 	    tmp = ((*src++ / d) % 256);
 	    if (tmp != 0)
-		nBytes = G3D_MIN(nBytes, eltLength);
+		nBytes = RASTER3D_MIN(nBytes, eltLength);
 	    *dst++ = tmp;
 	}
 
 	d *= 256;
     }
 
-    return G3D_LONG_LENGTH - nBytes;
+    return RASTER3D_LONG_LENGTH - nBytes;
 }
 
 /*---------------------------------------------------------------------------*/
@@ -49,7 +49,7 @@
     dest += nofNums - 1;
     while (source != srcStop) {
 	*dest = *source--;
-	if ((eltLength >= G3D_LONG_LENGTH) && (*dest != 0))
+	if ((eltLength >= RASTER3D_LONG_LENGTH) && (*dest != 0))
 	    G3d_fatalError("G3d_longDecode: decoded long too long");
 	dest--;
     }
@@ -61,7 +61,7 @@
 	while (source != srcStop) {
 	    *dest *= 256;
 	    *dest += *source--;
-	    if ((eltLength >= G3D_LONG_LENGTH) && (*dest != 0))
+	    if ((eltLength >= RASTER3D_LONG_LENGTH) && (*dest != 0))
 		G3d_fatalError("G3d_longDecode: decoded long too long");
 	    dest--;
 	}

Modified: grass/trunk/lib/raster3d/mapset.c
===================================================================
--- grass/trunk/lib/raster3d/mapset.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/mapset.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,8 +8,8 @@
 
 void G3d_makeMapsetMapDirectory(const char *mapName)
 {
-    char buf[GNAME_MAX + sizeof(G3D_DIRECTORY) + 2];
+    char buf[GNAME_MAX + sizeof(RASTER3D_DIRECTORY) + 2];
 
-    sprintf(buf, "%s/%s", G3D_DIRECTORY, mapName);
+    sprintf(buf, "%s/%s", RASTER3D_DIRECTORY, mapName);
     G__make_mapset_element(buf);
 }

Modified: grass/trunk/lib/raster3d/mask.c
===================================================================
--- grass/trunk/lib/raster3d/mask.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/mask.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -13,7 +13,7 @@
 /*--------------------------------------------------------------------------*/
 
 static int G3d_maskMapExistsVar = 0;
-static G3D_Map *G3d_maskMap;
+static RASTER3D_Map *G3d_maskMap;
 
 /*--------------------------------------------------------------------------*/
 static void dummy(void)
@@ -22,13 +22,13 @@
 }
 
 
-static float G3D_MASKNUMmaskValue;
+static float RASTER3D_MASKNUMmaskValue;
 
 /* Call to dummy() to match void return type of G3d_setNullValue() */
-#define G3D_MASKNUM(map,Xmask,Ymask,Zmask,VALUEmask,TYPEmask) \
+#define RASTER3D_MASKNUM(map,Xmask,Ymask,Zmask,VALUEmask,TYPEmask) \
 \
-   (G3D_MASKNUMmaskValue = G3d_getMaskFloat (map, Xmask, Ymask, Zmask), \
-    ((G3d_isNullValueNum (&G3D_MASKNUMmaskValue, FCELL_TYPE)) ? \
+   (RASTER3D_MASKNUMmaskValue = G3d_getMaskFloat (map, Xmask, Ymask, Zmask), \
+    ((G3d_isNullValueNum (&RASTER3D_MASKNUMmaskValue, FCELL_TYPE)) ? \
       G3d_setNullValue (VALUEmask, 1, TYPEmask) : dummy()))
 
 /*--------------------------------------------------------------------------*/
@@ -63,16 +63,16 @@
 
 int G3d_maskFileExists(void)
 {
-    return G_find_file_misc(G3D_DIRECTORY, G3D_CELL_ELEMENT, G3D_MASK_MAP, G_mapset()) != NULL;
+    return G_find_file_misc(RASTER3D_DIRECTORY, RASTER3D_CELL_ELEMENT, RASTER3D_MASK_MAP, G_mapset()) != NULL;
 }
 
 /*--------------------------------------------------------------------------*/
 
-static int maskOpenOldCacheDefault = G3D_USE_CACHE_DEFAULT;
+static int maskOpenOldCacheDefault = RASTER3D_USE_CACHE_DEFAULT;
 
 int G3d_maskOpenOld(void)
 {
-    G3D_Region region;
+    RASTER3D_Region region;
 
     /* No Idea if this is correct return value */
     if (G3d_maskMapExistsVar)
@@ -83,8 +83,8 @@
     if (!G3d_maskMapExistsVar)
 	return 1;
 
-    if ((G3d_maskMap = G3d_openCellOld(G3D_MASK_MAP, G_mapset(),
-				       G3D_DEFAULT_WINDOW, FCELL_TYPE,
+    if ((G3d_maskMap = G3d_openCellOld(RASTER3D_MASK_MAP, G_mapset(),
+				       RASTER3D_DEFAULT_WINDOW, FCELL_TYPE,
 				       maskOpenOldCacheDefault))
 	== NULL) {
 	G3d_error("G3d_maskOpenOld: cannot open mask");
@@ -100,7 +100,7 @@
 
 /*--------------------------------------------------------------------------*/
 
-static float G3d_getMaskFloat(G3D_Map * map, int x, int y, int z)
+static float G3d_getMaskFloat(RASTER3D_Map * map, int x, int y, int z)
 {
     double north, east, top;
     float value;
@@ -170,13 +170,13 @@
  *  \return int
  */
 
-int G3d_isMasked(G3D_Map * map, int x, int y, int z)
+int G3d_isMasked(RASTER3D_Map * map, int x, int y, int z)
 {
     if (!G3d_maskMapExistsVar)
 	return 0;
 
-    G3D_MASKNUMmaskValue = G3d_getMaskFloat(map, x, y, z);
-    return (G3d_isNullValueNum(&G3D_MASKNUMmaskValue, FCELL_TYPE));
+    RASTER3D_MASKNUMmaskValue = G3d_getMaskFloat(map, x, y, z);
+    return (G3d_isNullValueNum(&RASTER3D_MASKNUMmaskValue, FCELL_TYPE));
 }
 
 /*--------------------------------------------------------------------------*/
@@ -197,11 +197,11 @@
  *  \return void
  */
 
-void G3d_maskNum(G3D_Map * map, int x, int y, int z, void *value, int type)
+void G3d_maskNum(RASTER3D_Map * map, int x, int y, int z, void *value, int type)
 {
     if (!G3d_maskMapExistsVar)
 	return;
-    G3D_MASKNUM(map, x, y, z, value, type);
+    RASTER3D_MASKNUM(map, x, y, z, value, type);
 }
 
 /*--------------------------------------------------------------------------*/
@@ -219,11 +219,11 @@
  *  \return void
  */
 
-void G3d_maskFloat(G3D_Map * map, int x, int y, int z, float *value)
+void G3d_maskFloat(RASTER3D_Map * map, int x, int y, int z, float *value)
 {
     if (!G3d_maskMapExistsVar)
 	return;
-    G3D_MASKNUM(map, x, y, z, value, FCELL_TYPE);
+    RASTER3D_MASKNUM(map, x, y, z, value, FCELL_TYPE);
 }
 
 /*--------------------------------------------------------------------------*/
@@ -241,11 +241,11 @@
  *  \return void
  */
 
-void G3d_maskDouble(G3D_Map * map, int x, int y, int z, double *value)
+void G3d_maskDouble(RASTER3D_Map * map, int x, int y, int z, double *value)
 {
     if (!G3d_maskMapExistsVar)
 	return;
-    G3D_MASKNUM(map, x, y, z, value, DCELL_TYPE);
+    RASTER3D_MASKNUM(map, x, y, z, value, DCELL_TYPE);
 }
 
 /*--------------------------------------------------------------------------*/
@@ -268,7 +268,7 @@
  *  \return void
  */
 
-void G3d_maskTile(G3D_Map * map, int tileIndex, void *tile, int type)
+void G3d_maskTile(RASTER3D_Map * map, int tileIndex, void *tile, int type)
 {
     int nofNum, rows, cols, depths, xRedundant, yRedundant, zRedundant;
     int x, y, z, xLength, yLength, dx, dy, dz, length;
@@ -305,7 +305,7 @@
     for (dz = z; dz < depths; dz++) {
 	for (dy = y; dy < rows; dy++) {
 	    for (dx = x; dx < cols; dx++) {
-		G3D_MASKNUM(map, dx, dy, dz, tile, type);
+		RASTER3D_MASKNUM(map, dx, dy, dz, tile, type);
 		tile += length;
 	    }
 
@@ -329,7 +329,7 @@
  *  \return void
  */
 
-void G3d_maskOn(G3D_Map * map)
+void G3d_maskOn(RASTER3D_Map * map)
 {
     map->useMask = 1;
 }
@@ -346,7 +346,7 @@
  *  \return void
  */
 
-void G3d_maskOff(G3D_Map * map)
+void G3d_maskOff(RASTER3D_Map * map)
 {
     map->useMask = 0;
 }
@@ -362,7 +362,7 @@
  *  \return int
  */
 
-int G3d_maskIsOn(G3D_Map * map)
+int G3d_maskIsOn(RASTER3D_Map * map)
 {
     return map->useMask;
 }
@@ -377,7 +377,7 @@
  *  \return int
  */
 
-int G3d_maskIsOff(G3D_Map * map)
+int G3d_maskIsOff(RASTER3D_Map * map)
 {
     return !map->useMask;
 }
@@ -393,7 +393,7 @@
 
 const char *G3d_maskFile(void)
 {
-    return G3D_MASK_MAP;
+    return RASTER3D_MASK_MAP;
 }
 
 

Modified: grass/trunk/lib/raster3d/misc.c
===================================================================
--- grass/trunk/lib/raster3d/misc.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/misc.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -79,7 +79,7 @@
 
 int G3d_length(int t)
 {
-    if (!G3D_IS_CORRECT_TYPE(t))
+    if (!RASTER3D_IS_CORRECT_TYPE(t))
 	G3d_fatalError("G3d_length: invalid type");
 
     if (t == FCELL_TYPE)
@@ -91,12 +91,12 @@
 
 int G3d_externLength(int t)
 {
-    if (!G3D_IS_CORRECT_TYPE(t))
+    if (!RASTER3D_IS_CORRECT_TYPE(t))
 	G3d_fatalError("G3d_externLength: invalid type");
 
     if (t == FCELL_TYPE)
-	return G3D_XDR_FLOAT_LENGTH;
+	return RASTER3D_XDR_FLOAT_LENGTH;
     if (t == DCELL_TYPE)
-	return G3D_XDR_DOUBLE_LENGTH;
+	return RASTER3D_XDR_DOUBLE_LENGTH;
     return 0;
 }

Modified: grass/trunk/lib/raster3d/open.c
===================================================================
--- grass/trunk/lib/raster3d/open.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/open.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -11,7 +11,7 @@
 
 void *G3d_openCellOldNoHeader(const char *name, const char *mapset)
 {
-    G3D_Map *map;
+    RASTER3D_Map *map;
     char xname[GNAME_MAX], xmapset[GMAPSET_MAX];
 
     G3d_initDefaults();
@@ -21,7 +21,7 @@
 	return (void *)NULL;
     }
 
-    map = G3d_malloc(sizeof(G3D_Map));
+    map = G3d_malloc(sizeof(RASTER3D_Map));
     if (map == NULL) {
 	G3d_error(_("G3d_openCellOldNoHeader: error in G3d_malloc"));
 	return (void *)NULL;
@@ -32,7 +32,7 @@
     map->fileName = G_store(xname);
     map->mapset = G_store(xmapset);
 
-    map->data_fd = G_open_old_misc(G3D_DIRECTORY, G3D_CELL_ELEMENT, xname, xmapset);
+    map->data_fd = G_open_old_misc(RASTER3D_DIRECTORY, RASTER3D_CELL_ELEMENT, xname, xmapset);
     if (map->data_fd < 0) {
 	G3d_error(_("G3d_openCellOldNoHeader: error in G_open_old"));
 	return (void *)NULL;
@@ -52,14 +52,14 @@
  *
  * Opens existing g3d-file <em>name</em> in <em>mapset</em>.
  * Tiles are stored in memory with <em>type</em> which must be any of FCELL_TYPE,
- * DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
- * cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
- * G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
- * G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
- * G3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt> (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer which
+ * DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
+ * cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+ * RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+ * RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+ * RASTER3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt> (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer which
  * specifies the number of tiles buffered in the cache.  <em>window</em> sets the
  * window-region for the map. It is either a pointer to a window structure or
- * G3D_DEFAULT_WINDOW, which uses the window stored at initialization time or
+ * RASTER3D_DEFAULT_WINDOW, which uses the window stored at initialization time or
  * set via <tt>G3d_setWindow ()</tt> (cf.{g3d:G3d.setWindow}).
  * To modify the window for the map after it has already been opened use
  * <tt>G3d_setWindowMap ()</tt> (cf.{g3d:G3d.setWindowMap}).
@@ -75,9 +75,9 @@
  */
 
 void *G3d_openCellOld(const char *name, const char *mapset,
-		      G3D_Region * window, int typeIntern, int cache)
+		      RASTER3D_Region * window, int typeIntern, int cache)
 {
-    G3D_Map *map;
+    RASTER3D_Map *map;
     int proj, zone;
     int compression, useRle, useLzw, type, tileX, tileY, tileZ;
     int rows, cols, depths, precision;
@@ -109,7 +109,7 @@
 	return 0;
     }
 
-    if (window == G3D_DEFAULT_WINDOW)
+    if (window == RASTER3D_DEFAULT_WINDOW)
 	window = G3d_windowPtr();
 
     if (proj != window->proj) {
@@ -124,7 +124,7 @@
     map->useXdr = useXdr;
 
     if (hasIndex) {
-	/* see G3D_openCell_new () for format of header */
+	/* see RASTER3D_openCell_new () for format of header */
 	if ((!G3d_readInts(map->data_fd, map->useXdr,
 			   &(map->indexLongNbytes), 1)) ||
 	    (!G3d_readInts(map->data_fd, map->useXdr,
@@ -155,10 +155,10 @@
 
     nofHeaderBytes = dataOffset;
 
-    if (typeIntern == G3D_TILE_SAME_AS_FILE)
+    if (typeIntern == RASTER3D_TILE_SAME_AS_FILE)
 	typeIntern = type;
 
-    if (!G3d_fillHeader(map, G3D_READ_DATA, compression, useRle, useLzw,
+    if (!G3d_fillHeader(map, RASTER3D_READ_DATA, compression, useRle, useLzw,
 			type, precision, cache,
 			hasIndex, map->useXdr, typeIntern,
 			nofHeaderBytes, tileX, tileY, tileZ,
@@ -184,11 +184,11 @@
  *
  * Opens new g3d-file with <em>name</em> in the current mapset. Tiles
  * are stored in memory with <em>type</em> which must be one of FCELL_TYPE,
- * DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
- * cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
- * G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
- * G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
- * G3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
+ * DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
+ * cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+ * RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+ * RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+ * RASTER3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
  * (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer which
  * specifies the number of tiles buffered in the cache.  <em>region</em> specifies
  * the 3d region.  
@@ -203,9 +203,9 @@
  */
 
 void *G3d_openCellNew(const char *name, int typeIntern, int cache,
-		      G3D_Region * region)
+		      RASTER3D_Region * region)
 {
-    G3D_Map *map;
+    RASTER3D_Map *map;
     int nofHeaderBytes, dummy = 0, compression, precision;
     long ldummy = 0;
     char xname[GNAME_MAX], xmapset[GMAPSET_MAX];
@@ -219,7 +219,7 @@
     compression = g3d_do_compression;
     precision = g3d_precision;
 
-    map = G3d_malloc(sizeof(G3D_Map));
+    map = G3d_malloc(sizeof(RASTER3D_Map));
     if (map == NULL) {
 	G3d_error(_("G3d_openCellNew: error in G3d_malloc"));
 	return (void *)NULL;
@@ -242,7 +242,7 @@
 
     G3d_makeMapsetMapDirectory(map->fileName);
 
-    map->useXdr = G3D_USE_XDR;
+    map->useXdr = RASTER3D_USE_XDR;
 
     if (g3d_file_type == FCELL_TYPE) {
 	if (precision > 23)
@@ -260,15 +260,15 @@
 	if (precision == -1)
 	    precision = 23;
 	else
-	    precision = G3D_MIN(precision, 23);
+	    precision = RASTER3D_MIN(precision, 23);
     }
 
-    if (compression == G3D_NO_COMPRESSION)
-	precision = G3D_MAX_PRECISION;
-    if (compression == G3D_COMPRESSION)
-	map->useXdr = G3D_USE_XDR;
+    if (compression == RASTER3D_NO_COMPRESSION)
+	precision = RASTER3D_MAX_PRECISION;
+    if (compression == RASTER3D_COMPRESSION)
+	map->useXdr = RASTER3D_USE_XDR;
 
-    if (G3D_HAS_INDEX) {
+    if (RASTER3D_HAS_INDEX) {
 	map->indexLongNbytes = sizeof(long);
 
 	/* at the beginning of the file write */
@@ -297,9 +297,9 @@
     G3d_range_init(map);
     G3d_adjustRegion(region);
 
-    if (!G3d_fillHeader(map, G3D_WRITE_DATA, compression,
+    if (!G3d_fillHeader(map, RASTER3D_WRITE_DATA, compression,
 			g3d_do_rle_compression, g3d_do_lzw_compression,
-			g3d_file_type, precision, cache, G3D_HAS_INDEX,
+			g3d_file_type, precision, cache, RASTER3D_HAS_INDEX,
 			map->useXdr, typeIntern, nofHeaderBytes,
 			g3d_tile_dimension[0], g3d_tile_dimension[1],
 			g3d_tile_dimension[2],

Modified: grass/trunk/lib/raster3d/open2.c
===================================================================
--- grass/trunk/lib/raster3d/open2.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/open2.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,11 +8,11 @@
  *
  * Opens new g3d-file with <em>name</em> in the current mapset. Tiles
  * are stored in memory with <em>typeIntern</em> which must be one of FCELL_TYPE,
- * DCELL_TYPE, or G3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
- * cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
- * G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
- * G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
- * G3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
+ * DCELL_TYPE, or RASTER3D_TILE_SAME_AS_FILE. <em>cache</em> specifies the
+ * cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+ * RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+ * RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+ * RASTER3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
  * (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer which
  * specifies the number of tiles buffered in the cache.  <em>region</em> specifies
  * the 3d region.  
@@ -30,7 +30,7 @@
  *  \param type The type of the map (FCELL_TYPE, or DCELL_TYPE)
  *  \param doLzw Use the LZW compression algorithm  
  *  \param doRle Use the Run-Length-Encoding algroithm for compression
- *  \param precision The precision used for the mantissa (0 - 52) or G3D_MAX_PRECISION
+ *  \param precision The precision used for the mantissa (0 - 52) or RASTER3D_MAX_PRECISION
  *  \param tileX The number of cells in X direction of a tile
  *  \param tileY The number of cells in Y direction of a tile
  *  \param tileZ The number of cells in Z direction of a tile
@@ -39,7 +39,7 @@
 
 
 void *G3d_openNewParam(const char *name, int typeIntern, int cache,
-		       G3D_Region * region, int type, int doLzw, int doRle,
+		       RASTER3D_Region * region, int type, int doLzw, int doRle,
 		       int precision, int tileX, int tileY, int tileZ)
 {
     void *map;
@@ -74,11 +74,11 @@
  *
  * Opens new g3d-file with <em>name</em> in the current mapset. This method tries to compute 
  * optimal tile size based on the number of rows, cols and depths and the maximum allowed tile size in KB. 
- * Tiles are stored in memory using G3D_TILE_SAME_AS_FILE method. <em>cache</em> specifies the
- * cache-mode used and must be either G3D_NO_CACHE, G3D_USE_CACHE_DEFAULT,
- * G3D_USE_CACHE_X, G3D_USE_CACHE_Y, G3D_USE_CACHE_Z,
- * G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ, G3D_USE_CACHE_YZ,
- * G3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
+ * Tiles are stored in memory using RASTER3D_TILE_SAME_AS_FILE method. <em>cache</em> specifies the
+ * cache-mode used and must be either RASTER3D_NO_CACHE, RASTER3D_USE_CACHE_DEFAULT,
+ * RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y, RASTER3D_USE_CACHE_Z,
+ * RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ, RASTER3D_USE_CACHE_YZ,
+ * RASTER3D_USE_CACHE_XYZ, the result of <tt>G3d_cacheSizeEncode ()</tt>
  * (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer which
  * specifies the number of tiles buffered in the cache.  <em>region</em> specifies
  * the 3d region.  
@@ -95,7 +95,7 @@
  */
 
 
-void *G3d_openNewOptTileSize(const char *name, int cache, G3D_Region * region, int type, int maxSize)
+void *G3d_openNewOptTileSize(const char *name, int cache, RASTER3D_Region * region, int type, int maxSize)
 {
     void *map;
     int oldTileX, oldTileY, oldTileZ, oldType;
@@ -113,7 +113,7 @@
     oldType = G3d_getFileType();
     G3d_setFileType(type);
 
-    map = G3d_openCellNew(name, G3D_TILE_SAME_AS_FILE, cache, region);
+    map = G3d_openCellNew(name, RASTER3D_TILE_SAME_AS_FILE, cache, region);
 
     G3d_setTileDimension(oldTileX, oldTileY, oldTileZ);
     G3d_setFileType(oldType);

Modified: grass/trunk/lib/raster3d/param.c
===================================================================
--- grass/trunk/lib/raster3d/param.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/param.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -31,7 +31,7 @@
  * command line arguments provided are the <em>type</em> of the cell values, the
  * <em>precision</em>, the properties of the <em>compression</em>, and the dimension
  * of the tiles (<em>tiledimension</em>). Every of these values defaults to the
- * value described in G3D Defaults.
+ * value described in RASTER3D Defaults.
  * This function has to be used in conjunction with
  * G3d_getStandard3dInputParams() (cf.{g3d:G3d.getStandard3dInputParams}).
  *
@@ -93,20 +93,20 @@
 
     if (strcmp(param->compression->answer, "default") != 0) {
 	if (strcmp(param->compression->answer, "rle") == 0) {
-	    *doRle = G3D_USE_RLE;
-	    *doLzw = G3D_NO_LZW;
+	    *doRle = RASTER3D_USE_RLE;
+	    *doLzw = RASTER3D_NO_LZW;
 	}
 	else if (strcmp(param->compression->answer, "lzw") == 0) {
-	    *doRle = G3D_NO_RLE;
-	    *doLzw = G3D_USE_LZW;
+	    *doRle = RASTER3D_NO_RLE;
+	    *doLzw = RASTER3D_USE_LZW;
 	}
 	else if (strcmp(param->compression->answer, "rle+lzw") == 0) {
-	    *doRle = G3D_USE_RLE;
-	    *doLzw = G3D_USE_LZW;
+	    *doRle = RASTER3D_USE_RLE;
+	    *doLzw = RASTER3D_USE_LZW;
 	}
 	else {
-	    *doRle = G3D_NO_RLE;
-	    *doLzw = G3D_NO_LZW;
+	    *doRle = RASTER3D_NO_RLE;
+	    *doLzw = RASTER3D_NO_LZW;
 	}
     }
     else
@@ -151,7 +151,7 @@
 	return NULL;
     if (windowParam->answer == NULL)
 	return NULL;
-    if (strcmp(windowParam->answer, G3D_WINDOW_ELEMENT) == 0)
-	return G_store(G3D_WINDOW_ELEMENT);
+    if (strcmp(windowParam->answer, RASTER3D_WINDOW_ELEMENT) == 0)
+	return G_store(RASTER3D_WINDOW_ELEMENT);
     return G_store(windowParam->answer);
 }

Modified: grass/trunk/lib/raster3d/putvalue.c
===================================================================
--- grass/trunk/lib/raster3d/putvalue.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/putvalue.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -15,7 +15,7 @@
  *  \return int
  */
 
-int G3d_putFloat(G3D_Map * map, int x, int y, int z, float value)
+int G3d_putFloat(RASTER3D_Map * map, int x, int y, int z, float value)
 {
     int tileIndex, offs;
     float *tile;
@@ -55,7 +55,7 @@
  *  \return int
  */
 
-int G3d_putDouble(G3D_Map * map, int x, int y, int z, double value)
+int G3d_putDouble(RASTER3D_Map * map, int x, int y, int z, double value)
 {
     int tileIndex, offs;
     double *tile;
@@ -99,7 +99,7 @@
  */
 
 int
-G3d_putValue(G3D_Map * map, int x, int y, int z, const void *value, int type)
+G3d_putValue(RASTER3D_Map * map, int x, int y, int z, const void *value, int type)
 {
     if (type == FCELL_TYPE) {
 	if (!G3d_putFloat(map, x, y, z, *((float *)value))) {

Modified: grass/trunk/lib/raster3d/range.c
===================================================================
--- grass/trunk/lib/raster3d/range.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/range.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -14,7 +14,7 @@
 /*---------------------------------------------------------------------------*/
 
 void
-G3d_range_updateFromTile(G3D_Map * map, const void *tile, int rows, int cols,
+G3d_range_updateFromTile(RASTER3D_Map * map, const void *tile, int rows, int cols,
 			 int depths, int xRedundant, int yRedundant,
 			 int zRedundant, int nofNum, int type)
 {
@@ -70,19 +70,19 @@
 
     fd = -1;
 
-    fd = G_open_old_misc(G3D_DIRECTORY, G3D_RANGE_ELEMENT, name, mapset);
+    fd = G_open_old_misc(RASTER3D_DIRECTORY, RASTER3D_RANGE_ELEMENT, name, mapset);
     if (fd < 0) {
 	G_warning(_("Unable to open range file for [%s in %s]"), name, mapset);
 	return -1;
     }
 
-    if (read(fd, xdr_buf, 2 * G3D_XDR_DOUBLE_LENGTH) != 2 * G3D_XDR_DOUBLE_LENGTH) {
+    if (read(fd, xdr_buf, 2 * RASTER3D_XDR_DOUBLE_LENGTH) != 2 * RASTER3D_XDR_DOUBLE_LENGTH) {
 	close(fd);
 	G_warning(_("Error reading range file for [%s in %s]"), name, mapset);
 	return 2;
     }
 
-    xdrmem_create(&xdr_str, xdr_buf, (u_int) G3D_XDR_DOUBLE_LENGTH * 2,
+    xdrmem_create(&xdr_str, xdr_buf, (u_int) RASTER3D_XDR_DOUBLE_LENGTH * 2,
 		  XDR_DECODE);
 
     /* if the f_range file exists, but empty */
@@ -111,9 +111,9 @@
  *          0 ... otherwise.
  */
 
-int G3d_range_load(G3D_Map * map)
+int G3d_range_load(RASTER3D_Map * map)
 {
-    if (map->operation == G3D_WRITE_DATA)
+    if (map->operation == RASTER3D_WRITE_DATA)
 	return 1;
     if (G3d_readRange(map->fileName, map->mapset, &(map->range)) == -1) {
 	return 0;
@@ -137,7 +137,7 @@
  *  \return void
  */
 
-void G3d_range_min_max(G3D_Map * map, double *min, double *max)
+void G3d_range_min_max(RASTER3D_Map * map, double *min, double *max)
 {
     Rast_get_fp_range_min_max(&(map->range), min, max);
 }
@@ -151,7 +151,7 @@
     int fd;
     XDR xdr_str;
 
-    fd = G_open_new_misc(G3D_DIRECTORY, G3D_RANGE_ELEMENT, name);
+    fd = G_open_new_misc(RASTER3D_DIRECTORY, RASTER3D_RANGE_ELEMENT, name);
     if (fd < 0) {
 	G_warning(_("Unable to open range file for <%s>"), name);
 	return -1;
@@ -163,7 +163,7 @@
 	return 0;
     }
 
-    xdrmem_create(&xdr_str, xdr_buf, (u_int) G3D_XDR_DOUBLE_LENGTH * 2,
+    xdrmem_create(&xdr_str, xdr_buf, (u_int) RASTER3D_XDR_DOUBLE_LENGTH * 2,
 		  XDR_ENCODE);
 
     if (!xdr_double(&xdr_str, &(range->min)))
@@ -171,7 +171,7 @@
     if (!xdr_double(&xdr_str, &(range->max)))
 	goto error;
 
-    if (write(fd, xdr_buf, G3D_XDR_DOUBLE_LENGTH * 2) != G3D_XDR_DOUBLE_LENGTH * 2)
+    if (write(fd, xdr_buf, RASTER3D_XDR_DOUBLE_LENGTH * 2) != RASTER3D_XDR_DOUBLE_LENGTH * 2)
 	goto error;
 
     close(fd);
@@ -179,7 +179,7 @@
 
   error:
     close(fd);
-    G_remove_misc(G3D_DIRECTORY, G3D_RANGE_ELEMENT, name);	/* remove the old file with this name */
+    G_remove_misc(RASTER3D_DIRECTORY, RASTER3D_RANGE_ELEMENT, name);	/* remove the old file with this name */
     G_warning("can't write range file for [%s in %s]", name, G_mapset());
     return -1;
 }
@@ -198,11 +198,11 @@
  *          0 ... otherwise.
  */
 
-int G3d_range_write(G3D_Map * map)
+int G3d_range_write(RASTER3D_Map * map)
 {
     char path[GPATH_MAX];
 
-    G3d_filename(path, G3D_RANGE_ELEMENT, map->fileName, map->mapset);
+    G3d_filename(path, RASTER3D_RANGE_ELEMENT, map->fileName, map->mapset);
     remove(path);
 
     if (writeRange(map->fileName, &(map->range)) == -1) {
@@ -215,7 +215,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d_range_init(G3D_Map * map)
+int G3d_range_init(RASTER3D_Map * map)
 {
     Rast_init_fp_range(&(map->range));
     return 0;

Modified: grass/trunk/lib/raster3d/raster3d_intern.h
===================================================================
--- grass/trunk/lib/raster3d/raster3d_intern.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/raster3d_intern.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,30 +8,30 @@
 
 /*---------------------------------------------------------------------------*/
 
-#define G3D_LONG_LENGTH sizeof (long)
+#define RASTER3D_LONG_LENGTH sizeof (long)
 
-#define G3D_XDR_INT_LENGTH 4
-#define G3D_XDR_DOUBLE_LENGTH 8
-#define G3D_XDR_FLOAT_LENGTH 4
+#define RASTER3D_XDR_INT_LENGTH 4
+#define RASTER3D_XDR_DOUBLE_LENGTH 8
+#define RASTER3D_XDR_FLOAT_LENGTH 4
 
-#define G3D_IS_CORRECT_TYPE(t) (((t) == FCELL_TYPE) || ((t) == DCELL_TYPE))
+#define RASTER3D_IS_CORRECT_TYPE(t) (((t) == FCELL_TYPE) || ((t) == DCELL_TYPE))
 
-#define G3D_WRITE_DATA 1
-#define G3D_READ_DATA 0
+#define RASTER3D_WRITE_DATA 1
+#define RASTER3D_READ_DATA 0
 
-#define G3D_VALID_OPERATION(o) \
-                           (((o) == G3D_WRITE_DATA) || ((o) == G3D_READ_DATA))
+#define RASTER3D_VALID_OPERATION(o) \
+                           (((o) == RASTER3D_WRITE_DATA) || ((o) == RASTER3D_READ_DATA))
 
-#define G3D_MIN(a,b) ((a) <= (b) ? (a) : (b))
-#define G3D_MAX(a,b) ((a) >= (b) ? (a) : (b))
+#define RASTER3D_MIN(a,b) ((a) <= (b) ? (a) : (b))
+#define RASTER3D_MAX(a,b) ((a) >= (b) ? (a) : (b))
 
-#define G3D_HAS_INDEX 1
-#define G3D_NO_INDEX 0
+#define RASTER3D_HAS_INDEX 1
+#define RASTER3D_NO_INDEX 0
 
-#define G3D_USE_XDR 1
-#define G3D_NO_XDR 0
+#define RASTER3D_USE_XDR 1
+#define RASTER3D_NO_XDR 0
 
-#define G3D_VALID_XDR_OPTION(o) (((o) == G3D_USE_XDR) || ((o) == G3D_NO_XDR))
+#define RASTER3D_VALID_XDR_OPTION(o) (((o) == RASTER3D_USE_XDR) || ((o) == RASTER3D_NO_XDR))
 
 /*---------------------------------------------------------------------------*/
 
@@ -46,10 +46,10 @@
 
 /* global variables */
 
-extern int g3d_do_compression;	/* G3D_NO_COMPRESSION or G3D_COMPRESSION */
-extern int g3d_do_lzw_compression;	/* G3D_USE_LZW or G3D_NO_LZW */
-extern int g3d_do_rle_compression;	/* G3D_USE_RLE or G3D_NO_RLE */
-extern int g3d_precision;	/* G3D_ALLOW_PRECISION or G3D_NO_PRECISION */
+extern int g3d_do_compression;	/* RASTER3D_NO_COMPRESSION or RASTER3D_COMPRESSION */
+extern int g3d_do_lzw_compression;	/* RASTER3D_USE_LZW or RASTER3D_NO_LZW */
+extern int g3d_do_rle_compression;	/* RASTER3D_USE_RLE or RASTER3D_NO_RLE */
+extern int g3d_precision;	/* RASTER3D_ALLOW_PRECISION or RASTER3D_NO_PRECISION */
 extern int g3d_cache_default;	/* in number of tiles; 0 ==> no cache */
 extern int g3d_cache_max;	/* in bytes */
 extern int g3d_file_type;	/* FCELL_TYPE or DCELL_TYPE */
@@ -57,7 +57,7 @@
 extern void (*g3d_error_fun) (const char *);
 extern char *g3d_unit_default;
 
-extern G3D_Region g3d_window;
+extern RASTER3D_Region g3d_window;
 
 /*---------------------------------------------------------------------------*/
 
@@ -68,17 +68,17 @@
 
 /*---------------------------------------------------------------------------*/
 
-#define G3D_REGION_NORTH "North"
-#define G3D_REGION_SOUTH "South"
-#define G3D_REGION_EAST "East"
-#define G3D_REGION_WEST "West"
-#define G3D_REGION_TOP "Top"
-#define G3D_REGION_BOTTOM "Bottom"
-#define G3D_REGION_ROWS "nofRows"
-#define G3D_REGION_COLS "nofCols"
-#define G3D_REGION_DEPTHS "nofDepths"
-#define G3D_REGION_PROJ "Proj"
-#define G3D_REGION_ZONE "Zone"
-#define G3D_REGION_EWRES "e-w resol"
-#define G3D_REGION_NSRES "n-s resol"
-#define G3D_REGION_TBRES "t-b resol"
+#define RASTER3D_REGION_NORTH "North"
+#define RASTER3D_REGION_SOUTH "South"
+#define RASTER3D_REGION_EAST "East"
+#define RASTER3D_REGION_WEST "West"
+#define RASTER3D_REGION_TOP "Top"
+#define RASTER3D_REGION_BOTTOM "Bottom"
+#define RASTER3D_REGION_ROWS "nofRows"
+#define RASTER3D_REGION_COLS "nofCols"
+#define RASTER3D_REGION_DEPTHS "nofDepths"
+#define RASTER3D_REGION_PROJ "Proj"
+#define RASTER3D_REGION_ZONE "Zone"
+#define RASTER3D_REGION_EWRES "e-w resol"
+#define RASTER3D_REGION_NSRES "n-s resol"
+#define RASTER3D_REGION_TBRES "t-b resol"

Modified: grass/trunk/lib/raster3d/region.c
===================================================================
--- grass/trunk/lib/raster3d/region.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/region.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -19,7 +19,7 @@
  *  \return void
  */
 
-void G3d_extract2dRegion(G3D_Region * region3d, struct Cell_head *region2d)
+void G3d_extract2dRegion(RASTER3D_Region * region3d, struct Cell_head *region2d)
 {
     region2d->proj = region3d->proj;
     region2d->zone = region3d->zone;
@@ -46,7 +46,7 @@
  *  \return void
  */
 
-void G3d_regionToCellHead(G3D_Region * region3d, struct Cell_head *region2d)
+void G3d_regionToCellHead(RASTER3D_Region * region3d, struct Cell_head *region2d)
 {
     region2d->proj = region3d->proj;
     region2d->zone = region3d->zone;
@@ -86,7 +86,7 @@
  */
 
 void
-G3d_incorporate2dRegion(struct Cell_head *region2d, G3D_Region * region3d)
+G3d_incorporate2dRegion(struct Cell_head *region2d, RASTER3D_Region * region3d)
 {
     region3d->proj = region2d->proj;
     region3d->zone = region2d->zone;
@@ -115,7 +115,7 @@
  */
 
 void
-G3d_regionFromToCellHead(struct Cell_head *region2d, G3D_Region * region3d)
+G3d_regionFromToCellHead(struct Cell_head *region2d, RASTER3D_Region * region3d)
 {
     region3d->proj = region2d->proj;
     region3d->zone = region2d->zone;
@@ -149,7 +149,7 @@
  *  \return void
  */
 
-void G3d_adjustRegion(G3D_Region * region)
+void G3d_adjustRegion(RASTER3D_Region * region)
 {
     struct Cell_head region2d;
 
@@ -175,7 +175,7 @@
  *  \return void
  */
 
-void G3d_adjustRegionRes(G3D_Region * region)
+void G3d_adjustRegionRes(RASTER3D_Region * region)
 {
     struct Cell_head region2d;
 
@@ -205,7 +205,7 @@
  *  \return void
  */
 
-void G3d_regionCopy(G3D_Region * regionDest, G3D_Region * regionSrc)
+void G3d_regionCopy(RASTER3D_Region * regionDest, RASTER3D_Region * regionSrc)
 {
     *regionDest = *regionSrc;
 }
@@ -214,17 +214,17 @@
 /*---------------------------------------------------------------------------*/
 
 int
-G3d_readRegionMap(const char *name, const char *mapset, G3D_Region * region)
+G3d_readRegionMap(const char *name, const char *mapset, RASTER3D_Region * region)
 {
     char fullName[GPATH_MAX];
     char xname[GNAME_MAX], xmapset[GMAPSET_MAX];
 
     if (G_name_is_fully_qualified(name, xname, xmapset))
-	G3d_filename(fullName, G3D_HEADER_ELEMENT, xname, xmapset);
+	G3d_filename(fullName, RASTER3D_HEADER_ELEMENT, xname, xmapset);
     else {
 	if (!mapset || !*mapset)
 	    mapset = G_find_grid3(name, "");
-	G3d_filename(fullName, G3D_HEADER_ELEMENT, name, mapset);
+	G3d_filename(fullName, RASTER3D_HEADER_ELEMENT, name, mapset);
     }
     return G3d_readWindow(region, fullName);
 }
@@ -245,7 +245,7 @@
  *  \return int
  */
 
-int G3d_isValidLocation(G3D_Region *region, double north, double east, double top)
+int G3d_isValidLocation(RASTER3D_Region *region, double north, double east, double top)
 {
     return ((north >= region->south) && (north <= region->north) &&
 	    (east >= region->west) && (east <= region->east) &&
@@ -272,7 +272,7 @@
  */
 
 void
-G3d_location2coord(G3D_Region *region, double north, double east, double top,
+G3d_location2coord(RASTER3D_Region *region, double north, double east, double top,
 		   int *x, int *y, int *z)
 {
     double col, row, depth;
@@ -311,7 +311,7 @@
  */
 
 void
-G3d_location2coord2(G3D_Region *region, double north, double east, double top,
+G3d_location2coord2(RASTER3D_Region *region, double north, double east, double top,
 		   int *x, int *y, int *z)
 {
     if (!G3d_isValidLocation(region, north, east, top))
@@ -354,7 +354,7 @@
  */
 
 void
-G3d_coord2location(G3D_Region * region, double x, double y, double z, double *north, double *east, double *top)
+G3d_coord2location(RASTER3D_Region * region, double x, double y, double z, double *north, double *east, double *top)
 {
     *north = region->north - y * region->ns_res;
     *east = region->west + x * region->ew_res;

Modified: grass/trunk/lib/raster3d/resample.c
===================================================================
--- grass/trunk/lib/raster3d/resample.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/resample.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -22,7 +22,7 @@
  */
 
 void
-G3d_nearestNeighbor(G3D_Map * map, int x, int y, int z, void *value,
+G3d_nearestNeighbor(RASTER3D_Map * map, int x, int y, int z, void *value,
 		    int type)
 {
     double north, east, top;
@@ -59,7 +59,7 @@
  *  \return void
  */
 
-void G3d_setResamplingFun(G3D_Map * map, void (*resampleFun) ())
+void G3d_setResamplingFun(RASTER3D_Map * map, void (*resampleFun) ())
 {
     map->resampleFun = resampleFun;
 }
@@ -77,7 +77,7 @@
  *  \return void
  */
 
-void G3d_getResamplingFun(G3D_Map * map, void (**resampleFun) ())
+void G3d_getResamplingFun(RASTER3D_Map * map, void (**resampleFun) ())
 {
     *resampleFun = map->resampleFun;
 }

Modified: grass/trunk/lib/raster3d/retile.c
===================================================================
--- grass/trunk/lib/raster3d/retile.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/retile.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -14,7 +14,7 @@
     int typeIntern;
     void *data;
     int tileXsave, tileYsave, tileZsave;
-    G3D_Region region;
+    RASTER3D_Region region;
 
     saveType = G3d_getFileType();
     G3d_setFileType(G3d_fileTypeMap(map));
@@ -23,7 +23,7 @@
     typeIntern = G3d_tileTypeMap(map);
     G3d_getRegionStructMap(map, &region);
 
-    map2 = G3d_openCellNew(nameOut, typeIntern, G3D_NO_CACHE, &region);
+    map2 = G3d_openCellNew(nameOut, typeIntern, RASTER3D_NO_CACHE, &region);
 
     if (map2 == NULL)
 	G3d_fatalError("G3d_retile: error in G3d_openCellNew");
@@ -85,7 +85,7 @@
     int xTile, yTile, zTile;
     int xOffs, yOffs, zOffs, prev;
     int tileXsave, tileYsave, tileZsave;
-    G3D_Region region;
+    RASTER3D_Region region;
 
     if (!G3d_tileUseCacheMap(map)) {
 	retileNocache(map, nameOut, tileX, tileY, tileZ);
@@ -101,7 +101,7 @@
     G3d_getRegionStructMap(map, &region);
 
     map2 =
-	G3d_openCellNew(nameOut, typeIntern, G3D_USE_CACHE_DEFAULT, &region);
+	G3d_openCellNew(nameOut, typeIntern, RASTER3D_USE_CACHE_DEFAULT, &region);
     if (map2 == NULL)
 	G3d_fatalError("G3d_retile: error in G3d_openCellNew");
 

Modified: grass/trunk/lib/raster3d/test/Makefile
===================================================================
--- grass/trunk/lib/raster3d/test/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/test/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=test.g3d.lib
 
-LIBES = $(GISLIB) $(G3DLIB) 
-DEPENDENCIES = $(GISDEP) $(G3DDEP)
+LIBES = $(GISLIB) $(RASTER3DLIB) 
+DEPENDENCIES = $(GISDEP) $(RASTER3DDEP)
 include $(MODULE_TOPDIR)/include/Make/Module.make
 
 default: cmd

Modified: grass/trunk/lib/raster3d/test/test_coordinate_transform.c
===================================================================
--- grass/trunk/lib/raster3d/test/test_coordinate_transform.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/test/test_coordinate_transform.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -36,8 +36,8 @@
     double north, east, top;
     int col = 0, row = 0, depth = 0;
     
-    G3D_Region region, default_region;
-    G3D_Map *map = NULL;
+    RASTER3D_Region region, default_region;
+    RASTER3D_Map *map = NULL;
     
     /* We need to set up a specific region for the new g3d map.
      * First we safe the default region. */
@@ -56,7 +56,7 @@
         
     G3d_adjustRegion(&region);
     
-    map = G3d_openNewOptTileSize("test_coordinate_transform", G3D_USE_CACHE_XYZ, &region, FCELL_TYPE, 32);
+    map = G3d_openNewOptTileSize("test_coordinate_transform", RASTER3D_USE_CACHE_XYZ, &region, FCELL_TYPE, 32);
         
     /* The window is the same as the map region ... of course */
     G3d_setWindowMap(map, &region);
@@ -155,7 +155,7 @@
 int test_region(void)
 {
     int sum = 0;
-    G3D_Region region, new_region;
+    RASTER3D_Region region, new_region;
     
     G3d_getWindow(&region);
     region.bottom = 0.0;

Modified: grass/trunk/lib/raster3d/test/test_g3d_lib.h
===================================================================
--- grass/trunk/lib/raster3d/test/test_g3d_lib.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/test/test_g3d_lib.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -15,8 +15,8 @@
 *
 *****************************************************************************/
 
-#ifndef _TEST_G3D_LIB_H_
-#define _TEST_G3D_LIB_H_
+#ifndef _TEST_RASTER3D_LIB_H_
+#define _TEST_RASTER3D_LIB_H_
 
 #include <grass/raster3d.h>
 #include <grass/gis.h>

Modified: grass/trunk/lib/raster3d/test/test_put_get_value.c
===================================================================
--- grass/trunk/lib/raster3d/test/test_put_get_value.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/test/test_put_get_value.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -22,9 +22,9 @@
 static int test_put_get_value_dcell(void);
 static int test_put_get_value_fcell(void);
 static int test_put_get_value_resampling(void);
-static int test_resampling_dcell(G3D_Map *map, double north, double east, double 
+static int test_resampling_dcell(RASTER3D_Map *map, double north, double east, double 
                                  top, int col, int row, int depth, int fact);
-static int test_resampling_fcell(G3D_Map *map, double north, double east, double 
+static int test_resampling_fcell(RASTER3D_Map *map, double north, double east, double 
                                  top, int col, int row, int depth, int fact);
 
 /* *************************************************************** */
@@ -63,8 +63,8 @@
     double north, east, top;
     int col, row, depth;
     
-    G3D_Region region;
-    G3D_Map *map = NULL;
+    RASTER3D_Region region;
+    RASTER3D_Map *map = NULL;
     
     /* We need to set up a specific region for the new g3d map.
      * First we safe the default region. */
@@ -82,7 +82,7 @@
         
     G3d_adjustRegion(&region);
         
-    map = G3d_openNewOptTileSize("test_put_get_value_dcell", G3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
+    map = G3d_openNewOptTileSize("test_put_get_value_dcell", RASTER3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
     
     /* The window is the same as the map region ... of course */
     G3d_setWindowMap(map, &region);
@@ -203,8 +203,8 @@
     double north, east, top;
     int col, row, depth;
     
-    G3D_Region region;
-    G3D_Map *map = NULL;
+    RASTER3D_Region region;
+    RASTER3D_Map *map = NULL;
     
     /* We need to set up a specific region for the new g3d map.
      * First we safe the default region. */
@@ -222,7 +222,7 @@
         
     G3d_adjustRegion(&region);
         
-    map = G3d_openNewOptTileSize("test_put_get_value_dcell", G3D_USE_CACHE_XY, &region, FCELL_TYPE, 32);
+    map = G3d_openNewOptTileSize("test_put_get_value_dcell", RASTER3D_USE_CACHE_XY, &region, FCELL_TYPE, 32);
     
     /* The window is the same as the map region ... of course */
     G3d_setWindowMap(map, &region);
@@ -324,9 +324,9 @@
     double north, east, top;
     int col, row, depth;
     
-    G3D_Region region;
-    G3D_Region window;
-    G3D_Map *map = NULL;
+    RASTER3D_Region region;
+    RASTER3D_Region window;
+    RASTER3D_Map *map = NULL;
     
     /* We need to set up a specific region for the new g3d map.
      * First we safe the default region. */
@@ -344,7 +344,7 @@
         
     G3d_adjustRegion(&region);
     
-    map = G3d_openNewOptTileSize("test_put_get_value_resample", G3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
+    map = G3d_openNewOptTileSize("test_put_get_value_resample", RASTER3D_USE_CACHE_XY, &region, DCELL_TYPE, 32);
     
     /* We modify the window for resampling tests */
     G3d_regionCopy(&window, &region);
@@ -444,7 +444,7 @@
 
 /* *************************************************************** */
 
-int test_resampling_dcell(G3D_Map *map, double north, double east, double top, int col, int row, int depth, int fact)
+int test_resampling_dcell(RASTER3D_Map *map, double north, double east, double top, int col, int row, int depth, int fact)
 {
     int sum = 0;
     DCELL value;
@@ -480,7 +480,7 @@
 
 /* *************************************************************** */
 
-int test_resampling_fcell(G3D_Map *map, double north, double east, double top, int col, int row, int depth, int fact)
+int test_resampling_fcell(RASTER3D_Map *map, double north, double east, double top, int col, int row, int depth, int fact)
 {
     int sum = 0;
     FCELL value;

Modified: grass/trunk/lib/raster3d/tilealloc.c
===================================================================
--- grass/trunk/lib/raster3d/tilealloc.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tilealloc.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -23,7 +23,7 @@
  *                   NULL ... otherwise.
  */
 
-void *G3d_allocTilesType(G3D_Map * map, int nofTiles, int type)
+void *G3d_allocTilesType(RASTER3D_Map * map, int nofTiles, int type)
 {
     void *tiles;
 
@@ -49,7 +49,7 @@
  *  \return void * 
  */
 
-void *G3d_allocTiles(G3D_Map * map, int nofTiles)
+void *G3d_allocTiles(RASTER3D_Map * map, int nofTiles)
 {
     void *tiles;
 

Modified: grass/trunk/lib/raster3d/tileio.c
===================================================================
--- grass/trunk/lib/raster3d/tileio.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tileio.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -68,7 +68,7 @@
  *                 NULL ... otherwise.
  */
 
-void *G3d_getTilePtr(G3D_Map * map, int tileIndex)
+void *G3d_getTilePtr(RASTER3D_Map * map, int tileIndex)
 {
     void *ptr;
 
@@ -112,7 +112,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_tileLoad(G3D_Map * map, int tileIndex)
+int G3d_tileLoad(RASTER3D_Map * map, int tileIndex)
 {
     if (G3d_getTilePtr(map, tileIndex) == NULL) {
 	G3d_error("G3d_tileLoad: error in G3d_getTilePtr");
@@ -124,7 +124,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-int G3d__removeTile(G3D_Map * map, int tileIndex)
+int G3d__removeTile(RASTER3D_Map * map, int tileIndex)
 {
     if (!map->useCache)
 	return 1;

Modified: grass/trunk/lib/raster3d/tilemath.c
===================================================================
--- grass/trunk/lib/raster3d/tilemath.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tilemath.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -22,7 +22,7 @@
  */
 
 void
-G3d_tileIndex2tile(G3D_Map * map, int tileIndex, int *xTile, int *yTile,
+G3d_tileIndex2tile(RASTER3D_Map * map, int tileIndex, int *xTile, int *yTile,
 		   int *zTile)
 {
     int tileIndex2d;
@@ -49,7 +49,7 @@
  *  \return int
  */
 
-int G3d_tile2tileIndex(G3D_Map * map, int xTile, int yTile, int zTile)
+int G3d_tile2tileIndex(RASTER3D_Map * map, int xTile, int yTile, int zTile)
 {
     return map->nxy * zTile + map->nx * yTile + xTile;
 }
@@ -75,7 +75,7 @@
  */
 
 void
-G3d_tileCoordOrigin(G3D_Map * map, int xTile, int yTile, int zTile, int *x,
+G3d_tileCoordOrigin(RASTER3D_Map * map, int xTile, int yTile, int zTile, int *x,
 		    int *y, int *z)
 {
     *x = map->tileX * xTile;
@@ -100,7 +100,7 @@
  *  \return void
  */
 
-void G3d_tileIndexOrigin(G3D_Map * map, int tileIndex, int *x, int *y, int *z)
+void G3d_tileIndexOrigin(RASTER3D_Map * map, int tileIndex, int *x, int *y, int *z)
 {
     int xTile, yTile, zTile;
 
@@ -133,7 +133,7 @@
  */
 
 void
-G3d_coord2tileCoord(G3D_Map * map, int x, int y, int z, int *xTile,
+G3d_coord2tileCoord(RASTER3D_Map * map, int x, int y, int z, int *xTile,
 		    int *yTile, int *zTile, int *xOffs, int *yOffs,
 		    int *zOffs)
 {
@@ -164,7 +164,7 @@
  */
 
 void
-G3d_coord2tileIndex(G3D_Map * map, int x, int y, int z, int *tileIndex,
+G3d_coord2tileIndex(RASTER3D_Map * map, int x, int y, int z, int *tileIndex,
 		    int *offset)
 {
     int xTile, yTile, zTile, xOffs, yOffs, zOffs;
@@ -192,7 +192,7 @@
  *  \return int
  */
 
-int G3d_coordInRange(G3D_Map * map, int x, int y, int z)
+int G3d_coordInRange(RASTER3D_Map * map, int x, int y, int z)
 {
     return (x >= 0) && (x < map->region.cols) && (y >= 0) &&
 	(y < map->region.rows) && (z >= 0) && (z < map->region.depths);
@@ -212,7 +212,7 @@
  *  \return int
  */
 
-int G3d_tileIndexInRange(G3D_Map * map, int tileIndex)
+int G3d_tileIndexInRange(RASTER3D_Map * map, int tileIndex)
 {
     return (tileIndex < map->nTiles) && (tileIndex >= 0);
 }
@@ -234,7 +234,7 @@
  *  \return int
  */
 
-int G3d_tileInRange(G3D_Map * map, int x, int y, int z)
+int G3d_tileInRange(RASTER3D_Map * map, int x, int y, int z)
 {
     return (x >= 0) && (x < map->nx) && (y >= 0) && (y < map->ny) &&
 	(z >= 0) && (z < map->nz);
@@ -264,7 +264,7 @@
  */
 
 int
-G3d_computeClippedTileDimensions(G3D_Map * map, int tileIndex, int *rows,
+G3d_computeClippedTileDimensions(RASTER3D_Map * map, int tileIndex, int *rows,
 				 int *cols, int *depths, int *xRedundant,
 				 int *yRedundant, int *zRedundant)
 {
@@ -329,7 +329,7 @@
  */
 
 void
-G3d_computeOptimalTileDimension(G3D_Region *region, int type, int *tileX, int *tileY, int *tileZ, int maxSize)
+G3d_computeOptimalTileDimension(RASTER3D_Region *region, int type, int *tileX, int *tileY, int *tileZ, int maxSize)
 {
    int size = 0;
    int x, y, z;

Modified: grass/trunk/lib/raster3d/tilenull.c
===================================================================
--- grass/trunk/lib/raster3d/tilenull.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tilenull.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -20,7 +20,7 @@
  *  \return void
  */
 
-void G3d_setNullTileType(G3D_Map * map, void *tile, int type)
+void G3d_setNullTileType(RASTER3D_Map * map, void *tile, int type)
 {
     G3d_setNullValue(tile, map->tileSize, type);
 }
@@ -38,7 +38,7 @@
  *  \return void
  */
 
-void G3d_setNullTile(G3D_Map * map, void *tile)
+void G3d_setNullTile(RASTER3D_Map * map, void *tile)
 {
     G3d_setNullTileType(map, tile, map->typeIntern);
 }

Modified: grass/trunk/lib/raster3d/tileread.c
===================================================================
--- grass/trunk/lib/raster3d/tileread.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tileread.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9,7 +9,7 @@
 #include "raster3d_intern.h"
 
 static int
-G3d_xdrTile2tile(G3D_Map * map, void *tile, int rows, int cols, int depths,
+G3d_xdrTile2tile(RASTER3D_Map * map, void *tile, int rows, int cols, int depths,
 		 int xRedundant, int yRedundant, int zRedundant, int nofNum,
 		 int type)
 {
@@ -88,12 +88,12 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_readTileUncompressed(G3D_Map * map, int tileIndex, int nofNum)
+static int G3d_readTileUncompressed(RASTER3D_Map * map, int tileIndex, int nofNum)
 {
     int nofBytes;
 
     nofBytes = nofNum * map->numLengthExtern;
-    nofBytes = G3D_MIN(nofBytes, map->fileEndPtr - map->index[tileIndex]);
+    nofBytes = RASTER3D_MIN(nofBytes, map->fileEndPtr - map->index[tileIndex]);
 
     if (read(map->data_fd, xdr, nofBytes) != nofBytes) {
 	G3d_error("G3d_readTileUncompressed: can't read file");
@@ -105,7 +105,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_readTileCompressed(G3D_Map * map, int tileIndex, int nofNum)
+static int G3d_readTileCompressed(RASTER3D_Map * map, int tileIndex, int nofNum)
 {
     if (!G_fpcompress_readXdrNums(map->data_fd, xdr, nofNum,
 				  map->tileLength[tileIndex],
@@ -144,7 +144,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_readTile(G3D_Map * map, int tileIndex, void *tile, int type)
+int G3d_readTile(RASTER3D_Map * map, int tileIndex, void *tile, int type)
 {
     int nofNum, rows, cols, depths, xRedundant, yRedundant, zRedundant;
 
@@ -166,7 +166,7 @@
 	return 0;
     }
 
-    if (map->compression == G3D_NO_COMPRESSION) {
+    if (map->compression == RASTER3D_NO_COMPRESSION) {
 	if (!G3d_readTileUncompressed(map, tileIndex, nofNum)) {
 	    G3d_error("G3d_readTile: error in G3d_readTileUncompressed");
 	    return 0;
@@ -204,7 +204,7 @@
  *  \return int
  */
 
-int G3d_readTileFloat(G3D_Map * map, int tileIndex, void *tile)
+int G3d_readTileFloat(RASTER3D_Map * map, int tileIndex, void *tile)
 {
     if (!G3d_readTile(map, tileIndex, tile, FCELL_TYPE)) {
 	G3d_error("G3d_readTileFloat: error in G3d_readTile");
@@ -228,7 +228,7 @@
  *  \return int
  */
 
-int G3d_readTileDouble(G3D_Map * map, int tileIndex, void *tile)
+int G3d_readTileDouble(RASTER3D_Map * map, int tileIndex, void *tile)
 {
     if (!G3d_readTile(map, tileIndex, tile, DCELL_TYPE)) {
 	G3d_error("G3d_readTileDouble: error in G3d_readTile");
@@ -258,7 +258,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_lockTile(G3D_Map * map, int tileIndex)
+int G3d_lockTile(RASTER3D_Map * map, int tileIndex)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_lockTile: function invalid in non-cache mode");
@@ -285,7 +285,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_unlockTile(G3D_Map * map, int tileIndex)
+int G3d_unlockTile(RASTER3D_Map * map, int tileIndex)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_unlockTile: function invalid in non-cache mode");
@@ -311,7 +311,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_unlockAll(G3D_Map * map)
+int G3d_unlockAll(RASTER3D_Map * map)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_unlockAll: function invalid in non-cache mode");
@@ -336,7 +336,7 @@
  *  \return void
  */
 
-void G3d_autolockOn(G3D_Map * map)
+void G3d_autolockOn(RASTER3D_Map * map)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_autoLockOn: function invalid in non-cache mode");
@@ -356,7 +356,7 @@
  *  \return void
  */
 
-void G3d_autolockOff(G3D_Map * map)
+void G3d_autolockOff(RASTER3D_Map * map)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_autoLockOff: function invalid in non-cache mode");
@@ -374,9 +374,9 @@
  * number of unlocked tiles to <em>minUnlocked</em>.  This function should be used
  * in combination with <tt>G3d_unlockAll ()</tt> in order to avoid situations where the
  * new minimum is larger than the actual number of unlocked tiles.
- * <em>minUnlocked</em> must be one of G3D_USE_CACHE_X, G3D_USE_CACHE_Y,
- * G3D_USE_CACHE_Z, G3D_USE_CACHE_XY, G3D_USE_CACHE_XZ,
- * G3D_USE_CACHE_YZ, G3D_USE_CACHE_XYZ, the result of G3d_cacheSizeEncode()
+ * <em>minUnlocked</em> must be one of RASTER3D_USE_CACHE_X, RASTER3D_USE_CACHE_Y,
+ * RASTER3D_USE_CACHE_Z, RASTER3D_USE_CACHE_XY, RASTER3D_USE_CACHE_XZ,
+ * RASTER3D_USE_CACHE_YZ, RASTER3D_USE_CACHE_XYZ, the result of G3d_cacheSizeEncode()
  * (cf.{g3d:G3d.cacheSizeEncode}), or any positive integer
  * which explicitly specifies the number of tiles.
  *
@@ -385,7 +385,7 @@
  *  \return void
  */
 
-void G3d_minUnlocked(G3D_Map * map, int minUnlocked)
+void G3d_minUnlocked(RASTER3D_Map * map, int minUnlocked)
 {
     if (!map->useCache)
 	G3d_fatalError("G3d_autoLockOff: function invalid in non-cache mode");
@@ -407,7 +407,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_beginCycle(G3D_Map * map)
+int G3d_beginCycle(RASTER3D_Map * map)
 {
     if (!G3d_unlockAll(map)) {
 	G3d_fatalError("G3d_beginCycle: error in G3d_unlockAll");
@@ -431,7 +431,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_endCycle(G3D_Map * map)
+int G3d_endCycle(RASTER3D_Map * map)
 {
     G3d_autolockOff(map);
     return 1;

Modified: grass/trunk/lib/raster3d/tilewrite.c
===================================================================
--- grass/trunk/lib/raster3d/tilewrite.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/tilewrite.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,7 +12,7 @@
 /*---------------------------------------------------------------------------*/
 
 static int
-G3d_tile2xdrTile(G3D_Map * map, const void *tile, int rows, int cols,
+G3d_tile2xdrTile(RASTER3D_Map * map, const void *tile, int rows, int cols,
 		 int depths, int xRedundant, int yRedundant, int zRedundant,
 		 int nofNum, int type)
 {
@@ -70,7 +70,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_writeTileUncompressed(G3D_Map * map, int nofNum)
+static int G3d_writeTileUncompressed(RASTER3D_Map * map, int nofNum)
 {
     if (write(map->data_fd, xdr, map->numLengthExtern * nofNum) !=
 	map->numLengthExtern * nofNum) {
@@ -83,7 +83,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-static int G3d_writeTileCompressed(G3D_Map * map, int nofNum)
+static int G3d_writeTileCompressed(RASTER3D_Map * map, int nofNum)
 {
     if (!G_fpcompress_writeXdrNums(map->data_fd, xdr, nofNum, map->precision,
 				   tmpCompress, map->type == FCELL_TYPE,
@@ -127,7 +127,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_writeTile(G3D_Map * map, int tileIndex, const void *tile, int type)
+int G3d_writeTile(RASTER3D_Map * map, int tileIndex, const void *tile, int type)
 {
     int rows, cols, depths, xRedundant, yRedundant, zRedundant, nofNum;
 
@@ -161,7 +161,7 @@
 	return 0;
     }
 
-    if (map->compression == G3D_NO_COMPRESSION) {
+    if (map->compression == RASTER3D_NO_COMPRESSION) {
 	if (!G3d_writeTileUncompressed(map, nofNum)) {
 	    G3d_error("G3d_writeTile: error in G3d_writeTileUncompressed");
 	    return 0;
@@ -193,7 +193,7 @@
  *  \return int
  */
 
-int G3d_writeTileFloat(G3D_Map * map, int tileIndex, const void *tile)
+int G3d_writeTileFloat(RASTER3D_Map * map, int tileIndex, const void *tile)
 {
     int status;
 
@@ -218,7 +218,7 @@
  *  \return int
  */
 
-int G3d_writeTileDouble(G3D_Map * map, int tileIndex, const void *tile)
+int G3d_writeTileDouble(RASTER3D_Map * map, int tileIndex, const void *tile)
 {
     int status;
 
@@ -253,7 +253,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_flushTile(G3D_Map * map, int tileIndex)
+int G3d_flushTile(RASTER3D_Map * map, int tileIndex)
 {
     const void *tile;
 
@@ -305,7 +305,7 @@
  */
 
 int
-G3d_flushTileCube(G3D_Map * map, int xMin, int yMin, int zMin, int xMax,
+G3d_flushTileCube(RASTER3D_Map * map, int xMin, int yMin, int zMin, int xMax,
 		  int yMax, int zMax)
 {
     int x, y, z;
@@ -351,7 +351,7 @@
  */
 
 int
-G3d_flushTilesInCube(G3D_Map * map, int xMin, int yMin, int zMin, int xMax,
+G3d_flushTilesInCube(RASTER3D_Map * map, int xMin, int yMin, int zMin, int xMax,
 		     int yMax, int zMax)
 {
     int xTileMin, yTileMin, zTileMin, xTileMax, yTileMax, zTileMax;

Modified: grass/trunk/lib/raster3d/volume.c
===================================================================
--- grass/trunk/lib/raster3d/volume.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/volume.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -216,7 +216,7 @@
     void *volumeBuf;
     void *mapVolume;
     int x, y, z, eltLength;
-    G3D_Region region;
+    RASTER3D_Region region;
 
     volumeBuf = G3d_malloc(nx * ny * nz * sizeof(G3d_getFileType()));
     if (volumeBuf == NULL)
@@ -239,7 +239,7 @@
     region.depths = nz;
 
     mapVolume = G3d_openCellNew(fileName, G3d_getFileType(),
-				G3D_USE_CACHE_DEFAULT, &region);
+				RASTER3D_USE_CACHE_DEFAULT, &region);
     if (mapVolume == NULL)
 	G3d_fatalError("G3d_makeAlignedVolumeFile: error in G3d_openCellNew");
 

Modified: grass/trunk/lib/raster3d/volume_layout.xcf
===================================================================
(Binary files differ)

Modified: grass/trunk/lib/raster3d/window.c
===================================================================
--- grass/trunk/lib/raster3d/window.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/window.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5,7 +5,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-G3D_Region g3d_window;
+RASTER3D_Region g3d_window;
 
 /*---------------------------------------------------------------------------*/
 
@@ -21,7 +21,7 @@
  *  \return void
  */
 
-void G3d_setWindowMap(G3D_Map * map, G3D_Region * window)
+void G3d_setWindowMap(RASTER3D_Map * map, RASTER3D_Region * window)
 {
     G3d_regionCopy(&(map->window), window);
     G3d_adjustRegion(&(map->window));
@@ -40,7 +40,7 @@
  *  \return void
  */
 
-void G3d_setWindow(G3D_Region * window)
+void G3d_setWindow(RASTER3D_Region * window)
 {
     G3d_regionCopy(&g3d_window, window);
     G3d_adjustRegion(&g3d_window);
@@ -58,14 +58,14 @@
  *  \return void
  */
 
-void G3d_getWindow(G3D_Region * window)
+void G3d_getWindow(RASTER3D_Region * window)
 {
     G3d_regionCopy(window, &g3d_window);
 }
 
 /*---------------------------------------------------------------------------*/
 
-G3D_Region *G3d_windowPtr()
+RASTER3D_Region *G3d_windowPtr()
 {
     return &g3d_window;
 }
@@ -87,7 +87,7 @@
  *  \return int
  */
 
-int G3d_isValidLocationWindow(G3D_Map * map, double north, double east, double top)
+int G3d_isValidLocationWindow(RASTER3D_Map * map, double north, double east, double top)
 {
     return ((north >= map->window.south) && (north <= map->window.north) &&
 	    (east >= map->window.west) && (east <= map->window.east) &&

Modified: grass/trunk/lib/raster3d/windowio.c
===================================================================
--- grass/trunk/lib/raster3d/windowio.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/lib/raster3d/windowio.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -29,23 +29,23 @@
     }
 
     returnVal = 1;
-    returnVal &= windowInt(windowKeys, G3D_REGION_PROJ, proj);
-    returnVal &= windowInt(windowKeys, G3D_REGION_ZONE, zone);
+    returnVal &= windowInt(windowKeys, RASTER3D_REGION_PROJ, proj);
+    returnVal &= windowInt(windowKeys, RASTER3D_REGION_ZONE, zone);
 
-    returnVal &= windowDouble(windowKeys, G3D_REGION_NORTH, north);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_SOUTH, south);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_EAST, east);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_WEST, west);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_TOP, top);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_BOTTOM, bottom);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_NORTH, north);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_SOUTH, south);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_EAST, east);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_WEST, west);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_TOP, top);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_BOTTOM, bottom);
 
-    returnVal &= windowInt(windowKeys, G3D_REGION_ROWS, rows);
-    returnVal &= windowInt(windowKeys, G3D_REGION_COLS, cols);
-    returnVal &= windowInt(windowKeys, G3D_REGION_DEPTHS, depths);
+    returnVal &= windowInt(windowKeys, RASTER3D_REGION_ROWS, rows);
+    returnVal &= windowInt(windowKeys, RASTER3D_REGION_COLS, cols);
+    returnVal &= windowInt(windowKeys, RASTER3D_REGION_DEPTHS, depths);
 
-    returnVal &= windowDouble(windowKeys, G3D_REGION_EWRES, ew_res);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_NSRES, ns_res);
-    returnVal &= windowDouble(windowKeys, G3D_REGION_TBRES, tb_res);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_EWRES, ew_res);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_NSRES, ns_res);
+    returnVal &= windowDouble(windowKeys, RASTER3D_REGION_TBRES, tb_res);
 
     if (returnVal)
 	return 1;
@@ -55,15 +55,15 @@
 }
 
 /*
- * If windowName == NULL -> G3D_WINDOW_ELEMENT ("$MAPSET/WIND3")
- * otherwise G3D_WINDOW_DATABASE ("$MAPSET/windows3d/$NAME")
+ * If windowName == NULL -> RASTER3D_WINDOW_ELEMENT ("$MAPSET/WIND3")
+ * otherwise RASTER3D_WINDOW_DATABASE ("$MAPSET/windows3d/$NAME")
  */
 static void G3d_getFullWindowPath(char *path, const char *windowName)
 {
     char xname[GNAME_MAX], xmapset[GMAPSET_MAX];
 
     if (windowName == NULL) {
-	G_file_name(path, "", G3D_WINDOW_ELEMENT, G_mapset());
+	G_file_name(path, "", RASTER3D_WINDOW_ELEMENT, G_mapset());
 	return;
     }
 
@@ -76,11 +76,11 @@
     }
 
     if (G_name_is_fully_qualified(windowName, xname, xmapset)) {
-	G_file_name(path, G3D_WINDOW_DATABASE, xname, xmapset);
+	G_file_name(path, RASTER3D_WINDOW_DATABASE, xname, xmapset);
 	return;
     }
 
-    G_file_name(path, G3D_WINDOW_DATABASE, windowName, G_mapset());
+    G_file_name(path, RASTER3D_WINDOW_DATABASE, windowName, G_mapset());
 }
 
 /*---------------------------------------------------------------------------*/
@@ -104,9 +104,9 @@
 
    if ((*windowName != '/') && (*windowName != '.')) {
    if (G_name_is_fully_qualified (windowName, xname, xmapset)) 
-   G_file_name (path, G3D_WINDOW_DATABASE, xname, xmapset);
+   G_file_name (path, RASTER3D_WINDOW_DATABASE, xname, xmapset);
    else
-   G_file_name (path, G3D_WINDOW_DATABASE, windowName, G_mapset ());
+   G_file_name (path, RASTER3D_WINDOW_DATABASE, windowName, G_mapset ());
    } else
    sprintf (path, windowName);
    p = path;
@@ -136,7 +136,7 @@
  *          0 ... otherwise.
  */
 
-int G3d_readWindow(G3D_Region * window, const char *windowName)
+int G3d_readWindow(RASTER3D_Region * window, const char *windowName)
 {
     struct Cell_head win;
     struct Key_Value *windowKeys;
@@ -252,7 +252,7 @@
    int
    G3d_writeWindow (window, windowName)
 
-   G3D_Region *window;
+   RASTER3D_Region *window;
    char *windowName;
 
    {

Modified: grass/trunk/locale/po/grasslibs_de.po
===================================================================
--- grass/trunk/locale/po/grasslibs_de.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasslibs_de.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4902,26 +4902,26 @@
 #: ../lib/gpde/N_arrays_io.c:273
 #, c-format
 msgid "Requested g3d map <%s> not found"
-msgstr "Angeforderte G3D Karte <%s> nicht gefunden"
+msgstr "Angeforderte RASTER3D Karte <%s> nicht gefunden"
 
 #: ../lib/gpde/N_arrays_io.c:281 ../lib/gpde/N_arrays_io.c:420
 #, c-format
 msgid "Error opening g3d map <%s>"
-msgstr "Fehler beim Öffnen der G3D-Rasterkarte <%s>."
+msgstr "Fehler beim Öffnen der RASTER3D-Rasterkarte <%s>."
 
 #: ../lib/gpde/N_arrays_io.c:309
 #, c-format
 msgid "Read g3d map <%s> into the memory"
-msgstr "Lese G3D-Karte <%s> in den Speicher"
+msgstr "Lese RASTER3D-Karte <%s> in den Speicher"
 
 #: ../lib/gpde/N_arrays_io.c:364 ../lib/gpde/N_arrays_io.c:464
 msgid "Error closing g3d file"
-msgstr "Fehler beim Schließen der G3D-Datei."
+msgstr "Fehler beim Schließen der RASTER3D-Datei."
 
 #: ../lib/gpde/N_arrays_io.c:422
 #, c-format
 msgid "Write 3d array to g3d map <%s>"
-msgstr "Schreibe 3D Array in die G3D-Karte <%s>"
+msgstr "Schreibe 3D Array in die RASTER3D-Karte <%s>"
 
 #: ../lib/gpde/test/test_heat.c:33
 msgid ""

Modified: grass/trunk/locale/po/grassmods_ar.po
===================================================================
--- grass/trunk/locale/po/grassmods_ar.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_ar.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10042,7 +10042,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -28875,7 +28875,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30423,12 +30423,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "تغلب على الخريطة المخرجة"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32855,7 +32855,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -32909,7 +32909,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33040,7 +33040,7 @@
 msgstr "غير موجودة <%s> المنطقة"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -33080,12 +33080,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr "نوع التخزين للخريطة الراسترية الناتجة "
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "<%s>لم يتم العثور على الخريطة المدخلة\n"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33234,7 +33234,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -33250,7 +33250,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33422,7 +33422,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_cs.po
===================================================================
--- grass/trunk/locale/po/grassmods_cs.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_cs.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10068,10 +10068,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpoluje bodová data do G3D volume za pou¾ití regularized spline with "
+"Interpoluje bodová data do RASTER3D volume za pou¾ití regularized spline with "
 "tension (RST)"
 
 #: ../vector/v.vol.rst/main.c:253
@@ -29113,8 +29113,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Pou¾ít masku G3D (pokud existuje) s výstupní mapovou vrstvou"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Pou¾ít masku RASTER3D (pokud existuje) s výstupní mapovou vrstvou"
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -29157,7 +29157,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "G3D mapa(y) pro konverzi do datového formátu VTK-ASCII"
+msgstr "RASTER3D mapa(y) pro konverzi do datového formátu VTK-ASCII"
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -30681,12 +30681,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Pou¾ít masku G3D (pokud existuje) s vstupní mapou"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Pou¾ít masku RASTER3D (pokud existuje) s vstupní mapou"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "Chyba pøi zápisu G3D dat s plovoucí desetinnou èárkou"
+msgid "Error writing RASTER3D double data"
+msgstr "Chyba pøi zápisu RASTER3D dat s plovoucí desetinnou èárkou"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -33158,8 +33158,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Pou¾ít masku G3D (pokud existuje)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Pou¾ít masku RASTER3D (pokud existuje)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33211,7 +33211,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33334,8 +33334,8 @@
 msgstr "Grid3 <%s> nebyl nalezen %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Nemohl jsem uzavøít G3D mapu"
+msgid "Could not close RASTER3D map"
+msgstr "Nemohl jsem uzavøít RASTER3D mapu"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33351,7 +33351,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:109
 msgid "Use g3d mask (if exists) with input map"
-msgstr "Pou¾ít masku G3D (pokud existuje) se vstupní mapou"
+msgstr "Pou¾ít masku RASTER3D (pokud existuje) se vstupní mapou"
 
 #: ../raster3d/r3.cross.rast/main.c:232
 msgid ""
@@ -33371,13 +33371,13 @@
 msgstr "Výstupní mapa ji¾ existuje. Mapa bude pøepsána!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Chybný G3D datový typ! Nelze vytvoøit rastrové mapy."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Chybný RASTER3D datový typ! Nelze vytvoøit rastrové mapy."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Nemohl jsem uzavøít mapu G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Nemohl jsem uzavøít mapu RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33522,10 +33522,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Nelze vytvoøit soubor s maskou: G3D_MASK ji¾ existuje!\n"
-" Pro odstranìní existující masky pou¾ijte 'g.remove rast3d=G3D_MASK'."
+"Nelze vytvoøit soubor s maskou: RASTER3D_MASK ji¾ existuje!\n"
+" Pro odstranìní existující masky pou¾ijte 'g.remove rast3d=RASTER3D_MASK'."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33540,8 +33540,8 @@
 msgstr "write_vtk_unstructured_grid_header: Zapisuji hlavièku VTK"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "G3D mapa(y) pro konverzi do datového formátu VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "RASTER3D mapa(y) pro konverzi do datového formátu VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33584,7 +33584,7 @@
 
 #: ../raster3d/r3.out.vtk/parameters.c:117
 msgid "Use g3d mask (if exists) with input maps"
-msgstr "Pou¾ít masku G3D (pokud existuje) se vstupními mapami"
+msgstr "Pou¾ít masku RASTER3D (pokud existuje) se vstupními mapami"
 
 #: ../raster3d/r3.out.vtk/parameters.c:122
 msgid "Scale factor effects the origin"
@@ -33721,10 +33721,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Pou¾ij stejné rozli¹ení jako je vstupní G3D mapa pro 2d výstupní mapu, "
+"Pou¾ij stejné rozli¹ení jako je vstupní RASTER3D mapa pro 2d výstupní mapu, "
 "nezávisle na aktuálním rozli¹ení"
 
 #: ../raster3d/r3.to.rast/main.c:209
@@ -36018,8 +36018,8 @@
 #~ msgid "Redraw all frames"
 #~ msgstr "Vytiskni celkový rozsah ploch"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Pøevede 3D rastrové mapy (G3D) do formátu VTK-Ascii"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Pøevede 3D rastrové mapy (RASTER3D) do formátu VTK-Ascii"
 
 #~ msgid "Import GDAL supported raster file into a binary raster map layer."
 #~ msgstr "Import rastrových souborù podporovaných knihovnou GDAL."
@@ -38149,11 +38149,11 @@
 #~ msgstr "Pøímá choleskyho analýza nepracuje s øídkou maticí"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Nelze vytvoøit soubor s maskou: G3D_MASK ji¾ existuje!\n"
-#~ " Pro odstranìní existující masky pou¾ijte 'g.remove rast3d=G3D_MASK'."
+#~ "Nelze vytvoøit soubor s maskou: RASTER3D_MASK ji¾ existuje!\n"
+#~ " Pro odstranìní existující masky pou¾ijte 'g.remove rast3d=RASTER3D_MASK'."
 
 #~ msgid "raster, resample"
 #~ msgstr "rastr, pøevzorkování"

Modified: grass/trunk/locale/po/grassmods_de.po
===================================================================
--- grass/trunk/locale/po/grassmods_de.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_de.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10283,10 +10283,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpoliert Punkte zu einem G3D Grid Volumen unter Verwendung des "
+"Interpoliert Punkte zu einem RASTER3D Grid Volumen unter Verwendung des "
 "regularized spline with tension (RST) Algorithmus."
 
 #: ../vector/v.vol.rst/main.c:253
@@ -10356,27 +10356,27 @@
 
 #: ../vector/v.vol.rst/main.c:393
 msgid "Output gradient magnitude g3d-file"
-msgstr "Ausgabe-G3D-Datei mit Größenordnungen der Gradienten"
+msgstr "Ausgabe-RASTER3D-Datei mit Größenordnungen der Gradienten"
 
 #: ../vector/v.vol.rst/main.c:403
 msgid "Output gradient horizontal angle g3d-file"
-msgstr "Ausgabe-G3D-Datei mit horizontalen Winkeln der Gradienten"
+msgstr "Ausgabe-RASTER3D-Datei mit horizontalen Winkeln der Gradienten"
 
 #: ../vector/v.vol.rst/main.c:412
 msgid "Output gradient vertical angle g3d-file"
-msgstr "Ausgabe-G3D-Datei mit vertikalen Winkeln der Gradienten"
+msgstr "Ausgabe-RASTER3D-Datei mit vertikalen Winkeln der Gradienten"
 
 #: ../vector/v.vol.rst/main.c:421
 msgid "Output change of gradient g3d-file"
-msgstr "Ausgabe-G3D-Datei mit Änderung der Gradienten"
+msgstr "Ausgabe-RASTER3D-Datei mit Änderung der Gradienten"
 
 #: ../vector/v.vol.rst/main.c:430
 msgid "Output gaussian curvature g3d-file"
-msgstr "Ausgabe-G3D-Datei mit Gauss'scher Krümmung"
+msgstr "Ausgabe-RASTER3D-Datei mit Gauss'scher Krümmung"
 
 #: ../vector/v.vol.rst/main.c:439
 msgid "Output mean curvature g3d-file"
-msgstr "Ausgabe-G3D-Datei mit mittleren Krümmung"
+msgstr "Ausgabe-RASTER3D-Datei mit mittleren Krümmung"
 
 #: ../vector/v.vol.rst/main.c:445
 msgid "Perform a cross-validation procedure without volume interpolation"
@@ -25750,14 +25750,14 @@
 #: ../raster/r.univar/r3.univar_main.c:186 ../raster3d/r3.stats/main.c:612
 #, c-format
 msgid "Requested g3d map <%s> not found"
-msgstr "Angeforderte G3D Karte <%s> nicht gefunden."
+msgstr "Angeforderte RASTER3D Karte <%s> nicht gefunden."
 
 #: ../raster/r.univar/r3.univar_main.c:154
 #: ../raster/r.univar/r3.univar_main.c:193 ../raster3d/r3.gwflow/main.c:370
 #: ../raster3d/r3.stats/main.c:619
 #, c-format
 msgid "Error opening g3d map <%s>"
-msgstr "Fehler beim Öffnen der G3D-Rasterkarte <%s>."
+msgstr "Fehler beim Öffnen der RASTER3D-Rasterkarte <%s>."
 
 #: ../raster/r.univar/r3.univar_main.c:163
 #, fuzzy
@@ -29432,8 +29432,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Benutzt G3D Maske (falls existent) für die Ausgabekarte."
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Benutzt RASTER3D Maske (falls existent) für die Ausgabekarte."
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -29450,7 +29450,7 @@
 "The 2d and 3d region settings are different. I will use the g3d settings to "
 "adjust the 2d region."
 msgstr ""
-"Die 2D und 3D Regions Parameter sind unterschiedlich. Ich werde die G3D "
+"Die 2D und 3D Regions Parameter sind unterschiedlich. Ich werde die RASTER3D "
 "Parameter verwenden, um die 2D Region anzupassen."
 
 #: ../raster/r.to.rast3/main.c:262
@@ -29478,7 +29478,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "G3D Karte(n), die in das VTL-ASCII-Format konvertiert werden."
+msgstr "RASTER3D Karte(n), die in das VTL-ASCII-Format konvertiert werden."
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -31013,12 +31013,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Benutzt G3D Maske (falls existent) mit der Eingabekarte"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Benutzt RASTER3D Maske (falls existent) mit der Eingabekarte"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "Fehler beim Schreiben der G3D double-Daten."
+msgid "Error writing RASTER3D double data"
+msgstr "Fehler beim Schreiben der RASTER3D double-Daten."
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -33464,8 +33464,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Benutzte G3D Maske (falls existent)."
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Benutzte RASTER3D Maske (falls existent)."
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33493,11 +33493,11 @@
 #: ../raster3d/r3.gwflow/main.c:372
 #, c-format
 msgid "Write the result to g3d map <%s>"
-msgstr "Schreibe das Ergebnis in die G3D-Karte <%s>."
+msgstr "Schreibe das Ergebnis in die RASTER3D-Karte <%s>."
 
 #: ../raster3d/r3.gwflow/main.c:419
 msgid "Error closing g3d file"
-msgstr "Fehler beim Schließen der G3D-Datei."
+msgstr "Fehler beim Schließen der RASTER3D-Datei."
 
 #: ../raster3d/r3.in.v5d/main.c:197
 #, fuzzy
@@ -33519,13 +33519,13 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
 #, c-format
 msgid "Open 3d raster map <%s>"
-msgstr "Öffne G3D Rasterkarte <%s>."
+msgstr "Öffne RASTER3D Rasterkarte <%s>."
 
 #: ../raster3d/r3.retile/main.c:132
 #, fuzzy, c-format
@@ -33644,8 +33644,8 @@
 msgstr "Grid3 <%s> wurde nicht gefunden %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Konnte G3D Karte nicht schließen"
+msgid "Could not close RASTER3D map"
+msgstr "Konnte RASTER3D Karte nicht schließen"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33661,7 +33661,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:109
 msgid "Use g3d mask (if exists) with input map"
-msgstr "Benutzt G3D Maske (falls existent) mit der Eingabekarte."
+msgstr "Benutzt RASTER3D Maske (falls existent) mit der Eingabekarte."
 
 #: ../raster3d/r3.cross.rast/main.c:232
 msgid ""
@@ -33683,13 +33683,13 @@
 msgstr "Ausgabekarte existiert bereits. Sie wird überschrieben!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Falscher G3D Datentyp. Kann die Rasterkarte nicht erzeugen."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Falscher RASTER3D Datentyp. Kann die Rasterkarte nicht erzeugen."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Konnte G3D Karte <%s> nicht schließen."
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Konnte RASTER3D Karte <%s> nicht schließen."
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33802,7 +33802,7 @@
 
 #: ../raster3d/base/r3.mask.main.c:75
 msgid "makeMask: error opening g3d mask file"
-msgstr "makeMask: Fehler beim Öffnen der G3D-Maskendatei."
+msgstr "makeMask: Fehler beim Öffnen der RASTER3D-Maskendatei."
 
 #: ../raster3d/base/r3.mask.main.c:104
 msgid "makeMask: error flushing tiles in cube"
@@ -33814,7 +33814,7 @@
 
 #: ../raster3d/base/r3.mask.main.c:117
 msgid "makeMask: error closing g3d mask file"
-msgstr "makeMask: Fehler beim Schließen der G3D-Maskendatei."
+msgstr "makeMask: Fehler beim Schließen der RASTER3D-Maskendatei."
 
 #: ../raster3d/base/r3.mask.main.c:119
 msgid "makeMask: error closing map"
@@ -33834,10 +33834,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Kann keine Maskendatei erzeugen: G3D_MASK existiert bereits.\n"
-"Benutzen Sie 'g.remove rast3d=G3D_MASK' um die existierende Maske zu löschen."
+"Kann keine Maskendatei erzeugen: RASTER3D_MASK existiert bereits.\n"
+"Benutzen Sie 'g.remove rast3d=RASTER3D_MASK' um die existierende Maske zu löschen."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33853,8 +33853,8 @@
 "write_vtk_unstructured_grid_header: Schreibe VTKUnstructuredGrid-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "G3D Karte(n), die in das VTL-ASCII-Format konvertiert werden."
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "RASTER3D Karte(n), die in das VTL-ASCII-Format konvertiert werden."
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33896,7 +33896,7 @@
 
 #: ../raster3d/r3.out.vtk/parameters.c:117
 msgid "Use g3d mask (if exists) with input maps"
-msgstr "Benutze G3D Maske (falls existent) mit der Eingabekarte."
+msgstr "Benutze RASTER3D Maske (falls existent) mit der Eingabekarte."
 
 #: ../raster3d/r3.out.vtk/parameters.c:122
 msgid "Scale factor effects the origin"
@@ -33919,32 +33919,32 @@
 #: ../raster3d/r3.out.vtk/main.c:142
 #, c-format
 msgid "Requested 3d raster map <%s> not found"
-msgstr "Angeforderte G3D Rasterkarte <%s> nicht gefunden."
+msgstr "Angeforderte RASTER3D Rasterkarte <%s> nicht gefunden."
 
 #: ../raster3d/r3.out.vtk/main.c:152
 #, c-format
 msgid "Requested g3d RGB map <%s> not found"
-msgstr "Angeforderte G3D RGB Karte <%s> nicht gefunden."
+msgstr "Angeforderte RASTER3D RGB Karte <%s> nicht gefunden."
 
 #: ../raster3d/r3.out.vtk/main.c:155
 msgid "Please provide three g3d RGB maps"
-msgstr "Bitte geben Sie drei G3D RGB Karten an."
+msgstr "Bitte geben Sie drei RASTER3D RGB Karten an."
 
 #: ../raster3d/r3.out.vtk/main.c:165
 #, c-format
 msgid "Requested g3d vector map <%s> not found"
-msgstr "Angeforderte G3D Vektorkarte <%s> nicht gefunden."
+msgstr "Angeforderte RASTER3D Vektorkarte <%s> nicht gefunden."
 
 #: ../raster3d/r3.out.vtk/main.c:168
 msgid "Please provide three g3d vector maps [x,y,z]"
-msgstr "Bitte geben Sie drei G3D Vektorkarten an [x,y,z]."
+msgstr "Bitte geben Sie drei RASTER3D Vektorkarten an [x,y,z]."
 
 #: ../raster3d/r3.out.vtk/main.c:175
 msgid ""
 "No g3d data, RGB or xyz-vector maps are provided! Will only write the "
 "geometry."
 msgstr ""
-"Keine G3D-Daten, RGB oder xyz-Vektorkarten wurden angegeben! Werde nur die "
+"Keine RASTER3D-Daten, RGB oder xyz-Vektorkarten wurden angegeben! Werde nur die "
 "Geometrien schreiben."
 
 #: ../raster3d/r3.out.vtk/main.c:196
@@ -33958,7 +33958,7 @@
 
 #: ../raster3d/r3.out.vtk/main.c:252
 msgid "Error closing g3d rgb map."
-msgstr "Fehler beim Schließen der G3D-RGB-Datei."
+msgstr "Fehler beim Schließen der RASTER3D-RGB-Datei."
 
 #: ../raster3d/r3.out.vtk/main.c:294
 msgid "No vector data will be created."
@@ -33966,7 +33966,7 @@
 
 #: ../raster3d/r3.out.vtk/main.c:338
 msgid "Error closing g3d vector map."
-msgstr "Fehler beim Schließen der G3D-Vektorkarte."
+msgstr "Fehler beim Schließen der RASTER3D-Vektorkarte."
 
 #: ../raster3d/r3.out.vtk/main.c:380
 #, fuzzy
@@ -33982,7 +33982,7 @@
 "The 2d and 3d region settings are different. The g3d settings are used to "
 "adjust the 2d region."
 msgstr ""
-"Die 2D und 3D Regions Parameter sind unterschiedlich. Die G3D-Parameter "
+"Die 2D und 3D Regions Parameter sind unterschiedlich. Die RASTER3D-Parameter "
 "werden verwendet, um die 2D Region anzupassen."
 
 #: ../raster3d/r3.out.vtk/main.c:540
@@ -34036,10 +34036,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Verwende dieselbe Auflösung wie die G3D-Eingabekarte für die 2D-"
+"Verwende dieselbe Auflösung wie die RASTER3D-Eingabekarte für die 2D-"
 "Ausgabekarten. Dies ist unabhängig von der Auflösung der aktuellen Region. "
 
 #: ../raster3d/r3.to.rast/main.c:209
@@ -34636,8 +34636,8 @@
 #~ msgid "Could not open map %s"
 #~ msgstr "Kann die Karte %s nicht öffnen."
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Konvertiert eine 3D-Rasterkarte (G3D) in das VTK-ASCII-Format."
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Konvertiert eine 3D-Rasterkarte (RASTER3D) in das VTK-ASCII-Format."
 
 #~ msgid "unable to close top raster map"
 #~ msgstr "Kann die obere Rasterkarte nicht schließen."
@@ -34702,11 +34702,11 @@
 #~ msgstr "3D-Raster, Voxel, Statistik"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Kann keine Maskendatei erzeugen: G3D_MASK existiert bereits.\n"
-#~ "Benutzen Sie 'g.remove rast3d=G3D_MASK' um die existierende Maske zu "
+#~ "Kann keine Maskendatei erzeugen: RASTER3D_MASK existiert bereits.\n"
+#~ "Benutzen Sie 'g.remove rast3d=RASTER3D_MASK' um die existierende Maske zu "
 #~ "löschen."
 
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."

Modified: grass/trunk/locale/po/grassmods_el.po
===================================================================
--- grass/trunk/locale/po/grassmods_el.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_el.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9521,7 +9521,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -27447,7 +27447,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -28928,11 +28928,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "×ñçóéìïðïéÞóôå G3D mask (áí õðÜñ÷åé) ìå åéóáãþìåíï ÷Üñôç"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "×ñçóéìïðïéÞóôå RASTER3D mask (áí õðÜñ÷åé) ìå åéóáãþìåíï ÷Üñôç"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -31245,8 +31245,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "×ñçóéìïðïéÞóôå G3D ìÜóêá (åÜí õðÜñ÷åé)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "×ñçóéìïðïéÞóôå RASTER3D ìÜóêá (åÜí õðÜñ÷åé)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 msgid "groundwater"
@@ -31295,7 +31295,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -31415,7 +31415,7 @@
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "Äåí ãßíåôáé íá êëåßóåé ï G3Ä ÷Üñôçò"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -31454,13 +31454,13 @@
 msgstr "Ï åîáãþìåíïò ÷Üñôçò Þäç õðÜñ÷åé. Èá áíôéêáôáóôáèåß!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "ËÜèïò G3D ôýðïò! Äåí ìðïñåß íá äçìéïõñãçèåß ñÜóôåñ ÷Üñôçò."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "ËÜèïò RASTER3D ôýðïò! Äåí ìðïñåß íá äçìéïõñãçèåß ñÜóôåñ ÷Üñôçò."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Äåí ìðïñåß íá êëåßóåé ï G3D ÷Üñôçò <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Äåí ìðïñåß íá êëåßóåé ï RASTER3D ÷Üñôçò <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -31605,7 +31605,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -31621,7 +31621,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -31787,7 +31787,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 
@@ -32252,7 +32252,7 @@
 
 #, fuzzy
 #~ msgid "Could not open <%s>"
-#~ msgstr "Äåí ìðïñåß íá êëåßóåé ï G3D ÷Üñôçò <%s>"
+#~ msgstr "Äåí ìðïñåß íá êëåßóåé ï RASTER3D ÷Üñôçò <%s>"
 
 #, fuzzy
 #~ msgid "Unable to read header of raster map <%s> "

Modified: grass/trunk/locale/po/grassmods_es.po
===================================================================
--- grass/trunk/locale/po/grassmods_es.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_es.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10219,10 +10219,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpola datos de puntos a volumen de cuadrícula G3D usando spline "
+"Interpola datos de puntos a volumen de cuadrícula RASTER3D usando spline "
 "regularizado con algoritmo de tensión (RST)."
 
 #: ../vector/v.vol.rst/main.c:253
@@ -10288,31 +10288,31 @@
 
 #: ../vector/v.vol.rst/main.c:385
 msgid "Output elevation g3d-file"
-msgstr "Producir archivo G3D de elevación"
+msgstr "Producir archivo RASTER3D de elevación"
 
 #: ../vector/v.vol.rst/main.c:393
 msgid "Output gradient magnitude g3d-file"
-msgstr "Producir archivo G3D de magnitud de gradiente"
+msgstr "Producir archivo RASTER3D de magnitud de gradiente"
 
 #: ../vector/v.vol.rst/main.c:403
 msgid "Output gradient horizontal angle g3d-file"
-msgstr "Producir archivo G3D de ángulo horizontal de gradiente"
+msgstr "Producir archivo RASTER3D de ángulo horizontal de gradiente"
 
 #: ../vector/v.vol.rst/main.c:412
 msgid "Output gradient vertical angle g3d-file"
-msgstr "Producir archivo G3D de ángulo vertical de gradiente"
+msgstr "Producir archivo RASTER3D de ángulo vertical de gradiente"
 
 #: ../vector/v.vol.rst/main.c:421
 msgid "Output change of gradient g3d-file"
-msgstr "Producir archivo G3D de cambio de gradiente"
+msgstr "Producir archivo RASTER3D de cambio de gradiente"
 
 #: ../vector/v.vol.rst/main.c:430
 msgid "Output gaussian curvature g3d-file"
-msgstr "Producir archivo G3D de curvatura gausiana"
+msgstr "Producir archivo RASTER3D de curvatura gausiana"
 
 #: ../vector/v.vol.rst/main.c:439
 msgid "Output mean curvature g3d-file"
-msgstr "Producir archivo G3D de curvatura media"
+msgstr "Producir archivo RASTER3D de curvatura media"
 
 #: ../vector/v.vol.rst/main.c:445
 msgid "Perform a cross-validation procedure without volume interpolation"
@@ -25676,14 +25676,14 @@
 #: ../raster/r.univar/r3.univar_main.c:186 ../raster3d/r3.stats/main.c:612
 #, c-format
 msgid "Requested g3d map <%s> not found"
-msgstr "Mapa G3D <%s> solicitado no encontrado"
+msgstr "Mapa RASTER3D <%s> solicitado no encontrado"
 
 #: ../raster/r.univar/r3.univar_main.c:154
 #: ../raster/r.univar/r3.univar_main.c:193 ../raster3d/r3.gwflow/main.c:370
 #: ../raster3d/r3.stats/main.c:619
 #, c-format
 msgid "Error opening g3d map <%s>"
-msgstr "Error al abrir el mapa G3D <%s>"
+msgstr "Error al abrir el mapa RASTER3D <%s>"
 
 #: ../raster/r.univar/r3.univar_main.c:163
 #, fuzzy
@@ -29354,8 +29354,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Usar máscara G3D (si existe) con el mapa de salida"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Usar máscara RASTER3D (si existe) con el mapa de salida"
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -29372,7 +29372,7 @@
 "adjust the 2d region."
 msgstr ""
 "Las configuraciones de la región 2D y 3D son diferentes. Usaré las "
-"configuraciones G3D para ajustar la región 2D."
+"configuraciones RASTER3D para ajustar la región 2D."
 
 #: ../raster/r.to.rast3/main.c:262
 #, c-format
@@ -29399,7 +29399,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "Mapa(s) G3D a convertir al formato de datos VTK-ASCII"
+msgstr "Mapa(s) RASTER3D a convertir al formato de datos VTK-ASCII"
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -30940,12 +30940,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Usar máscara G3D (si existe) con el mapa de entrada"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Usar máscara RASTER3D (si existe) con el mapa de entrada"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "Error al escribir datos dobles G3D"
+msgid "Error writing RASTER3D double data"
+msgstr "Error al escribir datos dobles RASTER3D"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -33385,8 +33385,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Usar máscara G3D (si existe)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Usar máscara RASTER3D (si existe)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33414,11 +33414,11 @@
 #: ../raster3d/r3.gwflow/main.c:372
 #, c-format
 msgid "Write the result to g3d map <%s>"
-msgstr "Escribir el resultado al mapa G3D <%s>"
+msgstr "Escribir el resultado al mapa RASTER3D <%s>"
 
 #: ../raster3d/r3.gwflow/main.c:419
 msgid "Error closing g3d file"
-msgstr "Error al cerrar archivo G3D"
+msgstr "Error al cerrar archivo RASTER3D"
 
 #: ../raster3d/r3.in.v5d/main.c:197
 #, fuzzy
@@ -33439,7 +33439,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33565,8 +33565,8 @@
 msgstr "Grid3 <%s> no encontrado %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "No se pudo cerrar el mapa G3D"
+msgid "Could not close RASTER3D map"
+msgstr "No se pudo cerrar el mapa RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33582,7 +33582,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:109
 msgid "Use g3d mask (if exists) with input map"
-msgstr "Usar máscara G3D (si existe) con el mapar de entrada"
+msgstr "Usar máscara RASTER3D (si existe) con el mapar de entrada"
 
 #: ../raster3d/r3.cross.rast/main.c:232
 msgid ""
@@ -33604,13 +33604,13 @@
 msgstr "El mapa de salida ya existe. ¡Se sobrescribirá!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "¡Tipo de datos G3D incorrecto! No se puede crear el mapa ráster."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "¡Tipo de datos RASTER3D incorrecto! No se puede crear el mapa ráster."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "No se pudo cerrar el mapa G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "No se pudo cerrar el mapa RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33755,10 +33755,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"No se puede crear archivo de máscara: ¡G3D_MASK ya existe!\n"
-" Usa 'g.remove rast3d=G3D_MASK' para eliminar la máscara existente."
+"No se puede crear archivo de máscara: ¡RASTER3D_MASK ya existe!\n"
+" Usa 'g.remove rast3d=RASTER3D_MASK' para eliminar la máscara existente."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33779,8 +33779,8 @@
 "Cabecera"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "Mapa(s) G3D a convertir al formato de datos VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "Mapa(s) RASTER3D a convertir al formato de datos VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33823,7 +33823,7 @@
 
 #: ../raster3d/r3.out.vtk/parameters.c:117
 msgid "Use g3d mask (if exists) with input maps"
-msgstr "Usar máscara G3D (si existe) con los mapas de entrada"
+msgstr "Usar máscara RASTER3D (si existe) con los mapas de entrada"
 
 #: ../raster3d/r3.out.vtk/parameters.c:122
 msgid "Scale factor effects the origin"
@@ -33851,27 +33851,27 @@
 #: ../raster3d/r3.out.vtk/main.c:152
 #, c-format
 msgid "Requested g3d RGB map <%s> not found"
-msgstr "Mapa RGB G3D <%s> solicitado no encontrado"
+msgstr "Mapa RGB RASTER3D <%s> solicitado no encontrado"
 
 #: ../raster3d/r3.out.vtk/main.c:155
 msgid "Please provide three g3d RGB maps"
-msgstr "Por favor, proporciona tres mapas RGB G3D"
+msgstr "Por favor, proporciona tres mapas RGB RASTER3D"
 
 #: ../raster3d/r3.out.vtk/main.c:165
 #, c-format
 msgid "Requested g3d vector map <%s> not found"
-msgstr "Mapa vectorial G3D <%s> solicitado no encontrado"
+msgstr "Mapa vectorial RASTER3D <%s> solicitado no encontrado"
 
 #: ../raster3d/r3.out.vtk/main.c:168
 msgid "Please provide three g3d vector maps [x,y,z]"
-msgstr "Por favor, proporciona tres mapas vectoriales G3D [x,y,z]"
+msgstr "Por favor, proporciona tres mapas vectoriales RASTER3D [x,y,z]"
 
 #: ../raster3d/r3.out.vtk/main.c:175
 msgid ""
 "No g3d data, RGB or xyz-vector maps are provided! Will only write the "
 "geometry."
 msgstr ""
-"¡No se ha proporcionado ningún mapa de datos G3D, RGB o vectorial xyz! Sólo "
+"¡No se ha proporcionado ningún mapa de datos RASTER3D, RGB o vectorial xyz! Sólo "
 "se escribirá la geometría."
 
 #: ../raster3d/r3.out.vtk/main.c:196
@@ -33885,7 +33885,7 @@
 
 #: ../raster3d/r3.out.vtk/main.c:252
 msgid "Error closing g3d rgb map."
-msgstr "Error al cerrar mapa RGB G3D."
+msgstr "Error al cerrar mapa RGB RASTER3D."
 
 #: ../raster3d/r3.out.vtk/main.c:294
 msgid "No vector data will be created."
@@ -33893,7 +33893,7 @@
 
 #: ../raster3d/r3.out.vtk/main.c:338
 msgid "Error closing g3d vector map."
-msgstr "Error al cerrar mapa vectorial G3D."
+msgstr "Error al cerrar mapa vectorial RASTER3D."
 
 #: ../raster3d/r3.out.vtk/main.c:380
 #, fuzzy
@@ -33910,7 +33910,7 @@
 "adjust the 2d region."
 msgstr ""
 "Las configuraciones de la región 2D y 3D son diferentes. Se usan las "
-"configuraciones G3D para ajustar la región 2D."
+"configuraciones RASTER3D para ajustar la región 2D."
 
 #: ../raster3d/r3.out.vtk/main.c:540
 msgid "Error closing 3d raster map, the VTK file may be incomplete."
@@ -33962,10 +33962,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Usar la misma resolución que en mapa G3D de entrada para los mapas 2D de "
+"Usar la misma resolución que en mapa RASTER3D de entrada para los mapas 2D de "
 "salida, independientemente de la configuración de la región actual"
 
 #: ../raster3d/r3.to.rast/main.c:209
@@ -35710,8 +35710,8 @@
 #~ msgid "Unable to access table <%s>"
 #~ msgstr "No se puede acceder a la tabla <%s>"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Convierte mapas ráster 3D (G3D) en formato VTK-ASCII"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Convierte mapas ráster 3D (RASTER3D) en formato VTK-ASCII"
 
 #~ msgid "Import GDAL supported raster file into a binary raster map layer."
 #~ msgstr ""
@@ -39867,11 +39867,11 @@
 #~ msgstr "Imprimir la matriz de transformación a stdout"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "No se puede crear archivo de máscara: ¡G3D_MASK ya existe!\n"
-#~ " Usa 'g.remove rast3d=G3D_MASK' para eliminar la máscara existente."
+#~ "No se puede crear archivo de máscara: ¡RASTER3D_MASK ya existe!\n"
+#~ " Usa 'g.remove rast3d=RASTER3D_MASK' para eliminar la máscara existente."
 
 #~ msgid "Name of terrain raster map (DEM)"
 #~ msgstr "Nombre del mapa raster de terreno (MDT)"

Modified: grass/trunk/locale/po/grassmods_fr.po
===================================================================
--- grass/trunk/locale/po/grassmods_fr.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_fr.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10717,7 +10717,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -26834,7 +26834,7 @@
 #: ../raster/r.what/main.c:196
 #, fuzzy, c-format
 msgid "can only do up to %d raster maps"
-msgstr "Nom du fichier grille G3D en sortie"
+msgstr "Nom du fichier grille RASTER3D en sortie"
 
 #: ../raster/r.what/main.c:212
 #, fuzzy, c-format
@@ -31019,7 +31019,7 @@
 
 #: ../raster/r.to.rast3/main.c:93
 #, fuzzy
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr "Utilisez le masque raster 3D (s'il existe) sur la couche en entrée"
 
 #: ../raster/r.to.rast3/main.c:201
@@ -31067,7 +31067,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "Couche(s) G3D à convertir au format de données VTK-ASCII"
+msgstr "Couche(s) RASTER3D à convertir au format de données VTK-ASCII"
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -32707,12 +32707,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr "Utilisez le masque raster 3D (s'il existe) sur la couche en entrée"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "Erreur de lecture des cellules de données"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32730,7 +32730,7 @@
 #, fuzzy
 msgid "Creates a 3D volume map based on 2D elevation and value raster maps."
 msgstr ""
-"Crée une couche raster de coupe 2D à partir du raster volumique G3D à partir "
+"Crée une couche raster de coupe 2D à partir du raster volumique RASTER3D à partir "
 "d'une couche de relief 2D"
 
 #: ../raster/r.to.rast3elev/main.c:400
@@ -35261,7 +35261,7 @@
 
 #: ../raster3d/r3.gwflow/main.c:127
 #, fuzzy
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr "Utilisez le masque raster 3D (s'il existe) sur la couche en entrée"
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -35315,7 +35315,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 # c-format
@@ -35452,8 +35452,8 @@
 msgstr "couche 3D <%s> non trouvée %s\n"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Impossible de fermer la couche G3D"
+msgid "Could not close RASTER3D map"
+msgstr "Impossible de fermer la couche RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -35476,7 +35476,7 @@
 "Creates cross section 2D raster map from 3d raster map based on 2D elevation "
 "map"
 msgstr ""
-"Crée une couche raster de coupe 2D à partir du raster volumique G3D à partir "
+"Crée une couche raster de coupe 2D à partir du raster volumique RASTER3D à partir "
 "d'une couche de relief 2D"
 
 #: ../raster3d/r3.cross.rast/main.c:278 ../raster3d/r3.out.vtk/main.c:207
@@ -35496,14 +35496,14 @@
 msgstr "La couche de sortie existe déjà. Ce fichier va être écrasé!\n"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
-"Erreur sur le type de raster G3D! Impossible de créer la couche raster."
+"Erreur sur le type de raster RASTER3D! Impossible de créer la couche raster."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Impossible de fermer la couche G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Impossible de fermer la couche RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -35662,10 +35662,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Impossible de créer un fichier masque : G3D_MASK existe déjà!\n"
-"Utilisez 'g.remove rast3d=G3D_MASK' pour supprimer le masque existant."
+"Impossible de créer un fichier masque : RASTER3D_MASK existe déjà!\n"
+"Utilisez 'g.remove rast3d=RASTER3D_MASK' pour supprimer le masque existant."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 #, fuzzy
@@ -35683,8 +35683,8 @@
 msgstr "writeVTKStructuredElevationHeader: Ecriture de l'en-tête VTK"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "Couche(s) G3D à convertir au format de données VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "Couche(s) RASTER3D à convertir au format de données VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -35797,7 +35797,7 @@
 #, fuzzy
 msgid "No RGB Data will be created."
 msgstr ""
-"Erreur d'ouverture du fichier G3D <%s>. Aucune données RGB ne sera créée."
+"Erreur d'ouverture du fichier RASTER3D <%s>. Aucune données RGB ne sera créée."
 
 #: ../raster3d/r3.out.vtk/main.c:252
 #, fuzzy
@@ -35832,7 +35832,7 @@
 #: ../raster3d/r3.out.vtk/main.c:540
 msgid "Error closing 3d raster map, the VTK file may be incomplete."
 msgstr ""
-"Erreur de fermeture de la couche de données G3D, le fichier VTK risque "
+"Erreur de fermeture de la couche de données RASTER3D, le fichier VTK risque "
 "d'être incomplet."
 
 #: ../raster3d/r3.out.vtk/errorHandling.c:65
@@ -35867,7 +35867,7 @@
 #: ../raster3d/r3.out.vtk/writeVTKData.c:441
 msgid "Wrong 3d raster map values! Values should in between 0 and 255!\n"
 msgstr ""
-"Valeurs de couches G3D erronées! Les valeurs doivent être comprises entre 0 "
+"Valeurs de couches RASTER3D erronées! Les valeurs doivent être comprises entre 0 "
 "et 255!\n"
 
 #: ../raster3d/r3.out.vtk/writeVTKData.c:470
@@ -35884,7 +35884,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 
@@ -37633,7 +37633,7 @@
 #~ msgid "Unable to access table <%s>"
 #~ msgstr "impossible de créer la sortie <%s>"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
 #~ msgstr "Convertit une couche raster 3D au format VTK-ASCII"
 
 #, fuzzy
@@ -42697,7 +42697,7 @@
 #~ msgstr "[%s] n'est pas un nom légal\n"
 
 #~ msgid "Requested 3d raster map not found <%s>"
-#~ msgstr "Le fichier raster G3D <%s> demandé n'a pas été trouvé"
+#~ msgstr "Le fichier raster RASTER3D <%s> demandé n'a pas été trouvé"
 
 #, fuzzy
 #~ msgid "Could not open output map"
@@ -43837,7 +43837,7 @@
 #, fuzzy
 #~ msgid "raster_to_g3d: Writing %i raster maps with rows %i cols."
 #~ msgstr ""
-#~ "RasterToG3D(Raster vers Raster 3D) : créer %i couches rasters de "
+#~ "RasterToRASTER3D(Raster vers Raster 3D) : créer %i couches rasters de "
 #~ "dimensions lignes %i colonnes"
 
 #~ msgid "Writing g3d slice %i\n"
@@ -43866,7 +43866,7 @@
 #~ "elev_raster_to_g3d: Writing 3D raster map with depths %i rows %i cols %i "
 #~ "and count %i."
 #~ msgstr ""
-#~ "RasterToG3D(Raster vers Raster 3D) : créer %i couches rasters de "
+#~ "RasterToRASTER3D(Raster vers Raster 3D) : créer %i couches rasters de "
 #~ "dimensions lignes %i colonnes"
 
 # c-format
@@ -44361,11 +44361,11 @@
 #~ msgstr "Lecteur du fichier raster..."
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Impossible de créer un fichier masque : G3D_MASK existe déjà!\n"
-#~ "Utilisez 'g.remove rast3d=G3D_MASK' pour supprimer le masque existant."
+#~ "Impossible de créer un fichier masque : RASTER3D_MASK existe déjà!\n"
+#~ "Utilisez 'g.remove rast3d=RASTER3D_MASK' pour supprimer le masque existant."
 
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."
 #~ msgstr "Exporter une couche raster 3D GRASS vers un fichier 3D VIS-5D"
@@ -45743,7 +45743,7 @@
 #~ msgstr "Ligne d'historique trop longue : tronquée à %d caractères"
 
 #~ msgid "Name of output 3d raster map"
-#~ msgstr "Nom du fichier grille G3D en sortie"
+#~ msgstr "Nom du fichier grille RASTER3D en sortie"
 
 #, fuzzy
 #~ msgid "input layer name"

Modified: grass/trunk/locale/po/grassmods_hi.po
===================================================================
--- grass/trunk/locale/po/grassmods_hi.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_hi.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10135,7 +10135,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -29280,7 +29280,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30876,12 +30876,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "त्रुटि."
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -33350,7 +33350,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -33403,7 +33403,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33539,7 +33539,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "नहीं"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -33580,12 +33580,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr "डाटाटाइप."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "नहीं"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33752,7 +33752,7 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 "\n"
 " जी."
@@ -33773,7 +33773,7 @@
 msgstr "बिन्दु"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33957,7 +33957,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_it.po
===================================================================
--- grass/trunk/locale/po/grassmods_it.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_it.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9941,7 +9941,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -28508,7 +28508,7 @@
 
 #: ../raster/r.to.rast3/main.c:93
 #, fuzzy
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr "Usa una mask G3d (se esiste) con la mappa di output"
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30069,11 +30069,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32465,8 +32465,8 @@
 
 #: ../raster3d/r3.gwflow/main.c:127
 #, fuzzy
-msgid "Use G3D mask (if exists)"
-msgstr "Usa una mask G3D (se esiste)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Usa una mask RASTER3D (se esiste)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -32519,7 +32519,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32651,8 +32651,8 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
-msgstr "Impossibile chiudere la mappa G3D"
+msgid "Could not close RASTER3D map"
+msgstr "Impossibile chiudere la mappa RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -32689,13 +32689,13 @@
 msgstr "Mappa in uscita già esistente. Sarà sovrascritta!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "impossibile chiudere la mappa G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "impossibile chiudere la mappa RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -32843,10 +32843,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Impossibile creare la mask. MASK G3D già esistente!\n"
-"Usa il comando 'g.remove rast3d=G3D MASK' per rimuovere la maschera esistente"
+"Impossibile creare la mask. MASK RASTER3D già esistente!\n"
+"Usa il comando 'g.remove rast3d=RASTER3D MASK' per rimuovere la maschera esistente"
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -32861,8 +32861,8 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "Mappa/e G3D da convertire nel formato VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "Mappa/e RASTER3D da convertire nel formato VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 #, fuzzy
@@ -32901,7 +32901,7 @@
 
 #: ../raster3d/r3.out.vtk/parameters.c:117
 msgid "Use g3d mask (if exists) with input maps"
-msgstr "Utilizza maschera G3D (se esiste) con le mappe di input"
+msgstr "Utilizza maschera RASTER3D (se esiste) con le mappe di input"
 
 #: ../raster3d/r3.out.vtk/parameters.c:122
 msgid "Scale factor effects the origin"
@@ -33043,10 +33043,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Utilizza la stessa risoluzione della map G3D di input per la mappa output "
+"Utilizza la stessa risoluzione della map RASTER3D di input per la mappa output "
 "2D, indipendentemente dalle impostazioni attuali della region"
 
 #: ../raster3d/r3.to.rast/main.c:209
@@ -33423,8 +33423,8 @@
 #~ msgid "Could not open map %s"
 #~ msgstr "Impossibile aprire la mappa %s"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Converte una mappa raster 3D (G3D) nel formato VTK-Ascii"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Converte una mappa raster 3D (RASTER3D) nel formato VTK-Ascii"
 
 #, fuzzy
 #~ msgid "unable to close top raster map"
@@ -33447,11 +33447,11 @@
 #~ msgstr "raster, statistica, riclassificazione"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Impossibile creare la mask. MASK G3D già esistente!\n"
-#~ "Usa il comando 'g.remove rast3d=G3D MASK' per rimuovere la maschera "
+#~ "Impossibile creare la mask. MASK RASTER3D già esistente!\n"
+#~ "Usa il comando 'g.remove rast3d=RASTER3D MASK' per rimuovere la maschera "
 #~ "esistente"
 
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."

Modified: grass/trunk/locale/po/grassmods_ja.po
===================================================================
--- grass/trunk/locale/po/grassmods_ja.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_ja.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9945,7 +9945,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 "テンション (RST) アルゴリズムの正規化スプライン曲線を使って,ポイントデータを"
@@ -28593,8 +28593,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "出力マップとともにG3Dマスク(もしあれば)を使用してください"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "出力マップとともにRASTER3Dマスク(もしあれば)を使用してください"
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -30139,11 +30139,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr "入力マップに3Dグリッドマスクを使う"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "エラー:3Dグリッド倍精度浮動小数点値データを書き込めません"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32519,7 +32519,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr "(可能であれば)3Dグリッドマスクの使用"
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -32571,7 +32571,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32692,7 +32692,7 @@
 msgstr "Grid3 <%s> が見つかりません %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "3Dグリッドマップを閉じれません"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -32731,12 +32731,12 @@
 msgstr "出力マップが存在しています。上書きされます!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr "3Dグリッドのデータタイプが不正です。ラスターマップが作成できません"
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "3Dグリッドマップ <%s> が閉じれません"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -32881,7 +32881,7 @@
 msgstr "マスクするセル値一覧"
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -32899,7 +32899,7 @@
 "write_vtk_unstructured_grid_header: VTK非構造グリッドのヘッダを書出します"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr " VTK-ASCII データフォーマットに変換する3Dグリッドマップ"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33078,7 +33078,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 "現在の領域の設定とは無関係に、出力する2Dマップに入力3Dグリッドマップと同じ解"

Modified: grass/trunk/locale/po/grassmods_ko.po
===================================================================
--- grass/trunk/locale/po/grassmods_ko.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_ko.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9663,7 +9663,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -27759,7 +27759,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -29251,11 +29251,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -31591,7 +31591,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -31642,7 +31642,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -31762,7 +31762,7 @@
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -31799,12 +31799,12 @@
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr ""
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -31947,7 +31947,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -31963,7 +31963,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -32129,7 +32129,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_lv.po
===================================================================
--- grass/trunk/locale/po/grassmods_lv.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_lv.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10037,7 +10037,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -28762,7 +28762,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30301,12 +30301,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "Nevarēja atrast rastra failu %s"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32710,7 +32710,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -32763,7 +32763,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32890,7 +32890,7 @@
 msgstr "reģions <%s> nav atrasts"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -32928,12 +32928,12 @@
 msgstr "Izejas karte kurā tiks ierakstīti punkti"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr ""
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33078,7 +33078,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -33097,7 +33097,7 @@
 msgstr "Unix fails, kurš satur koordinātes"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33264,7 +33264,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_mr.po
===================================================================
--- grass/trunk/locale/po/grassmods_mr.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_mr.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9761,7 +9761,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -27964,7 +27964,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -29465,11 +29465,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -31827,7 +31827,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -31879,7 +31879,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32001,7 +32001,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "'%s'. ड्राइवर चालू होत नाही"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -32039,12 +32039,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr "'%s'. ड्राइवर चालू होत नाही"
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "'%s'. ड्राइवर चालू होत नाही"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -32187,7 +32187,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -32203,7 +32203,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -32372,7 +32372,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_pl.po
===================================================================
--- grass/trunk/locale/po/grassmods_pl.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_pl.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9902,7 +9902,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -28761,7 +28761,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -28858,7 +28858,7 @@
 #: ../raster/r.out.vtk/main.c:61
 #, fuzzy
 msgid "Converts raster maps into the VTK-ASCII format."
-msgstr "Konwertuje mapy rastrowe 3D GRASS-a (G3D) do formatu VTK-Ascii."
+msgstr "Konwertuje mapy rastrowe 3D GRASS-a (RASTER3D) do formatu VTK-Ascii."
 
 #: ../raster/r.out.vtk/main.c:72
 msgid ""
@@ -30305,12 +30305,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr "Użyj maski 3D (jeżeli istnieje) dla mapy wejściowej"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "błąd podczas odczytu danych rastrowych"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -32712,7 +32712,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr "Użyj maski 3D (jeżeli istnieje)"
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -32766,7 +32766,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32889,7 +32889,7 @@
 msgstr "Mapa rastrowa 3D <%s> nie została znaleziona w %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "Nie można zamknąć rastrowej mapy 3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -32928,13 +32928,13 @@
 msgstr "Mapa wyjściowa istnieje i zostanie nadpisana"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
 "Błędny typ danych w mapie rastrowej 3D. Nie można utworzyć mapy rastrowej"
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "Nie można zamknąć mapy rastrowej 3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33079,7 +33079,7 @@
 msgstr "Lista wartości do wymaskowania"
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -33095,7 +33095,7 @@
 msgstr "write_vtk_unstructured_grid_header: Zapis VTKUnstructuredGrid-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr "Mapa(y) rastrowa 3D do konwersji na format VTK ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33211,7 +33211,7 @@
 #: ../raster3d/r3.out.vtk/main.c:380
 #, fuzzy
 msgid "Converts 3D raster maps into the VTK-ASCII format."
-msgstr "Konwertuje mapy rastrowe 3D GRASS-a (G3D) do formatu VTK-Ascii."
+msgstr "Konwertuje mapy rastrowe 3D GRASS-a (RASTER3D) do formatu VTK-Ascii."
 
 #: ../raster3d/r3.out.vtk/main.c:391
 msgid "failed to interpret dp as an integer"
@@ -33273,7 +33273,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 "Dla map wyjściowych 2D użyj takiej samej rozdzielczości jak w mapach "

Modified: grass/trunk/locale/po/grassmods_pt.po
===================================================================
--- grass/trunk/locale/po/grassmods_pt.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_pt.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10357,7 +10357,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -25849,7 +25849,7 @@
 #: ../raster/r.what/main.c:196
 #, fuzzy, c-format
 msgid "can only do up to %d raster maps"
-msgstr "Nome do arquivo G3D de saída"
+msgstr "Nome do arquivo RASTER3D de saída"
 
 #: ../raster/r.what/main.c:212
 #, fuzzy, c-format
@@ -29913,8 +29913,8 @@
 
 #: ../raster/r.to.rast3/main.c:93
 #, fuzzy
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster/r.to.rast3/main.c:201
 #, fuzzy
@@ -31539,12 +31539,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "Erro lendo coringa."
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -34025,8 +34025,8 @@
 
 #: ../raster3d/r3.gwflow/main.c:127
 #, fuzzy
-msgid "Use G3D mask (if exists)"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -34079,7 +34079,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -34200,7 +34200,7 @@
 #: ../raster3d/r3.timestamp/r3.timestamp.main.c:53
 #, fuzzy
 msgid "Input grid3 filename"
-msgstr "Nome do G3D para entrada"
+msgstr "Nome do RASTER3D para entrada"
 
 #: ../raster3d/r3.timestamp/r3.timestamp.main.c:60
 msgid "Datetime, datetime1/datetime2, or none"
@@ -34213,7 +34213,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "Não consegui fechar o mapa"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -34234,7 +34234,7 @@
 #: ../raster3d/r3.cross.rast/main.c:109
 #, fuzzy
 msgid "Use g3d mask (if exists) with input map"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster3d/r3.cross.rast/main.c:232
 #, fuzzy
@@ -34257,12 +34257,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Tipo de dado G3D errado! Não consegui criar arquivo raster."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Tipo de dado RASTER3D errado! Não consegui criar arquivo raster."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "Não consegui fechar o mapa"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -34417,10 +34417,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Não consegui criar arqivo máscara: G3D_MASK já existe!\n"
-" Use 'g.remove rast3d=G3D_MASK' para remover a máscara existente."
+"Não consegui criar arqivo máscara: RASTER3D_MASK já existe!\n"
+" Use 'g.remove rast3d=RASTER3D_MASK' para remover a máscara existente."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 #, fuzzy
@@ -34439,7 +34439,7 @@
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
 #, fuzzy
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr "Mapa 3dcell para converter para formato VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -34487,7 +34487,7 @@
 #: ../raster3d/r3.out.vtk/parameters.c:117
 #, fuzzy
 msgid "Use g3d mask (if exists) with input maps"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster3d/r3.out.vtk/parameters.c:122
 #, fuzzy
@@ -34635,7 +34635,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 
@@ -36286,8 +36286,8 @@
 #~ msgid "Unable to access table <%s>"
 #~ msgstr "Não consegui abrir arquivo de saída <%s>."
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Converte mapas raster 3D (G3D) para o formato VTK-ASCII"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Converte mapas raster 3D (RASTER3D) para o formato VTK-ASCII"
 
 #, fuzzy
 #~ msgid "Import GDAL supported raster file into a binary raster map layer."
@@ -38821,27 +38821,27 @@
 
 #, fuzzy
 #~ msgid "A (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "B (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "C (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "D (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "E (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "F (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "Name for output grid3D volume"
@@ -41976,7 +41976,7 @@
 
 #, fuzzy
 #~ msgid "raster_to_g3d: Writing %i raster maps with rows %i cols."
-#~ msgstr "RasterToG3D: Escrevendo %i mapas raster com linhas %i colunas."
+#~ msgstr "RasterToRASTER3D: Escrevendo %i mapas raster com linhas %i colunas."
 
 #~ msgid "Writing g3d slice %i\n"
 #~ msgstr "Escrevendo fatia g3d %i\n"
@@ -42001,7 +42001,7 @@
 #~ msgid ""
 #~ "elev_raster_to_g3d: Writing 3D raster map with depths %i rows %i cols %i "
 #~ "and count %i."
-#~ msgstr "RasterToG3D: Escrevendo %i mapas raster com linhas %i colunas."
+#~ msgstr "RasterToRASTER3D: Escrevendo %i mapas raster com linhas %i colunas."
 
 #, fuzzy
 #~ msgid "Open 3d raster map %s\n"
@@ -42322,11 +42322,11 @@
 #~ msgstr "Lendo arquivo dig_att...\n"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Não consegui criar arqivo máscara: G3D_MASK já existe!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' para remover a máscara existente."
+#~ "Não consegui criar arqivo máscara: RASTER3D_MASK já existe!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' para remover a máscara existente."
 
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."
 #~ msgstr "Exporta um raster 3D do GRASS para um arquivo Vis5D"
@@ -43723,7 +43723,7 @@
 #~ msgstr "Histórico para"
 
 #~ msgid "Name of output 3d raster map"
-#~ msgstr "Nome do arquivo G3D de saída"
+#~ msgstr "Nome do arquivo RASTER3D de saída"
 
 #, fuzzy
 #~ msgid "input layer name"

Modified: grass/trunk/locale/po/grassmods_pt_br.po
===================================================================
--- grass/trunk/locale/po/grassmods_pt_br.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_pt_br.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10369,7 +10369,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -25858,7 +25858,7 @@
 #: ../raster/r.what/main.c:196
 #, fuzzy, c-format
 msgid "can only do up to %d raster maps"
-msgstr "Nome do arquivo G3D de saída"
+msgstr "Nome do arquivo RASTER3D de saída"
 
 #: ../raster/r.what/main.c:212
 #, fuzzy, c-format
@@ -29847,8 +29847,8 @@
 
 #: ../raster/r.to.rast3/main.c:93
 #, fuzzy
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster/r.to.rast3/main.c:201
 #, fuzzy
@@ -31457,12 +31457,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Usa máscara G3D (se existir) com o mapa de entrada"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Usa máscara RASTER3D (se existir) com o mapa de entrada"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "Erro lendo coringa."
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -33922,8 +33922,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Usa máscara G3D (se existir)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Usa máscara RASTER3D (se existir)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33974,7 +33974,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -34098,8 +34098,8 @@
 msgstr "Grid3 <%s> não encontrada %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Não consegui fechar o mapa G3D"
+msgid "Could not close RASTER3D map"
+msgstr "Não consegui fechar o mapa RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 #, fuzzy
@@ -34141,13 +34141,13 @@
 msgstr "Mapa de saída já existe. Será sobreescrito!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Tipo de dado G3D errado! Não consegui criar mapa raster."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Tipo de dado RASTER3D errado! Não consegui criar mapa raster."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Não consegui fechar mapa G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Não consegui fechar mapa RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -34293,10 +34293,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Não consegui criar arqivo máscara: G3D_MASK já existe!\n"
-" Use 'g.remove rast3d=G3D_MASK' para remover a máscara existente."
+"Não consegui criar arqivo máscara: RASTER3D_MASK já existe!\n"
+" Use 'g.remove rast3d=RASTER3D_MASK' para remover a máscara existente."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -34313,8 +34313,8 @@
 "write_vtk_unstructured_grid_header: Escrevendo VTKUnstructuredGrid-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "Mapa(s) G3D para serem convertidos para formato de dados VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "Mapa(s) RASTER3D para serem convertidos para formato de dados VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -34494,10 +34494,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Use a mesma resolução do mapa G3D de entrada para os mapas 2d de saída, "
+"Use a mesma resolução do mapa RASTER3D de entrada para os mapas 2d de saída, "
 "independente das cofigurações da região atual"
 
 #: ../raster3d/r3.to.rast/main.c:209
@@ -35071,8 +35071,8 @@
 #~ msgid "Could not open map %s"
 #~ msgstr "Não consegui abrir mapa %s"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Converte mapas raster 3D (G3D) para o formato VTK-ASCII"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Converte mapas raster 3D (RASTER3D) para o formato VTK-ASCII"
 
 #~ msgid "unable to close top raster map"
 #~ msgstr "Não consegui fechar mapa raster de topo"
@@ -35096,11 +35096,11 @@
 #~ msgstr "raster3d, voxel, estatísticas"
 
 #~ msgid ""
-#~ "Cannot create mask file: G3D_MASK already exists!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' to remove the existing mask."
+#~ "Cannot create mask file: RASTER3D_MASK already exists!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' to remove the existing mask."
 #~ msgstr ""
-#~ "Não consegui criar arqivo máscara: G3D_MASK já existe!\n"
-#~ " Use 'g.remove rast3d=G3D_MASK' para remover a máscara existente."
+#~ "Não consegui criar arqivo máscara: RASTER3D_MASK já existe!\n"
+#~ " Use 'g.remove rast3d=RASTER3D_MASK' para remover a máscara existente."
 
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."
 #~ msgstr "Exporta um raster 3D do GRASS para um arquivo Vis5D"
@@ -39258,27 +39258,27 @@
 
 #, fuzzy
 #~ msgid "A (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "B (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "C (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "D (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "E (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "F (grid3D file)"
-#~ msgstr "Nome do G3D para entrada"
+#~ msgstr "Nome do RASTER3D para entrada"
 
 #, fuzzy
 #~ msgid "Name for output grid3D volume"

Modified: grass/trunk/locale/po/grassmods_ru.po
===================================================================
--- grass/trunk/locale/po/grassmods_ru.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_ru.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10150,10 +10150,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Интерполировать точечные данные в G3D объемный грид, используя алгоритм "
+"Интерполировать точечные данные в RASTER3D объемный грид, используя алгоритм "
 "сплайн-интерполяции (RST) ."
 
 #: ../vector/v.vol.rst/main.c:253
@@ -29231,8 +29231,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Использовать маску G3D (если существует) для выходного слоя"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Использовать маску RASTER3D (если существует) для выходного слоя"
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -30804,12 +30804,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Использовать маску G3D (если существует) для вставляемого слоя"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Использовать маску RASTER3D (если существует) для вставляемого слоя"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "Ошибка записи данных G3D double"
+msgid "Error writing RASTER3D double data"
+msgstr "Ошибка записи данных RASTER3D double"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -33255,8 +33255,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Используйте G3D маски (если есть)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Используйте RASTER3D маски (если есть)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33309,7 +33309,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33433,8 +33433,8 @@
 msgstr "   Grid3 <%s> не найден %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Не закрыта карта G3D"
+msgid "Could not close RASTER3D map"
+msgstr "Не закрыта карта RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33472,13 +33472,13 @@
 msgstr "Выводимая карта уже существует. Она будет перезаписана!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Ошибочный G3D тип данных! Невозможно создать растровый слой."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Ошибочный RASTER3D тип данных! Невозможно создать растровый слой."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Не был закрыт слой G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Не был закрыт слой RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33624,10 +33624,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Невозможно создать файл маски: G3D_MASK уже существует!\n"
-"Используйте 'g.remove rast3d=G3D_MASK' для удаления существующей маски."
+"Невозможно создать файл маски: RASTER3D_MASK уже существует!\n"
+"Используйте 'g.remove rast3d=RASTER3D_MASK' для удаления существующей маски."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33644,8 +33644,8 @@
 "write_vtk_structured_elevation_header: Запись VTKUnstructuredGrid-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "G3D слой(-и) будет(-ут)  преобразован(ы) в формат данных VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "RASTER3D слой(-и) будет(-ут)  преобразован(ы) в формат данных VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33823,10 +33823,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Использовать такое же разрешение, как у входящего G3D слоя, для выходных 2D "
+"Использовать такое же разрешение, как у входящего RASTER3D слоя, для выходных 2D "
 "слоев; независимо от параметров областей"
 
 #: ../raster3d/r3.to.rast/main.c:209

Modified: grass/trunk/locale/po/grassmods_sl.po
===================================================================
--- grass/trunk/locale/po/grassmods_sl.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_sl.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10090,7 +10090,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -29078,7 +29078,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30648,12 +30648,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "Ne najdem vhodne datoteke %s\n"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -33134,7 +33134,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -33188,7 +33188,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33323,7 +33323,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "Ne morem najti vhodne datoteke <%s>\n"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -33366,12 +33366,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr "Tip zapisa izhodnega rastrskega sloja"
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "Ne morem najti vhodne datoteke <%s>\n"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33520,7 +33520,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -33536,7 +33536,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33711,7 +33711,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 
@@ -35078,7 +35078,7 @@
 #~ msgstr "ne morem odpreti <%s>"
 
 #, fuzzy
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
 #~ msgstr "Preoblikuje rastrski sloj v vektorskega."
 
 #, fuzzy

Modified: grass/trunk/locale/po/grassmods_th.po
===================================================================
--- grass/trunk/locale/po/grassmods_th.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_th.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10015,10 +10015,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"ข้อมูลจุดไม่เหมาะสม กับค่า G3D กริด ใช้ regularized spline กับ tension (RST) "
+"ข้อมูลจุดไม่เหมาะสม กับค่า RASTER3D กริด ใช้ regularized spline กับ tension (RST) "
 "algorithm."
 
 #: ../vector/v.vol.rst/main.c:253
@@ -28849,8 +28849,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "ใช้ G3D mask (ถ้ามี โดยไม่ต้องใช้แผนที่) "
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "ใช้ RASTER3D mask (ถ้ามี โดยไม่ต้องใช้แผนที่) "
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -28893,7 +28893,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "แผนที่ G3D ที่จะแปลง ไปเป็นแบบ  VTK-ASCII"
+msgstr "แผนที่ RASTER3D ที่จะแปลง ไปเป็นแบบ  VTK-ASCII"
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -30385,12 +30385,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "ใช้  G3D mask (ถ้ามี) กับแผนที่นำเข้า"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "ใช้  RASTER3D mask (ถ้ามี) กับแผนที่นำเข้า"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "ผิดพลาดขณะอ่าน ข้อมูล G3D double"
+msgid "Error writing RASTER3D double data"
+msgstr "ผิดพลาดขณะอ่าน ข้อมูล RASTER3D double"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -32841,8 +32841,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "ใช้ G3D mask (ถ้ามี)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "ใช้ RASTER3D mask (ถ้ามี)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -32894,7 +32894,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33016,8 +33016,8 @@
 msgstr "Grid3 <%s> ไม่พบ %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "ไม่สามารถปิดแผนที่ G3D"
+msgid "Could not close RASTER3D map"
+msgstr "ไม่สามารถปิดแผนที่ RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33053,13 +33053,13 @@
 msgstr "แผนที่ผลลัพธื มีอยู่แล้ว. จะเขียนทับ!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "G3D ผิดชนิด! ไม่สามารถสร้างแผนที่เชิงภาพ."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "RASTER3D ผิดชนิด! ไม่สามารถสร้างแผนที่เชิงภาพ."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "ไม่สามารถ ปิด แผนที่ G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "ไม่สามารถ ปิด แผนที่ RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33202,10 +33202,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"ไม่สามารถสร้าง mask ไฟล์: G3D_MASK มีอยู่แล้ว!\n"
-" ใช้ 'g.remove rast3d=G3D_MASK'  เพื่อที่จะเอา mask ออก."
+"ไม่สามารถสร้าง mask ไฟล์: RASTER3D_MASK มีอยู่แล้ว!\n"
+" ใช้ 'g.remove rast3d=RASTER3D_MASK'  เพื่อที่จะเอา mask ออก."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 #, fuzzy
@@ -33223,8 +33223,8 @@
 msgstr "write_vtk_structured_elevation_header: กำลังเขียน  VTK-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "แผนที่ G3D ที่จะแปลง ไปเป็นแบบ  VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "แผนที่ RASTER3D ที่จะแปลง ไปเป็นแบบ  VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33391,10 +33391,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"ใช้ความละเอียดเดียวกับ แผนที่ G3D สำหรับ แผนที่ผลลัพธ์ 2 มิติ, "
+"ใช้ความละเอียดเดียวกับ แผนที่ RASTER3D สำหรับ แผนที่ผลลัพธ์ 2 มิติ, "
 "โดยไม่ขึ้นอยู่กับการกำหนดขอบเขตปัจจุบัน"
 
 #: ../raster3d/r3.to.rast/main.c:209

Modified: grass/trunk/locale/po/grassmods_tr.po
===================================================================
--- grass/trunk/locale/po/grassmods_tr.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_tr.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9732,7 +9732,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -28136,7 +28136,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -29633,11 +29633,11 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -31963,7 +31963,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -32015,7 +32015,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -32136,8 +32136,8 @@
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "G3D haritası kapatılamıyor"
+msgid "Could not close RASTER3D map"
+msgstr "RASTER3D haritası kapatılamıyor"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -32173,13 +32173,13 @@
 msgstr "Çıktı harita zaten mevcut. Üzerine yazılacak!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
 msgstr ""
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "<%s> G3D haritası kapatılamıyor"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "<%s> RASTER3D haritası kapatılamıyor"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -32321,7 +32321,7 @@
 msgstr ""
 
 #: ../raster3d/base/r3.mask.main.c:158
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
@@ -32337,7 +32337,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -32503,7 +32503,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grassmods_vi.po
===================================================================
--- grass/trunk/locale/po/grassmods_vi.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_vi.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10111,10 +10111,10 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Nội suy dữ liệu điểm thành thể tích lưới G3D bằng cách dùng thuật toán đường "
+"Nội suy dữ liệu điểm thành thể tích lưới RASTER3D bằng cách dùng thuật toán đường "
 "spline chính tắc có sức căng (RST)."
 
 #: ../vector/v.vol.rst/main.c:253
@@ -25294,7 +25294,7 @@
 #: ../raster/r.what/main.c:196
 #, fuzzy, c-format
 msgid "can only do up to %d raster maps"
-msgstr "Tên của tập tin lưới G3D đầu ra"
+msgstr "Tên của tập tin lưới RASTER3D đầu ra"
 
 #: ../raster/r.what/main.c:212
 #, fuzzy, c-format
@@ -29238,8 +29238,8 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
-msgstr "Dùng mặt nạ G3D (nếu có) với bản đồ đầu ra"
+msgid "Use RASTER3D mask (if exists) with output map"
+msgstr "Dùng mặt nạ RASTER3D (nếu có) với bản đồ đầu ra"
 
 #: ../raster/r.to.rast3/main.c:201
 msgid "Converts 2D raster map slices to one 3D raster volume map."
@@ -29283,7 +29283,7 @@
 #: ../raster/r.out.vtk/parameters.c:34
 #, fuzzy
 msgid "Raster map(s) to be converted to VTK-ASCII data format"
-msgstr "Bản đồ G3D cần được đổi thành định dạng dữ liệu VTK-ASCII"
+msgstr "Bản đồ RASTER3D cần được đổi thành định dạng dữ liệu VTK-ASCII"
 
 #: ../raster/r.out.vtk/parameters.c:41 ../raster3d/r3.out.vtk/parameters.c:34
 msgid "Name for VTK-ASCII output file"
@@ -30805,12 +30805,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
-msgstr "Dùng mặt nạ G3D (nếu có) với bản đồ đầu vào"
+msgid "Use RASTER3D mask (if exists) with input map"
+msgstr "Dùng mặt nạ RASTER3D (nếu có) với bản đồ đầu vào"
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
-msgid "Error writing G3D double data"
-msgstr "Lỗi khi đang ghi dữ liệu G3D kiểu double"
+msgid "Error writing RASTER3D double data"
+msgstr "Lỗi khi đang ghi dữ liệu RASTER3D kiểu double"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
 #: ../raster3d/r3.in.v5d/main.c:195 ../raster3d/r3.retile/main.c:103
@@ -33245,8 +33245,8 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
-msgstr "Dùng mặt nạ G3D (nếu có)"
+msgid "Use RASTER3D mask (if exists)"
+msgstr "Dùng mặt nạ RASTER3D (nếu có)"
 
 #: ../raster3d/r3.gwflow/main.c:162
 #, fuzzy
@@ -33299,7 +33299,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33421,8 +33421,8 @@
 msgstr "Grid3 <%s> không thấy %s"
 
 #: ../raster3d/r3.cross.rast/main.c:55
-msgid "Could not close G3D map"
-msgstr "Không thể đóng bản đồ G3D"
+msgid "Could not close RASTER3D map"
+msgstr "Không thể đóng bản đồ RASTER3D"
 
 #: ../raster3d/r3.cross.rast/main.c:90
 msgid "Input 3D raster map for cross section."
@@ -33460,13 +33460,13 @@
 msgstr "Bản đồ đầu ra đã có. Sẽ bị ghi đè!"
 
 #: ../raster3d/r3.cross.rast/main.c:337
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "Kiểu dữ liệu G3D bị sai! Không thể tạo bản đồ raster."
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "Kiểu dữ liệu RASTER3D bị sai! Không thể tạo bản đồ raster."
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, c-format
-msgid "Could not close G3D map <%s>"
-msgstr "Không thể đóng bản đồ G3D <%s>"
+msgid "Could not close RASTER3D map <%s>"
+msgstr "Không thể đóng bản đồ RASTER3D <%s>"
 
 #: ../raster3d/r3.mkdspf/main.c:82
 msgid ""
@@ -33611,10 +33611,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"Không thể tạo tập tin mặt nạ: G3D_MASK đã tồn tại!\n"
-" Dùng 'g.remove rast3d=G3D_MASK' để loại bỏ mặt nạ hiện có."
+"Không thể tạo tập tin mặt nạ: RASTER3D_MASK đã tồn tại!\n"
+" Dùng 'g.remove rast3d=RASTER3D_MASK' để loại bỏ mặt nạ hiện có."
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33630,8 +33630,8 @@
 "write_vtk_unstructured_grid_header: Đang ghi VTKUnstructuredGrid-Header"
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
-msgstr "Bản đồ G3D cần được đổi thành định dạng dữ liệu VTK-ASCII"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
+msgstr "Bản đồ RASTER3D cần được đổi thành định dạng dữ liệu VTK-ASCII"
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
 msgid "Float value to represent no data cell/points"
@@ -33807,10 +33807,10 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
-"Dùng cùng độ phân giải với bản đồ G3D đầu vào cho các bản đồ 2D đầu ra, "
+"Dùng cùng độ phân giải với bản đồ RASTER3D đầu vào cho các bản đồ 2D đầu ra, "
 "không phụ thuộc vào thiết lập vùng hiện tại."
 
 #: ../raster3d/r3.to.rast/main.c:209

Modified: grass/trunk/locale/po/grassmods_zh.po
===================================================================
--- grass/trunk/locale/po/grassmods_zh.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grassmods_zh.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -10115,7 +10115,7 @@
 
 #: ../vector/v.vol.rst/main.c:245
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 
@@ -25079,7 +25079,7 @@
 #: ../raster/r.what/main.c:196
 #, fuzzy, c-format
 msgid "can only do up to %d raster maps"
-msgstr "输出的 G3D grid 文件名称"
+msgstr "输出的 RASTER3D grid 文件名称"
 
 #: ../raster/r.what/main.c:212
 #, fuzzy, c-format
@@ -28994,7 +28994,7 @@
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:93
-msgid "Use G3D mask (if exists) with output map"
+msgid "Use RASTER3D mask (if exists) with output map"
 msgstr ""
 
 #: ../raster/r.to.rast3/main.c:201
@@ -30587,12 +30587,12 @@
 
 #: ../raster/r.to.rast3elev/main.c:194 ../raster3d/r3.out.ascii/main.c:124
 #: ../raster3d/r3.to.rast/main.c:91
-msgid "Use G3D mask (if exists) with input map"
+msgid "Use RASTER3D mask (if exists) with input map"
 msgstr ""
 
 #: ../raster/r.to.rast3elev/main.c:287 ../raster/r.to.rast3elev/main.c:320
 #, fuzzy
-msgid "Error writing G3D double data"
+msgid "Error writing RASTER3D double data"
 msgstr "读取地图 %s 时发生错误"
 
 #: ../raster/r.to.rast3elev/main.c:363 ../raster3d/r3.gwflow/main.c:160
@@ -33024,7 +33024,7 @@
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:127
-msgid "Use G3D mask (if exists)"
+msgid "Use RASTER3D mask (if exists)"
 msgstr ""
 
 #: ../raster3d/r3.gwflow/main.c:162
@@ -33078,7 +33078,7 @@
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:104
-msgid "Retiles an existing G3D map with user defined x, y and z tile size"
+msgid "Retiles an existing RASTER3D map with user defined x, y and z tile size"
 msgstr ""
 
 #: ../raster3d/r3.retile/main.c:113 ../raster3d/r3.to.rast/main.c:218
@@ -33210,7 +33210,7 @@
 
 #: ../raster3d/r3.cross.rast/main.c:55
 #, fuzzy
-msgid "Could not close G3D map"
+msgid "Could not close RASTER3D map"
 msgstr "无法关闭地图"
 
 #: ../raster3d/r3.cross.rast/main.c:90
@@ -33250,12 +33250,12 @@
 
 #: ../raster3d/r3.cross.rast/main.c:337
 #, fuzzy
-msgid "Wrong G3D Datatype! Cannot create raster map."
-msgstr "错误的 G3D 数据类型!无法创建栅格地图。"
+msgid "Wrong RASTER3D Datatype! Cannot create raster map."
+msgstr "错误的 RASTER3D 数据类型!无法创建栅格地图。"
 
 #: ../raster3d/r3.cross.rast/main.c:342
 #, fuzzy, c-format
-msgid "Could not close G3D map <%s>"
+msgid "Could not close RASTER3D map <%s>"
 msgstr "无法关闭地图"
 
 #: ../raster3d/r3.mkdspf/main.c:82
@@ -33405,10 +33405,10 @@
 
 #: ../raster3d/base/r3.mask.main.c:158
 #, fuzzy
-msgid "Cannot create mask file: G3D_MASK already exists"
+msgid "Cannot create mask file: RASTER3D_MASK already exists"
 msgstr ""
-"无法生成掩模文件:G3D_MASK 已经存在!\n"
-"请先使用 'g.remove rast3d=G3D_MASK' 删除已有的掩模文件。"
+"无法生成掩模文件:RASTER3D_MASK 已经存在!\n"
+"请先使用 'g.remove rast3d=RASTER3D_MASK' 删除已有的掩模文件。"
 
 #: ../raster3d/r3.out.vtk/writeVTKHead.c:40
 msgid "write_vtk_structured_point_header: Writing VTKStructuredPoint-Header"
@@ -33423,7 +33423,7 @@
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:30
-msgid "G3D map(s) to be converted to VTK-ASCII data format"
+msgid "RASTER3D map(s) to be converted to VTK-ASCII data format"
 msgstr ""
 
 #: ../raster3d/r3.out.vtk/parameters.c:41
@@ -33601,7 +33601,7 @@
 
 #: ../raster3d/r3.to.rast/main.c:96
 msgid ""
-"Use the same resolution as the input G3D map for the 2d output maps, "
+"Use the same resolution as the input RASTER3D map for the 2d output maps, "
 "independent of the current region settings"
 msgstr ""
 

Modified: grass/trunk/locale/po/grasswxpy_cs.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_cs.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_cs.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4723,10 +4723,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpoluje bodová data do G3D 3D rastrové grid vrstvy za pou¾ití "
+"Interpoluje bodová data do RASTER3D 3D rastrové grid vrstvy za pou¾ití "
 "regularized spline with tension (RST)"
 
 #: ../gui/wxpython/menustrings.py:804
@@ -14048,8 +14048,8 @@
 #~ "Exportuje GRASS rastr do formátu TIFF 8/24bit v rozli¹ení daném aktuálním "
 #~ "regionem."
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Pøevede 3D rastrové mapy (G3D) do formátu VTK-Ascii"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Pøevede 3D rastrové mapy (RASTER3D) do formátu VTK-Ascii"
 
 #~ msgid ""
 #~ "Makes each cell value a function of the attribute values assigned to the "

Modified: grass/trunk/locale/po/grasswxpy_de.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_de.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_de.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1716,7 +1716,7 @@
 #: ../gui/wxpython/menustrings.py:147
 #, fuzzy
 msgid "Converts 3D raster maps into the VTK-ASCII format."
-msgstr "Konvertiert eine 3D-Rasterkarte (G3D) in das VTK-ASCII-Format."
+msgstr "Konvertiert eine 3D-Rasterkarte (RASTER3D) in das VTK-ASCII-Format."
 
 #: ../gui/wxpython/menustrings.py:148
 msgid "Export database table"
@@ -4747,10 +4747,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpoliert Punkte zu einem G3D Grid Volumen unter Verwendung des "
+"Interpoliert Punkte zu einem RASTER3D Grid Volumen unter Verwendung des "
 "regularized spline with tension (RST) Algorithmus."
 
 #: ../gui/wxpython/menustrings.py:804
@@ -13255,8 +13255,8 @@
 #~ msgstr ""
 #~ "Exportiert eine GRASS 3D Rasterkarte in eine 3-dimensionale Vis5D Datei"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Konvertiert eine 3D-Rasterkarte (G3D) in das VTK-ASCII-Format."
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Konvertiert eine 3D-Rasterkarte (RASTER3D) in das VTK-ASCII-Format."
 
 #~ msgid "Multiple export formats using OGR"
 #~ msgstr "Vektorexport über OGR"

Modified: grass/trunk/locale/po/grasswxpy_el.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_el.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_el.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4324,7 +4324,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 

Modified: grass/trunk/locale/po/grasswxpy_es.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_es.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_es.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4786,10 +4786,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Interpola datos de puntos a volumen de cuadrícula G3D usando una spline "
+"Interpola datos de puntos a volumen de cuadrícula RASTER3D usando una spline "
 "regularizada con el algoritmo de tensión (RST)."
 
 #: ../gui/wxpython/menustrings.py:804
@@ -13822,8 +13822,8 @@
 #~ "Exporta un mapa raster de GRASS a una imagen TIFF de 8/24 bits a la "
 #~ "resolución de píxel de la región definida actualmente."
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Convierte mapas raster 3D (G3D) al formato VTK-ASCII."
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Convierte mapas raster 3D (RASTER3D) al formato VTK-ASCII."
 
 #~ msgid ""
 #~ "Makes each cell value a function of the attribute values assigned to the "

Modified: grass/trunk/locale/po/grasswxpy_fr.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_fr.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_fr.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4684,7 +4684,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 

Modified: grass/trunk/locale/po/grasswxpy_id.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_id.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_id.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4861,7 +4861,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 "Interpolasi data titik dari sebuah volume grid 3D dengan algoritma "

Modified: grass/trunk/locale/po/grasswxpy_it.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_it.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_it.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4202,7 +4202,7 @@
 msgstr "Interpolate volume da punti"
 
 #: ../gui/wxpython/menustrings.py:803
-msgid "Interpolates point data to a G3D grid volume using regularized spline with tension (RST) algorithm."
+msgid "Interpolates point data to a RASTER3D grid volume using regularized spline with tension (RST) algorithm."
 msgstr ""
 
 #: ../gui/wxpython/menustrings.py:804
@@ -12045,8 +12045,8 @@
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."
 #~ msgstr "Esporta raster GRASS 3D in un file Vis5D tridimensionale"
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Converte raster 3D (G3D) in formato VTK-Ascii"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Converte raster 3D (RASTER3D) in formato VTK-Ascii"
 
 #~ msgid "Lists available GRASS data base files of the user-specified data type to standard output."
 #~ msgstr "Lista dei file del database di GRASS disponibili secondo il tipo specificato dall'utente."

Modified: grass/trunk/locale/po/grasswxpy_ja.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_ja.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_ja.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4665,7 +4665,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 "テンション(RST)アルゴリズムによる正規化スプライン曲線を使用して3Dグリッ"

Modified: grass/trunk/locale/po/grasswxpy_ml.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_ml.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_ml.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4431,7 +4431,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 

Modified: grass/trunk/locale/po/grasswxpy_pl.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_pl.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_pl.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4586,9 +4586,9 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
-msgstr "Interpoluje dane punktowe do G3D za pomocÄ… algorytmu RST."
+msgstr "Interpoluje dane punktowe do RASTER3D za pomocÄ… algorytmu RST."
 
 #: ../gui/wxpython/menustrings.py:804
 msgid "Report and Statistics"
@@ -12823,7 +12823,7 @@
 #~ msgid "Export of GRASS 3D raster map to 3-dimensional Vis5D file."
 #~ msgstr "Eksportuje raster 3D GRASS-a do trójwymiarowego pliku Vis5D."
 
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
 #~ msgstr "Konwertuje mapÄ™ rastrowÄ… 3D GRASS-a do formatu VTK-Ascii."
 
 #, fuzzy

Modified: grass/trunk/locale/po/grasswxpy_pt.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_pt.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_pt.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5072,9 +5072,9 @@
 #: ../gui/wxpython/menustrings.py:803
 #, fuzzy
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
-msgstr "Interpola datos de puntos a volumen de cuadrícula G3D usando"
+msgstr "Interpola datos de puntos a volumen de cuadrícula RASTER3D usando"
 
 #: ../gui/wxpython/menustrings.py:804
 msgid "Report and Statistics"

Modified: grass/trunk/locale/po/grasswxpy_pt_br.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_pt_br.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_pt_br.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5249,9 +5249,9 @@
 #: ../gui/wxpython/menustrings.py:803
 #, fuzzy
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
-msgstr "Interpola datos de puntos a volumen de cuadrícula G3D usando"
+msgstr "Interpola datos de puntos a volumen de cuadrícula RASTER3D usando"
 
 #: ../gui/wxpython/menustrings.py:804
 #, fuzzy
@@ -14134,8 +14134,8 @@
 #~ "resolución de píxel de la región definida actualmente."
 
 #, fuzzy
-#~ msgid "Converts 3D raster maps (G3D) into the VTK-Ascii format"
-#~ msgstr "Convierte mapas ráster 3D (G3D) en formato VTK-ASCII"
+#~ msgid "Converts 3D raster maps (RASTER3D) into the VTK-Ascii format"
+#~ msgstr "Convierte mapas ráster 3D (RASTER3D) en formato VTK-ASCII"
 
 #, fuzzy
 #~ msgid "Change default GUI"

Modified: grass/trunk/locale/po/grasswxpy_ru.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_ru.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_ru.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4836,10 +4836,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Интерполировать точечные данные в G3D объемный грид, используя алгоритм "
+"Интерполировать точечные данные в RASTER3D объемный грид, используя алгоритм "
 "сплайн-интерполяции (RST)."
 
 #: ../gui/wxpython/menustrings.py:804

Modified: grass/trunk/locale/po/grasswxpy_th.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_th.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_th.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4561,10 +4561,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"ข้อมูลจุดไม่เหมาะสม กับค่า G3D กริด ใช้ regularized spline กับ tension (RST) "
+"ข้อมูลจุดไม่เหมาะสม กับค่า RASTER3D กริด ใช้ regularized spline กับ tension (RST) "
 "algorithm."
 
 #: ../gui/wxpython/menustrings.py:804

Modified: grass/trunk/locale/po/grasswxpy_tr.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_tr.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_tr.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4750,7 +4750,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 

Modified: grass/trunk/locale/po/grasswxpy_vi.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_vi.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_vi.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4845,10 +4845,10 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
-"Nội suy dữ liệu điểm thành thể tích lưới G3D bằng cách dùng thuật toán đường "
+"Nội suy dữ liệu điểm thành thể tích lưới RASTER3D bằng cách dùng thuật toán đường "
 "spline chính tắc có sức căng (RST)."
 
 #: ../gui/wxpython/menustrings.py:804

Modified: grass/trunk/locale/po/grasswxpy_zh.po
===================================================================
--- grass/trunk/locale/po/grasswxpy_zh.po	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/locale/po/grasswxpy_zh.po	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4553,7 +4553,7 @@
 
 #: ../gui/wxpython/menustrings.py:803
 msgid ""
-"Interpolates point data to a G3D grid volume using regularized spline with "
+"Interpolates point data to a RASTER3D grid volume using regularized spline with "
 "tension (RST) algorithm."
 msgstr ""
 

Modified: grass/trunk/raster/r.colors/Makefile
===================================================================
--- grass/trunk/raster/r.colors/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.colors/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,7 +1,7 @@
 MODULE_TOPDIR = ../..
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP) $(RASTERDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP) $(RASTERDEP)
 
 PROGRAMS = r.colors r3.colors
 

Modified: grass/trunk/raster/r.colors/stats.c
===================================================================
--- grass/trunk/raster/r.colors/stats.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.colors/stats.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -53,7 +53,7 @@
     DCELL *dcell = NULL;
     int row, col, depth, nrows, ncols, ndepths = 1;
     int fd;
-    G3D_Map *map3d = NULL;
+    RASTER3D_Map *map3d = NULL;
 
     if (type == RASTER_TYPE) {
         fd = Rast_open_old(name, mapset);
@@ -64,8 +64,8 @@
         /* Initiate the default settings */
         G3d_initDefaults();
 
-        map3d = G3d_openCellOld(name, mapset, G3D_DEFAULT_WINDOW,
-                G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+        map3d = G3d_openCellOld(name, mapset, RASTER3D_DEFAULT_WINDOW,
+                RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
         if (map3d == NULL)
             G3d_fatalError(_("Error opening 3d raster map"));

Modified: grass/trunk/raster/r.colors.out/Makefile
===================================================================
--- grass/trunk/raster/r.colors.out/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.colors.out/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,8 +1,8 @@
 MODULE_TOPDIR = ../..
 
 LIBES2 = $(RASTERLIB) $(GISLIB)
-LIBES3 = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP) $(RASTERDEP)
+LIBES3 = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP) $(RASTERDEP)
 
 PROGRAMS = r.colors.out r3.colors.out
 

Modified: grass/trunk/raster/r.mapcalc/Makefile
===================================================================
--- grass/trunk/raster/r.mapcalc/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.mapcalc/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -13,7 +13,7 @@
 
 EXTRA_CFLAGS = $(READLINEINCPATH) $(PTHREADINCPATH)
 LIBES2 =           $(GISLIB) $(RASTERLIB) $(BTREELIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB) $(PTHREADLIBPATH) $(PTHREADLIB)
-LIBES3 = $(G3DLIB) $(GISLIB) $(RASTERLIB) $(BTREELIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB) $(PTHREADLIBPATH) $(PTHREADLIB)
+LIBES3 = $(RASTER3DLIB) $(GISLIB) $(RASTERLIB) $(BTREELIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB) $(PTHREADLIBPATH) $(PTHREADLIB)
 
 default: multi
 

Modified: grass/trunk/raster/r.mapcalc/globals3.h
===================================================================
--- grass/trunk/raster/r.mapcalc/globals3.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.mapcalc/globals3.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4,6 +4,6 @@
 
 #include <grass/raster3d.h>
 
-extern G3D_Region current_region3;
+extern RASTER3D_Region current_region3;
 
 #endif /* __GLOBALS3_H_ */

Modified: grass/trunk/raster/r.mapcalc/map3.c
===================================================================
--- grass/trunk/raster/r.mapcalc/map3.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.mapcalc/map3.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -17,7 +17,7 @@
 
 /****************************************************************************/
 
-G3D_Region current_region3;
+RASTER3D_Region current_region3;
 
 void setup_region(void)
 {
@@ -398,7 +398,7 @@
 
 	    setup_region();	/* TODO: setup_region should be called by evaluate() ? */
 	    handle = G3d_openCellOld(tmpname, mapset, &current_region3,
-				     G3D_TILE_SAME_AS_FILE, G3D_NO_CACHE);
+				     RASTER3D_TILE_SAME_AS_FILE, RASTER3D_NO_CACHE);
 	    result = (G3d_fileTypeMap(handle) == FCELL_TYPE)
 		? FCELL_TYPE : DCELL_TYPE;
 	    G3d_closeCell(handle);
@@ -507,7 +507,7 @@
 
     m->handle = G3d_openCellOld((char *)name, (char *)mapset,
 				&current_region3, DCELL_TYPE,
-				G3D_USE_CACHE_DEFAULT);
+				RASTER3D_USE_CACHE_DEFAULT);
 
     if (!m->handle)
 	G_fatal_error(_("Unable to open raster map <%s>"), name);
@@ -580,7 +580,7 @@
 
     G3d_setFileType(res_type == FCELL_TYPE ? FCELL_TYPE : DCELL_TYPE);
 
-    handle = G3d_openNewOptTileSize((char *)name, G3D_USE_CACHE_XYZ, &current_region3, res_type == FCELL_TYPE ? FCELL_TYPE : DCELL_TYPE, 32);
+    handle = G3d_openNewOptTileSize((char *)name, RASTER3D_USE_CACHE_XYZ, &current_region3, res_type == FCELL_TYPE ? FCELL_TYPE : DCELL_TYPE, 32);
 
     if (!handle)
 	G_fatal_error(_("Unable to create raster map <%s>"), name);

Modified: grass/trunk/raster/r.mapcalc/xcoor3.c
===================================================================
--- grass/trunk/raster/r.mapcalc/xcoor3.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.mapcalc/xcoor3.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -14,7 +14,7 @@
 
 int f_x(int argc, const int *argt, void **args)
 {
-    G3D_Region *window = &current_region3;
+    RASTER3D_Region *window = &current_region3;
     DCELL *res = args[0];
     DCELL x;
     int i;
@@ -37,7 +37,7 @@
 
 int f_y(int argc, const int *argt, void **args)
 {
-    G3D_Region *window = &current_region3;
+    RASTER3D_Region *window = &current_region3;
     DCELL *res = args[0];
     DCELL y;
     int i;
@@ -58,7 +58,7 @@
 
 int f_z(int argc, const int *argt, void **args)
 {
-    G3D_Region *window = &current_region3;
+    RASTER3D_Region *window = &current_region3;
     DCELL *res = args[0];
     DCELL z;
     int i;

Modified: grass/trunk/raster/r.to.rast3/Makefile
===================================================================
--- grass/trunk/raster/r.to.rast3/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.to.rast3/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r.to.rast3
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster/r.to.rast3/main.c
===================================================================
--- grass/trunk/raster/r.to.rast3/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.to.rast3/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -38,7 +38,7 @@
 /*- prototypes --------------------------------------------------------------*/
 void fatal_error(void *map, int *fd, int depths, char *errorMsg); /*Simple Error message */
 void set_params(); /*Fill the paramType structure */
-void raster_to_g3d(void *map, G3D_Region region, int *fd); /*Write the raster */
+void raster_to_g3d(void *map, RASTER3D_Region region, int *fd); /*Write the raster */
 int open_input_raster_map(const char *name); /*opens the outputmap */
 void close_input_raster_map(int fd); /*close the map */
 
@@ -90,17 +90,17 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists) with output map");
+    param.mask->description = _("Use RASTER3D mask (if exists) with output map");
 
 }
 
 
 
 /* ************************************************************************* */
-/* Write the raster maps into one G3D map ********************************** */
+/* Write the raster maps into one RASTER3D map ********************************** */
 
 /* ************************************************************************* */
-void raster_to_g3d(void *map, G3D_Region region, int *fd)
+void raster_to_g3d(void *map, RASTER3D_Region region, int *fd)
 {
     int x, y, z;
     int rows, cols, depths;
@@ -173,12 +173,12 @@
 
 
 /* ************************************************************************* */
-/* Main function, open the raster maps and create the G3D raster map ******* */
+/* Main function, open the raster maps and create the RASTER3D raster map ******* */
 
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {
-    G3D_Region region;
+    RASTER3D_Region region;
     struct Cell_head window2d;
     struct GModule *module;
     void *map = NULL; /*The 3D Rastermap */
@@ -285,7 +285,7 @@
     else
         globalG3dMapType = FCELL_TYPE;
 
-    map = G3d_openNewOptTileSize(param.output->answer, G3D_USE_CACHE_XY, &region, globalG3dMapType, maxSize);
+    map = G3d_openNewOptTileSize(param.output->answer, RASTER3D_USE_CACHE_XY, &region, globalG3dMapType, maxSize);
 
     if (map == NULL)
         fatal_error(map, fd, opencells, _("Error opening 3d raster map"));
@@ -301,7 +301,7 @@
         }
     }
 
-    /*Create the G3D Rastermap */
+    /*Create the RASTER3D Rastermap */
     raster_to_g3d(map, region, fd);
 
     /*We set the Mask off, if it was off before */

Modified: grass/trunk/raster/r.to.rast3/r.to.rast3.html
===================================================================
--- grass/trunk/raster/r.to.rast3/r.to.rast3.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.to.rast3/r.to.rast3.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-Converts 2D raster map(s) into one G3D raster map. 
+Converts 2D raster map(s) into one RASTER3D raster map. 
 If the 2d and 3d region settings are different,
 the 2d resolution will be adjust to the 3d resolution.
 
@@ -15,11 +15,11 @@
 
 
 <h2>NOTES</h2>
-Every 2D raster map is copied as one slice to the G3D raster map. Slices
+Every 2D raster map is copied as one slice to the RASTER3D raster map. Slices
 are counted from bottom to the top, so the bottom slice has to be number 1. 
 <br><br>
 If fewer 2D raster maps are provided than depths, the last give 2D map is
-used to fill up the  G3D slices to the top.
+used to fill up the  RASTER3D slices to the top.
 
 <h2>EXAMPLES</h2>
 

Modified: grass/trunk/raster/r.to.rast3elev/Makefile
===================================================================
--- grass/trunk/raster/r.to.rast3elev/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.to.rast3elev/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r.to.rast3elev
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster/r.to.rast3elev/main.c
===================================================================
--- grass/trunk/raster/r.to.rast3elev/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.to.rast3elev/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -50,7 +50,7 @@
 /*- prototypes --------------------------------------------------------------*/
 void fatal_error(Database db, char *errorMsg); /*Simple Error message */
 void set_params(); /*Fill the paramType structure */
-void elev_raster_to_g3d(Database db, G3D_Region region); /*Write the raster */
+void elev_raster_to_g3d(Database db, RASTER3D_Region region); /*Write the raster */
 int open_input_raster_map(const char *name); /*opens the outputmap */
 void close_input_raster_map(int fd); /*close the map */
 double get_raster_value_as_double(int maptype, void *ptr, double nullval);
@@ -191,16 +191,16 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists) with input map");
+    param.mask->description = _("Use RASTER3D mask (if exists) with input map");
 
     return;
 }
 
 /* ************************************************************************* */
-/* Write the raster maps into the G3D map *********************************** */
+/* Write the raster maps into the RASTER3D map *********************************** */
 
 /* ************************************************************************* */
-void elev_raster_to_g3d(Database db, G3D_Region region)
+void elev_raster_to_g3d(Database db, RASTER3D_Region region)
 {
     int x, y, z = 0;
     int rows, cols, depths;
@@ -254,7 +254,7 @@
                     "Caluclating position in 3d region -> height %g with value %g",
                     height, inval);
 
-            /* Calculate if the G3D cell is lower or upper the elevation map
+            /* Calculate if the RASTER3D cell is lower or upper the elevation map
              *  and set the value.*/
             if (db.count == 0) {
                 /*Use this method if the 3d raster map was not touched befor */
@@ -278,13 +278,13 @@
                     if (height >= (z * tbres + bottom) &&
                         height <= ((z + 1) * tbres + bottom))
                         value = inval;
-                    /*If the elevation is null, set the G3D value null */
+                    /*If the elevation is null, set the RASTER3D value null */
                     if (G3d_isNullValueNum(&height, DCELL_TYPE))
                         value = null;
 
                     /*Write the value to the 3D map */
                     if (G3d_putDouble(db.map, x, y, z, value) < 0)
-                        fatal_error(db, _("Error writing G3D double data"));
+                        fatal_error(db, _("Error writing RASTER3D double data"));
                 }
             } else {
                 /*Use this method for every following 3d raster maps access */
@@ -311,13 +311,13 @@
                     if (height >= (z * tbres + bottom) &&
                         height <= ((z + 1) * tbres + bottom))
                         value = inval;
-                    /*If the elevation is null, set the G3D value null */
+                    /*If the elevation is null, set the RASTER3D value null */
                     if (G3d_isNullValueNum(&height, DCELL_TYPE))
                         value = G3d_getDouble(db.map, x, y, z);
 
                     /*Write the value to the 3D map */
                     if (G3d_putDouble(db.map, x, y, z, value) < 0)
-                        fatal_error(db, _("Error writing G3D double data"));
+                        fatal_error(db, _("Error writing RASTER3D double data"));
 
                 }
             }
@@ -333,12 +333,12 @@
 }
 
 /* ************************************************************************* */
-/* Main function, open the raster maps and create the G3D raster maps ****** */
+/* Main function, open the raster maps and create the RASTER3D raster maps ****** */
 
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {
-    G3D_Region region;
+    RASTER3D_Region region;
     struct Cell_head window2d;
     struct GModule *module;
     int cols, rows, i;
@@ -435,9 +435,9 @@
 
     G_debug(2, "Open 3d raster map %s", param.output->answer);
 
-    /*open G3D output map */
+    /*open RASTER3D output map */
     db.map = NULL;
-    db.map = G3d_openNewOptTileSize(param.output->answer, G3D_USE_CACHE_XY, &region, DCELL_TYPE, maxSize);
+    db.map = G3d_openNewOptTileSize(param.output->answer, RASTER3D_USE_CACHE_XY, &region, DCELL_TYPE, maxSize);
 
     if (db.map == NULL)
         fatal_error(db, _("Error opening 3d raster map"));
@@ -475,7 +475,7 @@
         db.elevmaptype = Rast_map_type(name, "");
 
         /****************************************/
-        /*Write the data into the G3D Rastermap */
+        /*Write the data into the RASTER3D Rastermap */
         elev_raster_to_g3d(db, region);
 
         /*****************************************/

Modified: grass/trunk/raster/r.univar/Makefile
===================================================================
--- grass/trunk/raster/r.univar/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.univar/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 MODULE_TOPDIR = ../..
 
 LIBES2 = $(RASTERLIB) $(GISLIB) $(MATHLIB)
-LIBES3 = $(G3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP) $(RASTERDEP)
+LIBES3 = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP) $(RASTERDEP)
 
 PROGRAMS = r.univar r3.univar
 

Modified: grass/trunk/raster/r.univar/r3.univar_main.c
===================================================================
--- grass/trunk/raster/r.univar/r3.univar_main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/r.univar/r3.univar_main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -83,7 +83,7 @@
 
     char *infile, *zonemap;
     void *map, *zmap = NULL;
-    G3D_Region region;
+    RASTER3D_Region region;
     unsigned int i;
     unsigned int rows, cols, depths;
     unsigned int x, y, z;
@@ -148,7 +148,7 @@
 
 	zmap =
 	    G3d_openCellOld(zonemap, G_find_grid3(zonemap, ""), &region,
-			    G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+			    RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
 	if (zmap == NULL)
 	    G3d_fatalError(_("Error opening g3d map <%s>"), zonemap);
@@ -187,7 +187,7 @@
 
     map =
 	G3d_openCellOld(infile, G_find_grid3(infile, ""), &region,
-			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+			RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
 	G3d_fatalError(_("Error opening g3d map <%s>"), infile);

Modified: grass/trunk/raster/rasterintro.html
===================================================================
--- grass/trunk/raster/rasterintro.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster/rasterintro.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -251,7 +251,7 @@
 called "raster", their integer data type "CELL", single-precision
 floating-point data type "FCELL" and double-precision floating-point
 "DCELL". The 3D raster map type is usually called "3D raster" but other
-names like "G3D", "voxel", "volume", "GRID3D" or "3d cell" are common.
+names like "RASTER3D", "voxel", "volume", "GRID3D" or "3d cell" are common.
 3D raster's single-precision data type is most often called "float", and the
 double-precision one "double".
 

Modified: grass/trunk/raster3d/r3.cross.rast/Makefile
===================================================================
--- grass/trunk/raster3d/r3.cross.rast/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.cross.rast/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.cross.rast
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.cross.rast/main.c
===================================================================
--- grass/trunk/raster3d/r3.cross.rast/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.cross.rast/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
  * AUTHOR(S):    Original author 
  *               Soeren Gebbert soerengebbert at gmx de
  * 		23 Feb 2006 Berlin
- * PURPOSE:      Creates a cross section 2D map from one G3D raster map based on a 2D elevation map  
+ * PURPOSE:      Creates a cross section 2D map from one RASTER3D raster map based on a 2D elevation map  
  *
  * COPYRIGHT:    (C) 2005 by the GRASS Development Team
  *
@@ -37,7 +37,7 @@
 /*- prototypes --------------------------------------------------------------*/
 void fatal_error(void *map, int elevfd, int outfd, char *errorMsg); /*Simple Error message */
 void set_params(); /*Fill the paramType structure */
-void rast3d_cross_section(void *map, G3D_Region region, int elevfd, int outfd); /*Write the raster */
+void rast3d_cross_section(void *map, RASTER3D_Region region, int elevfd, int outfd); /*Write the raster */
 void close_output_map(int fd); /*close the map */
 
 
@@ -52,7 +52,7 @@
 
     if (map != NULL) {
         if (!G3d_closeCell(map))
-            G3d_fatalError(_("Could not close G3D map"));
+            G3d_fatalError(_("Could not close RASTER3D map"));
     }
 
     /*unopen the output map */
@@ -114,7 +114,7 @@
 /* ************************************************************************* */
 /* Compute the cross section raster map ************************************ */
 /* ************************************************************************* */
-void rast3d_cross_section(void *map,G3D_Region region, int elevfd, int outfd)
+void rast3d_cross_section(void *map,RASTER3D_Region region, int elevfd, int outfd)
 {
     int col, row;
     int rows, cols, depths, typeIntern;
@@ -135,7 +135,7 @@
     cols = region.cols;
     depths = region.depths;
     
-    /*Typ of the G3D Tile */
+    /*Typ of the RASTER3D Tile */
     typeIntern = G3d_tileTypeMap(map);
 
     /*Allocate mem for the output maps row */
@@ -208,12 +208,12 @@
 
 
 /* ************************************************************************* */
-/* Main function, open the G3D map and create the cross section map ******** */
+/* Main function, open the RASTER3D map and create the cross section map ******** */
 
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {
-    G3D_Region region;
+    RASTER3D_Region region;
     struct Cell_head window2d;
     struct GModule *module;
     void *map = NULL; /*The 3D Rastermap */
@@ -271,8 +271,8 @@
     /*******************/
     map = G3d_openCellOld(param.input->answer,
                           G_find_grid3(param.input->answer, ""),
-                          &region, G3D_TILE_SAME_AS_FILE,
-                          G3D_USE_CACHE_DEFAULT);
+                          &region, RASTER3D_TILE_SAME_AS_FILE,
+                          RASTER3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
         G3d_fatalError(_("Error opening 3d raster map <%s>"),
@@ -334,12 +334,12 @@
 
     } else {
         fatal_error(map, -1, -1,
-                    _("Wrong G3D Datatype! Cannot create raster map."));
+                    _("Wrong RASTER3D Datatype! Cannot create raster map."));
     }
 
     /* Close files and exit */
     if (!G3d_closeCell(map))
-        G3d_fatalError(_("Could not close G3D map <%s>"),
+        G3d_fatalError(_("Could not close RASTER3D map <%s>"),
                        param.input->answer);
 
     return (EXIT_SUCCESS);

Modified: grass/trunk/raster3d/r3.cross.rast/r3.cross.rast.html
===================================================================
--- grass/trunk/raster3d/r3.cross.rast/r3.cross.rast.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.cross.rast/r3.cross.rast.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 <H2>DESCRIPTION</H2>
 
-This module creates a cross section 2D map from one G3D raster volume
+This module creates a cross section 2D map from one RASTER3D raster volume
 map based on a 2D elevation map.  It checks if the value of the
 elevation map is located in the z-coordinate space of the 3D map.  If
 so, the 3D voxel value for this position is transferred to the related

Modified: grass/trunk/raster3d/r3.gwflow/Makefile
===================================================================
--- grass/trunk/raster3d/r3.gwflow/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.gwflow/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.gwflow
 
-LIBES = $(GPDELIB) $(G3DLIB) $(GISLIB) $(GMATHLIB)
-DEPENDENCIES = $(GPDEDEP) $(G3DDEP) $(GISDEP) $(GMATHDEP)
+LIBES = $(GPDELIB) $(RASTER3DLIB) $(GISLIB) $(GMATHLIB)
+DEPENDENCIES = $(GPDEDEP) $(RASTER3DDEP) $(GISDEP) $(GMATHDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.gwflow/main.c
===================================================================
--- grass/trunk/raster3d/r3.gwflow/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.gwflow/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -42,7 +42,7 @@
 
 static void write_result(N_array_3d * status, N_array_3d * phead_start,
 			 N_array_3d * phead, double *result,
-			 G3D_Region * region, char *name);
+			 RASTER3D_Region * region, char *name);
 
 /* ************************************************************************* */
 /* Set up the arguments we are expecting ********************************** */
@@ -124,7 +124,7 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists)");
+    param.mask->description = _("Use RASTER3D mask (if exists)");
 
     param.full_les = G_define_flag();
     param.full_les->key = 'f';
@@ -142,7 +142,7 @@
     N_geom_data *geom = NULL;
     N_les *les = NULL;
     N_les_callback_3d *call = NULL;
-    G3D_Region region;
+    RASTER3D_Region region;
     N_gradient_field_3d *field = NULL;
     N_array_3d *xcomp = NULL;
     N_array_3d *ycomp = NULL;
@@ -348,7 +348,7 @@
 /* ************************************************************************* */
 void
 write_result(N_array_3d * status, N_array_3d * phead_start,
-	     N_array_3d * phead, double *result, G3D_Region * region,
+	     N_array_3d * phead, double *result, RASTER3D_Region * region,
 	     char *name)
 {
     void *map = NULL;
@@ -364,7 +364,7 @@
     depths = region->depths;
 
     /*Open the new map */
-    map = G3d_openNewOptTileSize(name, G3D_USE_CACHE_XY, region, DCELL_TYPE, 32);
+    map = G3d_openNewOptTileSize(name, RASTER3D_USE_CACHE_XY, region, DCELL_TYPE, 32);
 
     if (map == NULL)
 	G3d_fatalError(_("Error opening g3d map <%s>"), name);

Modified: grass/trunk/raster3d/r3.in.ascii/Makefile
===================================================================
--- grass/trunk/raster3d/r3.in.ascii/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.in.ascii/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.in.ascii
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.in.ascii/main.c
===================================================================
--- grass/trunk/raster3d/r3.in.ascii/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.in.ascii/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -41,11 +41,11 @@
 /*reads a g3d ascii-file headerfile-string */
 static void readHeaderString(FILE * fp, char *valueString, double *value);
 
-static FILE *openAscii(char *asciiFile, G3D_Region * region); /*open the g3d ascii file */
+static FILE *openAscii(char *asciiFile, RASTER3D_Region * region); /*open the g3d ascii file */
 
 /*This function does all the work, it reads the values from the g3d ascii-file and put 
    it into an g3d-map */
-static void asciiToG3d(FILE * fp, G3D_Region * region, int convertNull,
+static void asciiToG3d(FILE * fp, RASTER3D_Region * region, int convertNull,
                        char *nullValue);
 
 /*---------------------------------------------------------------------------*/
@@ -131,7 +131,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-FILE *openAscii(char *asciiFile, G3D_Region * region)
+FILE *openAscii(char *asciiFile, RASTER3D_Region * region)
 {
     FILE *fp;
     double tmp;
@@ -215,7 +215,7 @@
 #define MAX(a,b) (a > b ? a : b)
 
 void
-asciiToG3d(FILE * fp, G3D_Region * region, int convertNull, char *nullValue)
+asciiToG3d(FILE * fp, RASTER3D_Region * region, int convertNull, char *nullValue)
 {
     int x, y, z;
     int col, row, depth;
@@ -224,7 +224,7 @@
     int tileX, tileY, tileZ;
 
     G3d_getTileDimensionsMap(map, &tileX, &tileY, &tileZ);
-    G3d_minUnlocked(map, G3D_USE_CACHE_X);
+    G3d_minUnlocked(map, RASTER3D_USE_CACHE_X);
 
     G3d_autolockOn(map);
     G3d_unlockAll(map);
@@ -313,7 +313,7 @@
     int useTypeDefault, type, useLzwDefault, doLzw, useRleDefault, doRle;
     int usePrecisionDefault, precision, useDimensionDefault, tileX, tileY,
         tileZ;
-    G3D_Region region;
+    RASTER3D_Region region;
     FILE *fp;
     struct GModule *module;
     struct History history;
@@ -347,8 +347,8 @@
 
     fp = openAscii(input, &region);
 
-    /*Open the new G3D map */
-    map = G3d_openNewParam(output, G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_XY,
+    /*Open the new RASTER3D map */
+    map = G3d_openNewParam(output, RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_XY,
                            &region,
                            type, doLzw, doRle, precision, tileX, tileY,
                            tileZ);
@@ -356,7 +356,7 @@
     if (map == NULL)
         fatalError(_("Error opening 3d raster map"));
 
-    /*Create the new G3D Map */
+    /*Create the new RASTER3D Map */
     asciiToG3d(fp, &region, convertNull, nullValue);
 
     if (!G3d_closeCell(map))

Modified: grass/trunk/raster3d/r3.in.ascii/r3.in.ascii.html
===================================================================
--- grass/trunk/raster3d/r3.in.ascii/r3.in.ascii.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.in.ascii/r3.in.ascii.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -14,7 +14,7 @@
 <DT><B>compression</B>
 <DD>Note that the <EM>none</EM> option only specifies 
 that neither LZW nor RLE is used for compression.  It 
-does not turn off the compression all together.  G3D does
+does not turn off the compression all together.  RASTER3D does
 not support non-compressed files.
 <DD>Options: default, rle, none
 
@@ -29,7 +29,7 @@
 <DD>Path and name of ASCII file to be imported
 
 <DT><B>output</B>
-<DD>Name of the G3D output map
+<DD>Name of the RASTER3D output map
 </DL>
 
 <center>

Modified: grass/trunk/raster3d/r3.in.v5d/Makefile
===================================================================
--- grass/trunk/raster3d/r3.in.v5d/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.in.v5d/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5,8 +5,8 @@
 #for Linux/x86 et al. (needs fix for MacOSX)
 EXTRA_CFLAGS = -DLITTLE
 
-LIBES = $(G3DLIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.in.v5d/main.c
===================================================================
--- grass/trunk/raster3d/r3.in.v5d/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.in.v5d/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 /*
  * r3.in.v5d - program for data conversion from the V5D format 
- * of the VIS5D visualization software to G3D GRASS
+ * of the VIS5D visualization software to RASTER3D GRASS
  * data format.
  *
  * Copyright Jaroslav Hofierka
@@ -102,7 +102,7 @@
 
 /*---------------------------------------------------------------------------*/
 
-void convert(char *openFile, G3D_Region * region, int convertNull,
+void convert(char *openFile, RASTER3D_Region * region, int convertNull,
 	     double nullValue)
 {
     v5dstruct v5d;
@@ -184,7 +184,7 @@
     int useTypeDefault, type, useLzwDefault, doLzw, useRleDefault, doRle;
     int usePrecisionDefault, precision, useDimensionDefault, tileX, tileY,
 	tileZ;
-    G3D_Region region;
+    RASTER3D_Region region;
     struct GModule *module;
 
     map = NULL;
@@ -212,7 +212,7 @@
 	fatalError("main: error getting standard parameters");
 
     G3d_getWindow(&region);
-    map = G3d_openCellNew(output, FCELL_TYPE, G3D_USE_CACHE_XY, &region);
+    map = G3d_openCellNew(output, FCELL_TYPE, RASTER3D_USE_CACHE_XY, &region);
     if (map == NULL)
 	fatalError(_("Error opening 3d raster map"));
 

Modified: grass/trunk/raster3d/r3.info/Makefile
===================================================================
--- grass/trunk/raster3d/r3.info/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.info/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.info
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.info/r3.info.main.c
===================================================================
--- grass/trunk/raster3d/r3.info/r3.info.main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.info/r3.info.main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -51,7 +51,7 @@
     char timebuff[256];
     int i;
     FILE *out;
-    G3D_Region cellhd;
+    RASTER3D_Region cellhd;
     void *g3map;
     struct Categories cats;
     struct History hist;
@@ -128,8 +128,8 @@
 
     /*We need to open the map */
     g3map =
-	G3d_openCellOld(name, mapset, G3D_DEFAULT_WINDOW,
-			G3D_TILE_SAME_AS_FILE, G3D_NO_CACHE);
+	G3d_openCellOld(name, mapset, RASTER3D_DEFAULT_WINDOW,
+			RASTER3D_TILE_SAME_AS_FILE, RASTER3D_NO_CACHE);
     if (NULL == g3map)
 	G_fatal_error(_("Unable to open 3D raster map <%s>"), name);
 
@@ -250,8 +250,8 @@
 		G_fatal_error(_("Cannot allocate memory for string"));
 
             double totalSize = 0;
-            for(i = 0; i < ((G3D_Map* )g3map)->nTiles; i++)
-                totalSize += ((G3D_Map* )g3map)->tileLength[i];
+            for(i = 0; i < ((RASTER3D_Map* )g3map)->nTiles; i++)
+                totalSize += ((RASTER3D_Map* )g3map)->tileLength[i];
 
 	    if (G_asprintf(&line, "  Total size:           %ld Bytes",
                 (long)(totalSize)) > 0)
@@ -260,13 +260,13 @@
 		G_fatal_error(_("Cannot allocate memory for string"));
 
 	    if (G_asprintf(&line, "  Number of tiles:      %d",
-                ((G3D_Map* )g3map)->nTiles) > 0)
+                ((RASTER3D_Map* )g3map)->nTiles) > 0)
 		printline(line);
 	    else
 		G_fatal_error(_("Cannot allocate memory for string"));
 
 	    if (G_asprintf(&line, "  Mean tile size:       %ld Bytes",
-                (long)(totalSize/((G3D_Map* )g3map)->nTiles)) > 0)
+                (long)(totalSize/((RASTER3D_Map* )g3map)->nTiles)) > 0)
 		printline(line);
 	    else
 		G_fatal_error(_("Cannot allocate memory for string"));
@@ -274,12 +274,12 @@
             int tileSize = 0;
 
             if(data_type == FCELL_TYPE)
-                tileSize = sizeof(FCELL) * ((G3D_Map* )g3map)->tileX * ((G3D_Map* )g3map)->tileY *
-                        ((G3D_Map* )g3map)->tileZ;
+                tileSize = sizeof(FCELL) * ((RASTER3D_Map* )g3map)->tileX * ((RASTER3D_Map* )g3map)->tileY *
+                        ((RASTER3D_Map* )g3map)->tileZ;
 
             if(data_type == DCELL_TYPE)
-                tileSize = sizeof(DCELL) * ((G3D_Map* )g3map)->tileX * ((G3D_Map* )g3map)->tileY *
-                        ((G3D_Map* )g3map)->tileZ;
+                tileSize = sizeof(DCELL) * ((RASTER3D_Map* )g3map)->tileX * ((RASTER3D_Map* )g3map)->tileY *
+                        ((RASTER3D_Map* )g3map)->tileZ;
 
 	    if (G_asprintf(&line, "  Tile size in memory:  %ld Bytes",
                 (long)(tileSize)) > 0)
@@ -288,15 +288,15 @@
 		G_fatal_error(_("Cannot allocate memory for string"));
 
 	    if (G_asprintf(&line, "  Number of tiles in x, y and  z:   %d, %d, %d",
-                                  ((G3D_Map* )g3map)->nx, ((G3D_Map* )g3map)->ny,
-                                  ((G3D_Map* )g3map)->nz) > 0)
+                                  ((RASTER3D_Map* )g3map)->nx, ((RASTER3D_Map* )g3map)->ny,
+                                  ((RASTER3D_Map* )g3map)->nz) > 0)
 		printline(line);
 	    else
 		G_fatal_error(_("Cannot allocate memory for string"));
 
 	    if (G_asprintf(&line, "  Dimension of a tile in x, y, z:   %d, %d, %d",
-                                  ((G3D_Map* )g3map)->tileX, ((G3D_Map* )g3map)->tileY,
-                                  ((G3D_Map* )g3map)->tileZ) > 0)
+                                  ((RASTER3D_Map* )g3map)->tileX, ((RASTER3D_Map* )g3map)->tileY,
+                                  ((RASTER3D_Map* )g3map)->tileZ) > 0)
 		printline(line);
 	    else
 		G_fatal_error(_("Cannot allocate memory for string"));
@@ -444,12 +444,12 @@
 
 	}			/*Resolution */
 	else if (iflag->answer) {
-	    fprintf(out, "tilenumx=%d\n", ((G3D_Map* )g3map)->nx);
-	    fprintf(out, "tilenumy=%d\n", ((G3D_Map* )g3map)->ny);
-	    fprintf(out, "tilenumz=%d\n", ((G3D_Map* )g3map)->nz);
-	    fprintf(out, "tiledimx=%d\n", ((G3D_Map* )g3map)->tileX);
-	    fprintf(out, "tiledimy=%d\n", ((G3D_Map* )g3map)->tileY);
-	    fprintf(out, "tiledimz=%d\n", ((G3D_Map* )g3map)->tileZ);
+	    fprintf(out, "tilenumx=%d\n", ((RASTER3D_Map* )g3map)->nx);
+	    fprintf(out, "tilenumy=%d\n", ((RASTER3D_Map* )g3map)->ny);
+	    fprintf(out, "tilenumz=%d\n", ((RASTER3D_Map* )g3map)->nz);
+	    fprintf(out, "tiledimx=%d\n", ((RASTER3D_Map* )g3map)->tileX);
+	    fprintf(out, "tiledimy=%d\n", ((RASTER3D_Map* )g3map)->tileY);
+	    fprintf(out, "tiledimz=%d\n", ((RASTER3D_Map* )g3map)->tileZ);
 	}			/*History output */
 	else if (hflag->answer) {
 	    if (hist_ok) {

Modified: grass/trunk/raster3d/r3.mask/Makefile
===================================================================
--- grass/trunk/raster3d/r3.mask/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mask/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.mask
 
-LIBES = $(GPDELIB) $(G3DLIB) $(GISLIB)
-DEPENDENCIES = $(GPDEDEP) $(G3DDEP) $(GISDEP)
+LIBES = $(GPDELIB) $(RASTER3DLIB) $(GISLIB)
+DEPENDENCIES = $(GPDEDEP) $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.mask/main.c
===================================================================
--- grass/trunk/raster3d/r3.mask/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mask/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -46,17 +46,17 @@
 static void makeMask(char *name, d_Mask * maskRules)
 {
     void *map, *mask;
-    G3D_Region region;
+    RASTER3D_Region region;
     int tileX, tileY, tileZ, x, y, z, cacheSize;
     double value;
     float floatNull;
 
-    cacheSize = G3d_cacheSizeEncode(G3D_USE_CACHE_XY, 1);
+    cacheSize = G3d_cacheSizeEncode(RASTER3D_USE_CACHE_XY, 1);
 
     if (NULL == G_find_grid3(name, ""))
 	G3d_fatalError(_("3D raster map <%s> not found"), name);
 
-    map = G3d_openCellOld(name, G_mapset(), G3D_DEFAULT_WINDOW,
+    map = G3d_openCellOld(name, G_mapset(), RASTER3D_DEFAULT_WINDOW,
 			  DCELL_TYPE, cacheSize);
 
     if (map == NULL)
@@ -67,16 +67,16 @@
     G3d_getTileDimensionsMap(map, &tileX, &tileY, &tileZ);
 
     mask = G3d_openNewParam(G3d_maskFile(), FCELL_TYPE, cacheSize,
-			    &region, FCELL_TYPE, G3D_NO_LZW, G3D_USE_RLE, 0,
+			    &region, FCELL_TYPE, RASTER3D_NO_LZW, RASTER3D_USE_RLE, 0,
 			    tileX, tileY, tileZ);
 
     if (mask == NULL)
 	G3d_fatalError(_("Unable to open 3D raster mask file"));
 
-    G3d_minUnlocked(map, G3D_USE_CACHE_X);
+    G3d_minUnlocked(map, RASTER3D_USE_CACHE_X);
     G3d_autolockOn(map);
     G3d_unlockAll(map);
-    G3d_minUnlocked(mask, G3D_USE_CACHE_X);
+    G3d_minUnlocked(mask, RASTER3D_USE_CACHE_X);
     G3d_autolockOn(mask);
     G3d_unlockAll(mask);
 
@@ -154,7 +154,7 @@
 	exit(EXIT_FAILURE);
 
     if (G3d_maskFileExists())
-	G_fatal_error(_("Cannot create mask file: G3D_MASK already exists"));
+	G_fatal_error(_("Cannot create mask file: RASTER3D_MASK already exists"));
 
     getParams(&name, &maskRules);
 

Modified: grass/trunk/raster3d/r3.mask/r3.mask.html
===================================================================
--- grass/trunk/raster3d/r3.mask/r3.mask.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mask/r3.mask.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -13,7 +13,7 @@
 <DD>Values specified to be masked out
 
 <DT><B>grid3d</B>
-<DD>Name of G3D-map that is used as the mask reference
+<DD>Name of RASTER3D-map that is used as the mask reference
 </DL>
 
 <H2>SEE ALSO</H2>

Modified: grass/trunk/raster3d/r3.mkdspf/Makefile
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,7 +8,7 @@
 EXTRA_CFLAGS    =       -I$(LDIR)
 # -I$(INCLUDE_DIR)
 
-LIBES = $(DSPFLIB) $(G3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(DSPFDEP) $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(DSPFLIB) $(RASTER3DLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(DSPFDEP) $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 default: cmd

Modified: grass/trunk/raster3d/r3.mkdspf/iso_surface.c
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/iso_surface.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/iso_surface.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -25,7 +25,7 @@
 static void normalize(float n[3]);
 
 
-void viz_iso_surface(void *g3map, G3D_Region * g3reg,
+void viz_iso_surface(void *g3map, RASTER3D_Region * g3reg,
 		     cmndln_info * linefax, int quiet)
 {
     float *data[4];		/* will hold 4 slices of xy data */

Modified: grass/trunk/raster3d/r3.mkdspf/local_proto.h
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/local_proto.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/local_proto.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,13 +8,13 @@
 void fill_cfax(Cube_data * Cube, int flag, int index,
 	       float TEMP_VERT[13][3], float TEMP_NORM[13][3]);
 /* iso_surface.c */
-void viz_iso_surface(void *g3map, G3D_Region * g3reg,
+void viz_iso_surface(void *g3map, RASTER3D_Region * g3reg,
 		     cmndln_info * linefax, int quiet);
 /* make_header.c */
 void viz_make_header(file_info * hf, double dmin, double dmax,
-		     G3D_Region * g3reg);
+		     RASTER3D_Region * g3reg);
 /* r3_data.c */
-int r3read_level(void *g3map, G3D_Region * g3reg, file_info * Headfax,
+int r3read_level(void *g3map, RASTER3D_Region * g3reg, file_info * Headfax,
 		 float *data, int n_lev);
 /* r3_find.c */
 int g3_find_dsp_file(const char *cell, const char *file, const char *mset);

Modified: grass/trunk/raster3d/r3.mkdspf/main.c
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -57,7 +57,7 @@
     char element[GNAME_MAX+10];
     const char *dspout;
     void *g3map;
-    G3D_Region g3reg;
+    RASTER3D_Region g3reg;
     const char *mapset;
     double dmin, dmax;
     struct GModule *module;
@@ -158,11 +158,11 @@
 		      name->answer);
 
     g3map = G3d_openCellOld(name->answer, mapset, &g3reg,
-			    G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+			    RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
     /*
-       g3map = G3d_openCellOld (name->answer, mapset, G3D_DEFAULT_WINDOW,
-       G3D_TILE_SAME_AS_FILE,
-       G3D_USE_CACHE_DEFAULT);
+       g3map = G3d_openCellOld (name->answer, mapset, RASTER3D_DEFAULT_WINDOW,
+       RASTER3D_TILE_SAME_AS_FILE,
+       RASTER3D_USE_CACHE_DEFAULT);
      */
 
     if (NULL == g3map)

Modified: grass/trunk/raster3d/r3.mkdspf/make_header.c
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/make_header.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/make_header.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -3,7 +3,7 @@
 
 
 void viz_make_header(file_info * hf, double dmin, double dmax,
-		     G3D_Region * g3reg)
+		     RASTER3D_Region * g3reg)
 {
     hf->min = dmin;
     hf->max = dmax;

Modified: grass/trunk/raster3d/r3.mkdspf/r3_data.c
===================================================================
--- grass/trunk/raster3d/r3.mkdspf/r3_data.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.mkdspf/r3_data.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5,7 +5,7 @@
 #define NO_RESAMPLE
 
 
-int r3read_level(void *g3map, G3D_Region * g3reg, file_info * Headfax,
+int r3read_level(void *g3map, RASTER3D_Region * g3reg, file_info * Headfax,
 		 float *data, int n_lev)
 {
 #ifdef NO_RESAMPLE

Modified: grass/trunk/raster3d/r3.null/Makefile
===================================================================
--- grass/trunk/raster3d/r3.null/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.null/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.null
 
-LIBES = $(GPDELIB) $(G3DLIB) $(GISLIB)
-DEPENDENCIES = $(GPDEDEP) $(G3DDEP) $(GISDEP)
+LIBES = $(GPDELIB) $(RASTER3DLIB) $(GISLIB)
+DEPENDENCIES = $(GPDEDEP) $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.null/main.c
===================================================================
--- grass/trunk/raster3d/r3.null/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.null/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -90,19 +90,19 @@
 modifyNull(char *name, d_Mask * maskRules, int changeNull, double newNullVal)
 {
     void *map, *mapOut;
-    G3D_Region region;
+    RASTER3D_Region region;
     int tileX, tileY, tileZ, x, y, z;
     double value;
     int doCompress, doLzw, doRle, precision;
     int cacheSize;
 
-    cacheSize = G3d_cacheSizeEncode(G3D_USE_CACHE_XY, 1);
+    cacheSize = G3d_cacheSizeEncode(RASTER3D_USE_CACHE_XY, 1);
 
     if (NULL == G_find_grid3(name, ""))
 	G3d_fatalError(_("3D raster map <%s> not found"), name);
 
     fprintf(stderr, "name %s Mapset %s \n", name, G_mapset());
-    map = G3d_openCellOld(name, G_mapset(), G3D_DEFAULT_WINDOW,
+    map = G3d_openCellOld(name, G_mapset(), RASTER3D_DEFAULT_WINDOW,
 			  DCELL_TYPE, cacheSize);
 
     if (map == NULL)
@@ -113,17 +113,17 @@
 
     G3d_getCompressionMode(&doCompress, &doLzw, &doRle, &precision);
 
-    mapOut = G3d_openNewParam(name, DCELL_TYPE, G3D_USE_CACHE_XY,
+    mapOut = G3d_openNewParam(name, DCELL_TYPE, RASTER3D_USE_CACHE_XY,
 			      &region, G3d_fileTypeMap(map),
 			      doLzw, doRle, G3d_tilePrecisionMap(map), tileX,
 			      tileY, tileZ);
     if (mapOut == NULL)
 	G3d_fatalError(_("modifyNull: error opening tmp file"));
 
-    G3d_minUnlocked(map, G3D_USE_CACHE_X);
+    G3d_minUnlocked(map, RASTER3D_USE_CACHE_X);
     G3d_autolockOn(map);
     G3d_unlockAll(map);
-    G3d_minUnlocked(mapOut, G3D_USE_CACHE_X);
+    G3d_minUnlocked(mapOut, RASTER3D_USE_CACHE_X);
     G3d_autolockOn(mapOut);
     G3d_unlockAll(mapOut);
 

Modified: grass/trunk/raster3d/r3.out.ascii/Makefile
===================================================================
--- grass/trunk/raster3d/r3.out.ascii/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.ascii/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.out.ascii
 
-LIBES = $(G3DLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.out.ascii/main.c
===================================================================
--- grass/trunk/raster3d/r3.out.ascii/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.ascii/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -42,8 +42,8 @@
 static void writeHeaderString(FILE * fp, char *valueString, double value);
 static void writeHeaderString2(FILE * fp, char *valueString, int value);
 static void writeHeaderString3(FILE * fp, char *valueString, const char* value);
-static FILE *openAscii(char *asciiFile, G3D_Region region);
-static void G3dToascii(FILE * fp, G3D_Region region, int decim);
+static FILE *openAscii(char *asciiFile, RASTER3D_Region region);
+static void G3dToascii(FILE * fp, RASTER3D_Region region, int decim);
 
 /* globals */
 void *map = NULL;
@@ -52,7 +52,7 @@
 /*---------------------------------------------------------------------------*/
 
 /* Simple error handling routine, will eventually replace this with
- * G3D_fatalError.
+ * RASTER3D_fatalError.
  */
 void fatalError(char *errorMsg)
 {
@@ -121,7 +121,7 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists) with input map");
+    param.mask->description = _("Use RASTER3D mask (if exists) with input map");
 }
 
 /*---------------------------------------------------------------------------*/
@@ -175,7 +175,7 @@
 /* Opens the output acsii file and writes the header.
  * Returns the file handle for the output file.
  */
-FILE *openAscii(char *asciiFile, G3D_Region region)
+FILE *openAscii(char *asciiFile, RASTER3D_Region region)
 {
     FILE *fp;
 
@@ -225,7 +225,7 @@
  * source G3d file one layer at a time.
  *//* * */
 
-void G3dToascii(FILE * fp, G3D_Region region, int decim)
+void G3dToascii(FILE * fp, RASTER3D_Region region, int decim)
 {
     DCELL dvalue;
     FCELL fvalue;
@@ -297,7 +297,7 @@
 {
     char *input, *output;
     int decim;
-    G3D_Region region;
+    RASTER3D_Region region;
     FILE *fp;
     int changemask = 0;
     struct GModule *module;
@@ -337,7 +337,7 @@
 
     /* Open the map and use XY cache mode */
     map = G3d_openCellOld(input, G_find_grid3(input, ""), &region,
-                          G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+                          RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
         G3d_fatalError(_("Error opening 3d raster map"));

Modified: grass/trunk/raster3d/r3.out.ascii/r3.out.ascii.html
===================================================================
--- grass/trunk/raster3d/r3.out.ascii/r3.out.ascii.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.ascii/r3.out.ascii.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,7 +1,7 @@
 <H2>DESCRIPTION</H2>
 
-Outputs <I>G3D</I> maps in <I>ASCII</I> format.  <I>map</I> is
-a valid G3D map in the current mapset.  <I>output</I> is the name of
+Outputs <I>RASTER3D</I> maps in <I>ASCII</I> format.  <I>map</I> is
+a valid RASTER3D map in the current mapset.  <I>output</I> is the name of
 an ASCII file which will be written in the current working directory.
 If <I>output</I> is not specified then <B>stdout</B> is used.  The
 <I>-h</I> flag may be used to suppress header information. The module is
@@ -13,7 +13,7 @@
 The default format for the ASCII file is equivalent to that required
 by <EM>r3.in.ascii</EM>.  In particular, files output by
 <EM>r3.out.ascii</EM> with header information may be converted back to
-G3D maps with <EM>r3.in.ascii</EM>.
+RASTER3D maps with <EM>r3.in.ascii</EM>.
 
 <P>
 The format for the ASCII file is:

Modified: grass/trunk/raster3d/r3.out.v5d/BUG
===================================================================
--- grass/trunk/raster3d/r3.out.v5d/BUG	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.v5d/BUG	2011-08-10 17:20:14 UTC (rev 47536)
@@ -9,7 +9,7 @@
  * with -m flag the "Probe" crashes in Vis5D
 
 
-G3D library bug?
+RASTER3D library bug?
         G3d_getValueRegion (map, x, y, z, d1p, typeIntern);                  
      produces output with different orientation comparing to:
         G3d_getValue(map, x, y, z, d1p, typeIntern); 

Modified: grass/trunk/raster3d/r3.out.v5d/Makefile
===================================================================
--- grass/trunk/raster3d/r3.out.v5d/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.v5d/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -5,8 +5,8 @@
 #for Linux/x86 et al. (needs fix for MacOSX)
 EXTRA_CFLAGS = -DLITTLE
 
-LIBES = $(G3DLIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.out.v5d/main.c
===================================================================
--- grass/trunk/raster3d/r3.out.v5d/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.v5d/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -40,11 +40,11 @@
 /* globals */
 void *map = NULL;
 paramType param;
-G3D_Region region;
+RASTER3D_Region region;
 
 /*---------------------------------------------------------------------------*/
 /* Simple error handling routine, will eventually replace this with
- * G3D_fatalError.
+ * RASTER3D_fatalError.
  */
 void fatalError(char *errorMsg)
 {
@@ -311,8 +311,8 @@
     if (NULL == G_find_grid3(input, ""))
 	G3d_fatalError(_("Requested 3d raster map not found"));
 
-    map = G3d_openCellOld(input, G_find_grid3(input, ""), G3D_DEFAULT_WINDOW,
-			  G3D_TILE_SAME_AS_FILE, G3D_NO_CACHE);
+    map = G3d_openCellOld(input, G_find_grid3(input, ""), RASTER3D_DEFAULT_WINDOW,
+			  RASTER3D_TILE_SAME_AS_FILE, RASTER3D_NO_CACHE);
     if (map == NULL)
 	G3d_fatalError(_("Error opening 3d raster map"));
 

Modified: grass/trunk/raster3d/r3.out.v5d/r3.out.v5d.html
===================================================================
--- grass/trunk/raster3d/r3.out.v5d/r3.out.v5d.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.v5d/r3.out.v5d.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,6 +1,6 @@
 <H2>DESCRIPTION</H2>
 
-Exports <i>G3D</i> grids to <i>v5d</i> format. <i>map</i> is a valid G3D
+Exports <i>RASTER3D</i> grids to <i>v5d</i> format. <i>map</i> is a valid RASTER3D
 grid in the current mapset. <i>output</i> is the name of a v5d file which
 will be written in the current working directory. <a href="http://www.ssec.wisc.edu/~billh/vis5d.html">VIS5D</a>
 is a system for interactive visualization of large 5D gridded data sets

Modified: grass/trunk/raster3d/r3.out.vtk/Makefile
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.out.vtk
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.out.vtk/errorHandling.c
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/errorHandling.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/errorHandling.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *

Modified: grass/trunk/raster3d/r3.out.vtk/errorHandling.h
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/errorHandling.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/errorHandling.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *

Modified: grass/trunk/raster3d/r3.out.vtk/globalDefs.h
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/globalDefs.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/globalDefs.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *
@@ -21,7 +21,7 @@
 
 typedef struct
 {
-    /*G3D maps */
+    /*RASTER3D maps */
     void *map;
     void *map_r;
     void *map_g;

Modified: grass/trunk/raster3d/r3.out.vtk/main.c
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
  * AUTHOR(S):    Original author 
  *               Soeren Gebbert soerengebbert at gmx de
  * 		27 Feb 2006 Berlin
- * PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+ * PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
  *
  * COPYRIGHT:    (C) 2005 by the GRASS Development Team
  *
@@ -39,11 +39,11 @@
 /** prototypes ***************************************************************/
 
 /*Open the rgb voxel maps and write the data to the output */
-static void open_write_rgb_maps(input_maps * in, G3D_Region region, FILE * fp,
+static void open_write_rgb_maps(input_maps * in, RASTER3D_Region region, FILE * fp,
                                 int dp);
 
 /*Open the rgb voxel maps and write the data to the output */
-static void open_write_vector_maps(input_maps * in, G3D_Region region,
+static void open_write_vector_maps(input_maps * in, RASTER3D_Region region,
                                    FILE * fp, int dp);
 
 /*opens a raster input map */
@@ -183,7 +183,7 @@
 /* Prepare the VTK RGB voxel data for writing ****************************** */
 
 /* ************************************************************************* */
-void open_write_rgb_maps(input_maps * in, G3D_Region region, FILE * fp,
+void open_write_rgb_maps(input_maps * in, RASTER3D_Region region, FILE * fp,
                          int dp)
 {
     int i, changemask[3] = {0, 0, 0};
@@ -201,8 +201,8 @@
             maprgb =
                 G3d_openCellOld(param.rgbmaps->answers[i],
                                 G_find_grid3(param.rgbmaps->answers[i], ""),
-                                &region, G3D_TILE_SAME_AS_FILE,
-                                G3D_USE_CACHE_DEFAULT);
+                                &region, RASTER3D_TILE_SAME_AS_FILE,
+                                RASTER3D_USE_CACHE_DEFAULT);
             if (maprgb == NULL) {
                 G_warning(_("Error opening 3d raster map <%s>"),
                           param.rgbmaps->answers[i]);
@@ -268,7 +268,7 @@
 /* Prepare the VTK vector data for writing ********************************* */
 
 /* ************************************************************************* */
-void open_write_vector_maps(input_maps * in, G3D_Region region, FILE * fp,
+void open_write_vector_maps(input_maps * in, RASTER3D_Region region, FILE * fp,
                             int dp)
 {
     int i, changemask[3] = {0, 0, 0};
@@ -287,7 +287,7 @@
                 G3d_openCellOld(param.vectormaps->answers[i],
                                 G_find_grid3(param.vectormaps->answers[i],
                                              ""), &region,
-                                G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+                                RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
             if (mapvect == NULL) {
                 G_warning(_("Error opening 3d raster map <%s>"),
                           param.vectormaps->answers[i]);
@@ -357,7 +357,7 @@
 int main(int argc, char *argv[])
 {
     char *output = NULL;
-    G3D_Region region;
+    RASTER3D_Region region;
     struct Cell_head window2d;
     struct Cell_head default_region;
     FILE *fp = NULL;
@@ -505,8 +505,8 @@
             in->map =
                 G3d_openCellOld(param.input->answers[i],
                                 G_find_grid3(param.input->answers[i], ""),
-                                &region, G3D_TILE_SAME_AS_FILE,
-                                G3D_USE_CACHE_DEFAULT);
+                                &region, RASTER3D_TILE_SAME_AS_FILE,
+                                RASTER3D_USE_CACHE_DEFAULT);
             if (in->map == NULL) {
                 G_warning(_("Error opening 3d raster map <%s>"),
                           param.input->answers[i]);

Modified: grass/trunk/raster3d/r3.out.vtk/parameters.c
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/parameters.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/parameters.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *
@@ -27,7 +27,7 @@
     param.input = G_define_standard_option(G_OPT_R3_INPUTS);
     param.input->required = NO;
     param.input->description =
-	_("G3D map(s) to be converted to VTK-ASCII data format");
+	_("RASTER3D map(s) to be converted to VTK-ASCII data format");
 
     param.output = G_define_standard_option(G_OPT_F_OUTPUT);
     param.output->required = NO;

Modified: grass/trunk/raster3d/r3.out.vtk/parameters.h
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/parameters.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/parameters.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *

Modified: grass/trunk/raster3d/r3.out.vtk/r3.out.vtk.html
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/r3.out.vtk.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/r3.out.vtk.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,7 +12,7 @@
 a <I>unstructured grid</I> with <I>celldata</I>  or a <I>structured grid</I>
 with <I>pointdata</I> is generated.
 This data is put in a simple VTK-ASCII file. Neither XML nor 
-binary output are supported. It is possible to choose more then one G3D map
+binary output are supported. It is possible to choose more then one RASTER3D map
 to be written in the VTK-ASCII file. Each <I>celldata</I> is named as the
 3D raster map it represents. You can visualize this file with the 
 <EM><A HREF="http://www.vtk.org">VTK Toolkit</A></EM>, 

Modified: grass/trunk/raster3d/r3.out.vtk/writeVTKData.c
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/writeVTKData.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/writeVTKData.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
  * AUTHOR(S):    Original author 
  *               Soeren Gebbert soerengebbert at gmx de
  * 		27 Feb 2006 Berlin
- * PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+ * PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
  *
  * COPYRIGHT:    (C) 2005 by the GRASS Development Team
  *
@@ -99,7 +99,7 @@
 /* This function writes the point coordinates ****************************** */
 
 /* ************************************************************************* */
-void write_vtk_points(input_maps * in, FILE * fp, G3D_Region region, int dp,
+void write_vtk_points(input_maps * in, FILE * fp, RASTER3D_Region region, int dp,
                       int type, double scale)
 {
     int x, y, z, percentage = 0;
@@ -244,7 +244,7 @@
 /* This function writes the cell for the unstructured grid ***************** */
 
 /* ************************************************************************* */
-void write_vtk_unstructured_grid_cells(FILE * fp, G3D_Region region)
+void write_vtk_unstructured_grid_cells(FILE * fp, RASTER3D_Region region)
 {
     int x, y, z, percentage;
     int rows, cols, depths, count;
@@ -313,7 +313,7 @@
 /* Write the VTK Cell or point data **************************************** */
 
 /* ************************************************************************* */
-void write_vtk_data(FILE * fp, void *map, G3D_Region region, char *varname,
+void write_vtk_data(FILE * fp, void *map, RASTER3D_Region region, char *varname,
                     int dp)
 {
     double value;
@@ -384,7 +384,7 @@
 /* ************************************************************************* */
 void write_vtk_rgb_data(void *map_r, void *map_g, void *map_b,
                         FILE * fp, const char *varname,
-                        G3D_Region region, int dp)
+                        RASTER3D_Region region, int dp)
 {
     double value = 0;
     int x, y, z, percentage, k;
@@ -459,7 +459,7 @@
 /* ************************************************************************* */
 void write_vtk_vector_data(void *map_x, void *map_y, void *map_z,
                            FILE * fp, const char *varname,
-                           G3D_Region region, int dp)
+                           RASTER3D_Region region, int dp)
 {
     double value = 0;
     int x, y, z, percentage, k;

Modified: grass/trunk/raster3d/r3.out.vtk/writeVTKData.h
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/writeVTKData.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/writeVTKData.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *
@@ -22,19 +22,19 @@
 struct input_maps;
 
 /*Write the point coordinates of type point (1) or celldata (0) */
-void write_vtk_points(input_maps * in, FILE * fp, G3D_Region region, int dp,
+void write_vtk_points(input_maps * in, FILE * fp, RASTER3D_Region region, int dp,
 		      int type, double scale);
 /*Write the uGrid Cells */
-void write_vtk_unstructured_grid_cells(FILE * fp, G3D_Region region);
+void write_vtk_unstructured_grid_cells(FILE * fp, RASTER3D_Region region);
 
 /*Write the outputdata */
-void write_vtk_data(FILE * fp, void *map, G3D_Region region, char *varname,
+void write_vtk_data(FILE * fp, void *map, RASTER3D_Region region, char *varname,
 		    int dp);
 /*Write the rgb voxel data to the output */
 void write_vtk_rgb_data(void *map_r, void *map_g, void *map_b, FILE * fp,
-			const char *string, G3D_Region region, int dp);
+			const char *string, RASTER3D_Region region, int dp);
 /*Write the vector data to the output */
 void write_vtk_vector_data(void *map_x, void *map_y, void *map_z, FILE * fp,
-			   const char *string, G3D_Region region, int dp);
+			   const char *string, RASTER3D_Region region, int dp);
 
 #endif

Modified: grass/trunk/raster3d/r3.out.vtk/writeVTKHead.c
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/writeVTKHead.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/writeVTKHead.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
  * AUTHOR(S):    Original author 
  *               Soeren Gebbert soerengebbert at gmx de
  * 		27 Feb 2006 Berlin
- * PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+ * PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
  *
  * COPYRIGHT:    (C) 2005 by the GRASS Development Team
  *
@@ -33,7 +33,7 @@
 
 /* ************************************************************************* */
 void write_vtk_structured_point_header(FILE * fp, char *vtkFile,
-                                       G3D_Region region, int dp,
+                                       RASTER3D_Region region, int dp,
                                        double scale)
 {
     G_debug(3,
@@ -90,7 +90,7 @@
 
 /* ************************************************************************* */
 void write_vtk_structured_grid_header(FILE * fp, char *vtkFile,
-                                      G3D_Region region)
+                                      RASTER3D_Region region)
 {
     G_debug(3,
             _("write_vtk_structured_grid_header: Writing VTKStructuredGrid-Header"));
@@ -112,7 +112,7 @@
 
 /* ************************************************************************* */
 void write_vtk_unstructured_grid_header(FILE * fp, char *vtkFile,
-                                        G3D_Region region)
+                                        RASTER3D_Region region)
 {
     G_debug(3,
             _("write_vtk_unstructured_grid_header: Writing VTKUnstructuredGrid-Header"));

Modified: grass/trunk/raster3d/r3.out.vtk/writeVTKHead.h
===================================================================
--- grass/trunk/raster3d/r3.out.vtk/writeVTKHead.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.out.vtk/writeVTKHead.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
 * AUTHOR(S):    Original author 
 *               Soeren Gebbert soerengebbert at gmx de
 * 		27 Feb 2006 Berlin
-* PURPOSE:      Converts 3D raster maps (G3D) into the VTK-Ascii format  
+* PURPOSE:      Converts 3D raster maps (RASTER3D) into the VTK-Ascii format  
 *
 * COPYRIGHT:    (C) 2005 by the GRASS Development Team
 *
@@ -21,13 +21,13 @@
 
 /*write the vtk structured point header */
 void write_vtk_structured_point_header(FILE * fp, char *vtkFile,
-				       G3D_Region region, int dp,
+				       RASTER3D_Region region, int dp,
 				       double scale);
 /*write the vtk structured grid header */
 void write_vtk_structured_grid_header(FILE * fp, char *vtkFile,
-				      G3D_Region region);
+				      RASTER3D_Region region);
 /*write the vtk unstructured grid header */
 void write_vtk_unstructured_grid_header(FILE * fp, char *vtkFile,
-					G3D_Region region);
+					RASTER3D_Region region);
 
 #endif

Modified: grass/trunk/raster3d/r3.retile/Makefile
===================================================================
--- grass/trunk/raster3d/r3.retile/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.retile/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.retile
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.retile/main.c
===================================================================
--- grass/trunk/raster3d/r3.retile/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.retile/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -6,7 +6,7 @@
  * AUTHOR(S):    Original author 
  *               Soeren Gebbert soerengebbert <at> googlemail <dot> co
  * 
- * PURPOSE:      Retiles an existing G3D map with user defined x, y and z tile size
+ * PURPOSE:      Retiles an existing RASTER3D map with user defined x, y and z tile size
  *
  * COPYRIGHT:    (C) 2011 by the GRASS Development Team
  *
@@ -34,7 +34,7 @@
 /*- prototypes --------------------------------------------------------------*/
 void fatal_error(void *map, int *fd, int depths, char *errorMsg); /*Simple Error message */
 void set_params(); /*Fill the paramType structure */
-void g3d_to_raster(void *map, G3D_Region region, int *fd); /*Write the raster */
+void g3d_to_raster(void *map, RASTER3D_Region region, int *fd); /*Write the raster */
 int open_output_map(const char *name, int res_type); /*opens the outputmap */
 void close_output_map(int fd); /*close the map */
 
@@ -84,13 +84,13 @@
 
 
 /* ************************************************************************* */
-/* Main function, open the G3D map and create the raster maps ************** */
+/* Main function, open the RASTER3D map and create the raster maps ************** */
 
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {
     struct GModule *module;
-    G3D_Map *map = NULL;
+    RASTER3D_Map *map = NULL;
     int tileX, tileY, tileZ;
     char *mapset;
 
@@ -101,7 +101,7 @@
     G_add_keyword(_("raster3d"));
     G_add_keyword(_("retile"));
     G_add_keyword(_("voxel"));
-    module->description = _("Retiles an existing G3D map with user defined x, y and z tile size");
+    module->description = _("Retiles an existing RASTER3D map with user defined x, y and z tile size");
 
     /* Get parameters from user */
     set_params();
@@ -122,11 +122,11 @@
     G3d_initDefaults();
     
     if(!param.cache->answer)
-        map = G3d_openCellOld(param.input->answer, mapset, G3D_DEFAULT_WINDOW, 
-                          G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+        map = G3d_openCellOld(param.input->answer, mapset, RASTER3D_DEFAULT_WINDOW, 
+                          RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
     else
-        map = G3d_openCellOld(param.input->answer, mapset, G3D_DEFAULT_WINDOW, 
-                          G3D_TILE_SAME_AS_FILE, G3D_NO_CACHE);
+        map = G3d_openCellOld(param.input->answer, mapset, RASTER3D_DEFAULT_WINDOW, 
+                          RASTER3D_TILE_SAME_AS_FILE, RASTER3D_NO_CACHE);
 
     if (map == NULL)
         G3d_fatalError(_("Unable to open 3d raster map <%s>"),

Modified: grass/trunk/raster3d/r3.retile/r3.retile.html
===================================================================
--- grass/trunk/raster3d/r3.retile/r3.retile.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.retile/r3.retile.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,8 +1,8 @@
 <H2>DESCRIPTION</H2>
 
-Writes a copy of an existing G3D map with a user defined 
+Writes a copy of an existing RASTER3D map with a user defined 
 number of tiles in x, y and z direction. 
-The precision and the type of the original G3D map are used for the new retiled G3D map. 
+The precision and the type of the original RASTER3D map are used for the new retiled RASTER3D map. 
 
 <H2>SEE ALSO</H2>
 

Modified: grass/trunk/raster3d/r3.showdspf/Makefile
===================================================================
--- grass/trunk/raster3d/r3.showdspf/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.showdspf/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -8,8 +8,8 @@
 LDIR = $(MODULE_TOPDIR)/lib/dspf
 EXTRA_CFLAGS = -I$(LDIR) -I. $(OPENGLINC) $(OPENGLWINC) $(XCFLAGS) $(XMINC)
 
-LIBES = $(DSPFLIB) $(G3DLIB) $(GISLIB) $(DATETIMELIB) $(OGLLIB)
-DEPENDENCIES = $(DSPFDEP) $(G3DDEP) $(GISDEP) $(DATETIMEDEP)
+LIBES = $(DSPFLIB) $(RASTER3DLIB) $(GISLIB) $(DATETIMELIB) $(OGLLIB)
+DEPENDENCIES = $(DSPFDEP) $(RASTER3DDEP) $(GISDEP) $(DATETIMEDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.showdspf/init_caps.c
===================================================================
--- grass/trunk/raster3d/r3.showdspf/init_caps.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.showdspf/init_caps.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -12,7 +12,7 @@
 
 int init_caps(D_Cap, g3reg)
      struct Cap *D_Cap;
-     G3D_Region *g3reg;
+     RASTER3D_Region *g3reg;
 
 /* this subroutine only needs to be called once */
 {

Modified: grass/trunk/raster3d/r3.showdspf/main_ogl.c
===================================================================
--- grass/trunk/raster3d/r3.showdspf/main_ogl.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.showdspf/main_ogl.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -105,7 +105,7 @@
     XEvent event;
     int i, fdes[2];
     void *g3map;
-    G3D_Region g3reg;
+    RASTER3D_Region g3reg;
     char *p, *mapset;
     double dmin, dmax;
     fd_set set;
@@ -171,8 +171,8 @@
 	    G_fatal_error(buff);
 	}
 
-	g3map = G3d_openCellOld(g3->answer, mapset, G3D_DEFAULT_WINDOW,
-				G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+	g3map = G3d_openCellOld(g3->answer, mapset, RASTER3D_DEFAULT_WINDOW,
+				RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
 	if (NULL == g3map) {
 	    sprintf(buff, "Error opening grid3 file [%s]", g3->answer);

Modified: grass/trunk/raster3d/r3.showdspf/make_header.c
===================================================================
--- grass/trunk/raster3d/r3.showdspf/make_header.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.showdspf/make_header.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -4,7 +4,7 @@
 int viz_make_header(hf, dmin, dmax, g3reg)
      file_info *hf;
      double dmin, dmax;
-     G3D_Region *g3reg;
+     RASTER3D_Region *g3reg;
 {
 
     hf->min = dmin;

Modified: grass/trunk/raster3d/r3.showdspf/vizual2.h
===================================================================
--- grass/trunk/raster3d/r3.showdspf/vizual2.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.showdspf/vizual2.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -29,7 +29,7 @@
 typedef struct
 {
     int token;			/*type of file */
-    void *g3mapin, *g3mapout;	/* G3D_Map */
+    void *g3mapin, *g3mapout;	/* RASTER3D_Map */
     FILE *datainfp, *dataoutfp;
     FILE *dspfinfp, *dspfoutfp;
     int xdim, ydim, zdim;

Modified: grass/trunk/raster3d/r3.stats/Makefile
===================================================================
--- grass/trunk/raster3d/r3.stats/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.stats/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM = r3.stats
 
-LIBES = $(G3DLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.stats/main.c
===================================================================
--- grass/trunk/raster3d/r3.stats/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.stats/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -60,7 +60,7 @@
 			      double min, double max);
 static void free_stat_table(stat_table * stats);
 static void print_stat_table(stat_table * stats);
-static void update_stat_table(stat_table * stats, G3D_Region * region);
+static void update_stat_table(stat_table * stats, RASTER3D_Region * region);
 static void heapsort_eqvals(equal_val_array * data, int n);
 static void downheap_eqvals(equal_val_array * data, int n, int k);
 static void check_range_value(stat_table * stats, double value);
@@ -271,7 +271,7 @@
 /* *************************************************************** */
 /* **** Compute the volume, percentage and sums ****************** */
 /* *************************************************************** */
-void update_stat_table(stat_table * stats, G3D_Region * region)
+void update_stat_table(stat_table * stats, RASTER3D_Region * region)
 {
     int i;
     double vol = region->ns_res * region->ew_res * region->tb_res;
@@ -554,7 +554,7 @@
     int map_type;
     char *infile = NULL;
     void *map = NULL;
-    G3D_Region region;
+    RASTER3D_Region region;
     unsigned int rows, cols, depths;
     unsigned int x, y, z;
 
@@ -613,7 +613,7 @@
 
     map =
 	G3d_openCellOld(infile, G_find_grid3(infile, ""), &region,
-			G3D_TILE_SAME_AS_FILE, G3D_USE_CACHE_DEFAULT);
+			RASTER3D_TILE_SAME_AS_FILE, RASTER3D_USE_CACHE_DEFAULT);
 
     if (map == NULL)
 	G3d_fatalError(_("Error opening g3d map <%s>"), infile);

Modified: grass/trunk/raster3d/r3.timestamp/Makefile
===================================================================
--- grass/trunk/raster3d/r3.timestamp/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.timestamp/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.timestamp
 
-LIBES = $(G3DLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.to.rast/Makefile
===================================================================
--- grass/trunk/raster3d/r3.to.rast/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.to.rast/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM=r3.to.rast
 
-LIBES = $(G3DLIB) $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(G3DDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(RASTER3DLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(RASTER3DDEP) $(RASTERDEP) $(GISDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 

Modified: grass/trunk/raster3d/r3.to.rast/main.c
===================================================================
--- grass/trunk/raster3d/r3.to.rast/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.to.rast/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -35,7 +35,7 @@
 /*- prototypes --------------------------------------------------------------*/
 void fatal_error(void *map, int *fd, int depths, char *errorMsg); /*Simple Error message */
 void set_params(); /*Fill the paramType structure */
-void g3d_to_raster(void *map, G3D_Region region, int *fd); /*Write the raster */
+void g3d_to_raster(void *map, RASTER3D_Region region, int *fd); /*Write the raster */
 int open_output_map(const char *name, int res_type); /*opens the outputmap */
 void close_output_map(int fd); /*close the map */
 
@@ -88,12 +88,12 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists) with input map");
+    param.mask->description = _("Use RASTER3D mask (if exists) with input map");
 
     param.res = G_define_flag();
     param.res->key = 'r';
     param.res->description =
-        _("Use the same resolution as the input G3D map for the 2d output "
+        _("Use the same resolution as the input RASTER3D map for the 2d output "
           "maps, independent of the current region settings");
 }
 
@@ -101,7 +101,7 @@
 /* Write the slices to seperate raster maps ******************************** */
 
 /* ************************************************************************* */
-void g3d_to_raster(void *map, G3D_Region region, int *fd)
+void g3d_to_raster(void *map, RASTER3D_Region region, int *fd)
 {
     DCELL d1 = 0;
     FCELL f1 = 0;
@@ -184,12 +184,12 @@
 }
 
 /* ************************************************************************* */
-/* Main function, open the G3D map and create the raster maps ************** */
+/* Main function, open the RASTER3D map and create the raster maps ************** */
 
 /* ************************************************************************* */
 int main(int argc, char *argv[])
 {
-    G3D_Region region, inputmap_bounds;
+    RASTER3D_Region region, inputmap_bounds;
     struct Cell_head region2d;
     struct GModule *module;
     struct History history;
@@ -230,8 +230,8 @@
         /*Open the map with current region */
         map = G3d_openCellOld(param.input->answer,
                               G_find_grid3(param.input->answer, ""),
-                              G3D_DEFAULT_WINDOW, G3D_TILE_SAME_AS_FILE,
-                              G3D_USE_CACHE_DEFAULT);
+                              RASTER3D_DEFAULT_WINDOW, RASTER3D_TILE_SAME_AS_FILE,
+                              RASTER3D_USE_CACHE_DEFAULT);
         if (map == NULL)
             G3d_fatalError(_("Error opening 3d raster map <%s>"),
                            param.input->answer);
@@ -253,8 +253,8 @@
         /*Open the 3d raster map */
         map = G3d_openCellOld(param.input->answer,
                               G_find_grid3(param.input->answer, ""),
-                              &region, G3D_TILE_SAME_AS_FILE,
-                              G3D_USE_CACHE_DEFAULT);
+                              &region, RASTER3D_TILE_SAME_AS_FILE,
+                              RASTER3D_USE_CACHE_DEFAULT);
 
         if (map == NULL)
             G3d_fatalError(_("Error opening 3d raster map <%s>"),

Modified: grass/trunk/raster3d/r3.to.rast/r3.to.rast.html
===================================================================
--- grass/trunk/raster3d/r3.to.rast/r3.to.rast.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/r3.to.rast/r3.to.rast.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -1,9 +1,9 @@
 <H2>DESCRIPTION</H2>
 
-Converts one G3D raster map into several 2D raster maps (depends on depths). 
+Converts one RASTER3D raster map into several 2D raster maps (depends on depths). 
 If the 2D and 3D region settings are different,
 the 3D resolution will be adjust to the 2D resolution (the depths are not touched!).
-You can force r3.to.rast to use the 2D resolution of the input G3D map for the output maps, 
+You can force r3.to.rast to use the 2D resolution of the input RASTER3D map for the output maps, 
 independently from the current region settings.
 
 <center>
@@ -17,7 +17,7 @@
 
 
 <H2>NOTES</H2>
-Every slice of the G3D map is copied to one 2D raster map. The maps
+Every slice of the RASTER3D map is copied to one 2D raster map. The maps
 are named like <B>output</B><I>_slicenumber</I>. Slices are counted from bottom
 to the top, so the bottom slice has number 1. 
 

Modified: grass/trunk/raster3d/raster3dintro.html
===================================================================
--- grass/trunk/raster3d/raster3dintro.html	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/raster3d/raster3dintro.html	2011-08-10 17:20:14 UTC (rev 47536)
@@ -26,7 +26,7 @@
 <img src="g3d_volume_layout.png" border=0><BR>
 <table border=0 width=700>
 <tr><td><center>
-<i>The volume coordinate system and tile layout of the G3D library</i>
+<i>The volume coordinate system and tile layout of the RASTER3D library</i>
 </center></td></tr>
 </table>
 </center>

Modified: grass/trunk/vector/v.to.rast3/Makefile
===================================================================
--- grass/trunk/vector/v.to.rast3/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.to.rast3/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -3,8 +3,8 @@
 
 PGM=v.to.rast3
 
-LIBES = $(VECTORLIB) $(G3DLIB) $(DBMILIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(VECTORDEP) $(G3DDEP) $(DBMIDEP) $(GISDEP)
+LIBES = $(VECTORLIB) $(RASTER3DLIB) $(DBMILIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(VECTORDEP) $(RASTER3DDEP) $(DBMIDEP) $(GISDEP)
 EXTRA_INC = $(VECT_INC)
 EXTRA_CFLAGS = $(VECT_CFLAGS)
  

Modified: grass/trunk/vector/v.to.rast3/main.c
===================================================================
--- grass/trunk/vector/v.to.rast3/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.to.rast3/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -29,12 +29,12 @@
     struct GModule *module;
     struct Option *in_opt, *out_opt, *field_opt, *col_opt;
     int field;
-    G3D_Region region;
+    RASTER3D_Region region;
 
     struct Map_info Map;
     struct line_pnts *Points;
     struct line_cats *Cats;
-    G3D_Map *map = NULL;
+    RASTER3D_Map *map = NULL;
 
     int nlines, line, nrec, ctype;
 
@@ -98,7 +98,7 @@
     db_close_database_shutdown_driver(Driver);
 
     map = G3d_openNewOptTileSize(out_opt->answer,
-			  G3D_USE_CACHE_DEFAULT, &region, FCELL_TYPE, 32);
+			  RASTER3D_USE_CACHE_DEFAULT, &region, FCELL_TYPE, 32);
 
     if (map == NULL)
 	G_fatal_error(_("Unable to create output map"));

Modified: grass/trunk/vector/v.vol.rst/Makefile
===================================================================
--- grass/trunk/vector/v.vol.rst/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.vol.rst/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -2,8 +2,8 @@
 
 PGM = v.vol.rst
 
-LIBES = $(SITESLIB) $(VECTORLIB) $(G3DLIB) $(BITMAPLIB) $(DBMILIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
-DEPENDENCIES = $(SITESDEP) $(VECTORDEP) $(G3DDEP) $(BITMAPDEP) $(DBMIDEP) $(RASTERDEP) $(GISDEP)
+LIBES = $(SITESLIB) $(VECTORLIB) $(RASTER3DLIB) $(BITMAPLIB) $(DBMILIB) $(RASTERLIB) $(GISLIB) $(MATHLIB)
+DEPENDENCIES = $(SITESDEP) $(VECTORDEP) $(RASTER3DDEP) $(BITMAPDEP) $(DBMIDEP) $(RASTERDEP) $(GISDEP)
 EXTRA_INC = $(VECT_INC)
 EXTRA_CFLAGS = $(VECT_CFLAGS)
 

Modified: grass/trunk/vector/v.vol.rst/main.c
===================================================================
--- grass/trunk/vector/v.vol.rst/main.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.vol.rst/main.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -85,7 +85,7 @@
 
 FILE *dev, *cvdevf;
 FCELL *zero_array_cell;
-G3D_Region current_region;
+RASTER3D_Region current_region;
 
 
 /* pargr */
@@ -190,7 +190,7 @@
 
 struct BM *bitmask;
 struct Cell_head cellhd;
-G3D_Region out_region;
+RASTER3D_Region out_region;
 
 int main(int argc, char *argv[])
 {
@@ -242,7 +242,7 @@
     G_add_keyword(_("interpolation"));
     G_add_keyword(_("RST"));
     module->description =
-	_("Interpolates point data to a G3D grid volume using "
+	_("Interpolates point data to a RASTER3D grid volume using "
 	  "regularized spline with tension (RST) algorithm.");
 
     parm.input = G_define_option();

Modified: grass/trunk/vector/v.vol.rst/user1.c
===================================================================
--- grass/trunk/vector/v.vol.rst/user1.c	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.vol.rst/user1.c	2011-08-10 17:20:14 UTC (rev 47536)
@@ -423,7 +423,7 @@
   /*** Write elevation results ***/
     if (outz != NULL) {
 
-	cf1 = G3d_openNewOptTileSize(outz, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf1 = G3d_openNewOptTileSize(outz, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf1 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", outz);
 	    clean_fatal_error(buff);
@@ -473,7 +473,7 @@
   /*** Write out the gradient results ***/
     if (gradient != NULL) {
 
-	cf2 = G3d_openNewOptTileSize(gradient, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf2 = G3d_openNewOptTileSize(gradient, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf2 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", gradient);
 	    clean_fatal_error(buff);
@@ -523,7 +523,7 @@
   /*** Write out aspect1 results ***/
     if (aspect1 != NULL) {
 
-	cf3 = G3d_openNewOptTileSize(aspect1, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf3 = G3d_openNewOptTileSize(aspect1, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf3 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", aspect1);
 	    clean_fatal_error(buff);
@@ -573,7 +573,7 @@
   /*** Write out aspect2 results ***/
     if (aspect2 != NULL) {
 
-	cf4 = G3d_openNewOptTileSize(aspect2, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf4 = G3d_openNewOptTileSize(aspect2, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf4 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", aspect2);
 	    clean_fatal_error(buff);
@@ -623,7 +623,7 @@
   /*** Write out ncurv results ***/
     if (ncurv != NULL) {
 
-	cf5 = G3d_openNewOptTileSize(ncurv, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf5 = G3d_openNewOptTileSize(ncurv, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf5 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", ncurv);
 	    clean_fatal_error(buff);
@@ -673,7 +673,7 @@
   /*** Write out gcurv results ***/
     if (gcurv != NULL) {
 
-	cf6 = G3d_openNewOptTileSize(gcurv, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf6 = G3d_openNewOptTileSize(gcurv, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf6 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", gcurv);
 	    clean_fatal_error(buff);
@@ -723,7 +723,7 @@
   /*** Write mcurv results ***/
     if (mcurv != NULL) {
 
-	cf7 = G3d_openNewOptTileSize(mcurv, G3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
+	cf7 = G3d_openNewOptTileSize(mcurv, RASTER3D_USE_CACHE_DEFAULT, &current_region, FCELL_TYPE, 32); 
 	if (cf7 == NULL) {
 	    sprintf(buff, "Can't open %s for writing ", mcurv);
 	    clean_fatal_error(buff);

Modified: grass/trunk/vector/v.vol.rst/userglobs.h
===================================================================
--- grass/trunk/vector/v.vol.rst/userglobs.h	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/vector/v.vol.rst/userglobs.h	2011-08-10 17:20:14 UTC (rev 47536)
@@ -43,6 +43,6 @@
 
 extern FILE *dev, *cvdevf;
 extern FCELL *zero_array_cell;
-extern G3D_Region current_region;
+extern RASTER3D_Region current_region;
 
 #endif

Modified: grass/trunk/visualization/nviz/scripts/mapBrowser.tcl
===================================================================
--- grass/trunk/visualization/nviz/scripts/mapBrowser.tcl	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/visualization/nviz/scripts/mapBrowser.tcl	2011-08-10 17:20:14 UTC (rev 47536)
@@ -99,7 +99,7 @@
 	set element paint/labels
     } elseif {![string compare $element Icons]} {
 	set element icons
-    } elseif {![string compare $element G3D]} {
+    } elseif {![string compare $element RASTER3D]} {
 	set element grid3
     }
     return $element
@@ -199,7 +199,7 @@
     } elseif { ![string compare 3d.view $type]} {
 		set name 3d.view
     } elseif {![string compare vol $type]} {
-		set name G3D
+		set name RASTER3D
     }
 
     if [string compare $type all] {

Modified: grass/trunk/visualization/nviz/src/Makefile
===================================================================
--- grass/trunk/visualization/nviz/src/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/visualization/nviz/src/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -41,7 +41,7 @@
 
 LIBES = $(SURFLIB) \
 	$(BITMAPLIB) $(LINKMLIB) $(VECTLIB) $(SITESLIB) $(FORMLIB) $(DBMILIB) \
-	$(G3DLIB) $(GISLIB) \
+	$(RASTER3DLIB) $(GISLIB) \
 	$(DATETIMELIB) $(TIFFLIBPATH) $(TIFFLIB)
 
 DEPENDENCIES = $(VECTDEP) $(BITMAPDEP) $(LINKMDEP) $(FORMDEP) $(DBMIDEP) $(GISDEP)

Modified: grass/trunk/visualization/nviz2/cmd/Makefile
===================================================================
--- grass/trunk/visualization/nviz2/cmd/Makefile	2011-08-10 17:05:11 UTC (rev 47535)
+++ grass/trunk/visualization/nviz2/cmd/Makefile	2011-08-10 17:20:14 UTC (rev 47536)
@@ -24,7 +24,7 @@
 
 EXTRA_LDFLAGS = $(OGL_LIBS)
 
-LIBES = $(GISLIB) $(OGSFLIB) $(NVIZLIB) $(G3DLIB) $(VECTORLIB) $(DBMILIB)
+LIBES = $(GISLIB) $(OGSFLIB) $(NVIZLIB) $(RASTER3DLIB) $(VECTORLIB) $(DBMILIB)
 DEPENDENCIES = $(GISDEP) $(NVIZDEP) $(VECTORDEP) $(DBMIDEP)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make



More information about the grass-commit mailing list