[GRASS-SVN] r60270 - grass/branches/releasebranch_6_4/vector/v.buffer2

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 16 11:51:44 PDT 2014


Author: neteler
Date: 2014-05-16 11:51:44 -0700 (Fri, 16 May 2014)
New Revision: 60270

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

Modified: grass/branches/releasebranch_6_4/vector/v.buffer2/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.buffer2/main.c	2014-05-16 18:06:41 UTC (rev 60269)
+++ grass/branches/releasebranch_6_4/vector/v.buffer2/main.c	2014-05-16 18:51:44 UTC (rev 60270)
@@ -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
@@ -438,6 +438,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