Browse Source

v.buffer: msg about degree units in lat-long

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60269 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 năm trước cách đây
mục cha
commit
a788b95f71
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      vector/v.buffer/main.c

+ 5 - 1
vector/v.buffer/main.c

@@ -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 @@ int main(int argc, char *argv[])
     
     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 "