[GRASS-SVN] r45425 - grass/trunk/ps/ps.map
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 18 01:53:13 EST 2011
Author: hamish
Date: 2011-02-17 22:53:13 -0800 (Thu, 17 Feb 2011)
New Revision: 45425
Modified:
grass/trunk/ps/ps.map/do_geogrid.c
Log:
merge comment fixes from devbr6
Modified: grass/trunk/ps/ps.map/do_geogrid.c
===================================================================
--- grass/trunk/ps/ps.map/do_geogrid.c 2011-02-18 06:50:33 UTC (rev 45424)
+++ grass/trunk/ps/ps.map/do_geogrid.c 2011-02-18 06:53:13 UTC (rev 45425)
@@ -170,8 +170,8 @@
set_rgb_color(PS.geogrid_numbers_color);
first = 1;
- /* horizontal grid numbers
- * these numbers only appear on the left edge of the first panel.
+ /* vertical grid numbers
+ * these numbers only appear on the right edge
* center the numbers on each grid line.
* suppress number if it falls off the map or would overlay the previous
* label
@@ -216,7 +216,7 @@
}
}
- /* vertical grid numbers
+ /* horizontal grid numbers along the bottom
* center the numbers on each grid line.
* suppress number if it falls of the map or would overlay the previous
* label
@@ -373,10 +373,13 @@
}
-/******************************************************
+/********************************************************************
* check projected coords to make sure they do not
- * go outside region -- if so re-project
-********************************************************/
+ * go outside region -- if so re-project
+ * This gets a bit wobbly if the projection does not reverse-project
+ * cleanly, e.g. if the eastern edge of a UTM region is many
+ * degrees east of the end of the zone where things get distorted.
+ *******************************************************************/
void check_coords(double e, double n, double *lon, double *lat, int par)
{
double x, y;
More information about the grass-commit
mailing list