[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


Michael,

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

Eric,

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
box
(a flag in d.grid), it allows you to enter latlon coordinates into the
grid
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,
not
geodesic mode.

Michael
__________________________________________
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
an
> error when he steps through my report, although the exact error
message
> 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