[GRASS-SVN] r50367 - grass/branches/releasebranch_6_4/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 21 14:51:39 EST 2012
Author: neteler
Date: 2012-01-21 11:51:39 -0800 (Sat, 21 Jan 2012)
New Revision: 50367
Modified:
grass/branches/releasebranch_6_4/vector/v.info/main.c
Log:
fix projection/zone output
Modified: grass/branches/releasebranch_6_4/vector/v.info/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.info/main.c 2012-01-21 19:04:40 UTC (rev 50366)
+++ grass/branches/releasebranch_6_4/vector/v.info/main.c 2012-01-21 19:51:39 UTC (rev 50367)
@@ -298,14 +298,12 @@
}
printline("");
- /* this differs from r.info in that proj info IS taken from the map here, not the location settings */
- /* Vect_get_proj_name() and _zone() are typically unset?! */
if (G_projection() == PROJECTION_UTM)
sprintf(line, _(" Projection: %s (zone %d)"),
- Vect_get_proj_name(&Map), Vect_get_zone(&Map));
+ G_database_projection_name(), G_zone());
else
sprintf(line, _(" Projection: %s"),
- Vect_get_proj_name(&Map));
+ G_database_projection_name());
printline(line);
Vect_get_map_box(&Map, &box);
More information about the grass-commit
mailing list