[GRASS-SVN] r50638 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 2 17:50:20 EST 2012


Author: hamish
Date: 2012-02-02 14:50:20 -0800 (Thu, 02 Feb 2012)
New Revision: 50638

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

Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/header.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/header.c	2012-02-02 22:44:40 UTC (rev 50637)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/header.c	2012-02-02 22:50:20 UTC (rev 50638)
@@ -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