[GRASS-SVN] r60268 - grass/trunk/vector/v.buffer

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 16 11:05:58 PDT 2014


Author: neteler
Date: 2014-05-16 11:05:58 -0700 (Fri, 16 May 2014)
New Revision: 60268

Modified:
   grass/trunk/vector/v.buffer/main.c
Log:
v.buffer: msg about degree units in lat-long

Modified: grass/trunk/vector/v.buffer/main.c
===================================================================
--- grass/trunk/vector/v.buffer/main.c	2014-05-16 17:43:15 UTC (rev 60267)
+++ grass/trunk/vector/v.buffer/main.c	2014-05-16 18:05:58 UTC (rev 60268)
@@ -10,7 +10,7 @@
  *               
  * PURPOSE:      Vector buffer
  *               
- * COPYRIGHT:    (C) 2001-2012 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2001-2014 by the GRASS Development Team
  *
  *               This program is free software under the GNU General
  *               Public License (>=v2). Read the file COPYING that
@@ -318,6 +318,10 @@
     
     type = Vect_option_to_types(type_opt);
 
+    /* TODO: no geodesic support yet in GEOS */
+    if (G_projection() == PROJECTION_LL)
+        G_important_message(_("Note: In latitude-longitude coordinate system distances are in degree units"));
+
     if ((dista_opt->answer && bufcol_opt->answer) ||
 	(!(dista_opt->answer || bufcol_opt->answer)))
 	G_fatal_error(_("Select a buffer distance/minordistance/angle "



More information about the grass-commit mailing list