[GRASS-SVN] r50637 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 2 17:44:41 EST 2012


Author: hamish
Date: 2012-02-02 14:44:40 -0800 (Thu, 02 Feb 2012)
New Revision: 50637

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/header.c
Log:
ignore PROJ parameter in vector head file

Modified: grass/branches/develbranch_6/lib/vector/Vlib/header.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/header.c	2012-02-02 14:28:15 UTC (rev 50636)
+++ grass/branches/develbranch_6/lib/vector/Vlib/header.c	2012-02-02 22:44:40 UTC (rev 50637)
@@ -170,6 +170,8 @@
 	    Vect_set_scale(Map, atoi(ptr));
 	else if (strncmp(buff, "OTHER INFO:", sizeof(char) * 11) == 0)
 	    Vect_set_comment(Map, ptr);
+	else if (strncmp(buff, "PROJ:", sizeof(char) * 5) == 0)
+	    G_debug(1, "Projection code for map is %s", ptr);
 	else if (strncmp(buff, "ZONE:", sizeof(char) * 5) == 0 ||
 		 strncmp(buff, "UTM ZONE:", sizeof(char) * 9) == 0)
 	    Vect_set_zone(Map, atoi(ptr));



More information about the grass-commit mailing list