[GRASS-SVN] r50485 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 27 03:15:03 EST 2012
Author: mmetz
Date: 2012-01-27 00:15:03 -0800 (Fri, 27 Jan 2012)
New Revision: 50485
Modified:
grass/trunk/lib/vector/Vlib/header.c
Log:
Vlib: read proj number
Modified: grass/trunk/lib/vector/Vlib/header.c
===================================================================
--- grass/trunk/lib/vector/Vlib/header.c 2012-01-27 08:12:52 UTC (rev 50484)
+++ grass/trunk/lib/vector/Vlib/header.c 2012-01-27 08:15:03 UTC (rev 50485)
@@ -164,6 +164,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)
+ Vect_set_proj(Map, atoi(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