[GRASS-dev] Error in redrawing text layer in gis.m

Patton, Eric epatton at nrcan.gc.ca
Wed Nov 15 09:13:37 EST 2006


That's odd...because gis.m correctly drew a lat-long graticule over my map window (I had a nautical chart displayed to check it against), so it was working correctly in a projected location. I only encountered an error during redraw as described in my original post.

~ Eric. 

-----Original Message-----
From: Michael Barton
To: Patton, Eric; grass-dev at grass.itc.it
Cc: Maciej Sieczka
Sent: 11/14/2006 6:31 PM
Subject: Re: [GRASS-dev] Error in redrawing text layer in gis.m


I think the issue is with d.grid. In normal mode, you draw a geographic
(projected) grid in a projected location. If you check the geodesic grid
(a flag in d.grid), it allows you to enter latlon coordinates into the
spacing parameters. BUT I think this only works in latlon locations.
Spearfish is a UTM location, so you need to use it in geographic mode,
geodesic mode.

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Tue, 14 Nov 2006 10:15:55 -0500
> To: Michael Barton <michael.barton at asu.edu>, <grass-dev at grass.itc.it>
> Cc: <tutey at o2.pl>
> Conversation: [GRASS-dev] Error in redrawing text layer in gis.m
> Subject: RE: [GRASS-dev] Error in redrawing text layer in gis.m
> Michael,
> I had no problems drawing a geogrid in a UTM location. Maciek also has
> error when he steps through my report, although the exact error
> differs. Strange. I won't be able to test this error further as I'm
trying to
> recompile gdal.
> ~ Eric.
> =====================================================================
> Eric,
> I tried to reproduce this but had no problems. However, there is
> something
> curious about your report. The Spearfish dataset is in UTM and you are
> talking about a grid in latlon. I wonder if you cannot draw a geodetic
> grid
> (i.e., using DD:MM:SS) in a projected location.
> Michael

More information about the grass-dev mailing list