[GRASS-dev] Error in redrawing text layer in gis.m
Michael Barton
michael.barton at asu.edu
Wed Nov 15 14:27:48 EST 2006
Eric,
I just tried the following in the Spearfish 6 dataset, with elevation_dem,
streams, and archsites displayed...
1. Added a grid layer on top of everything else
2. Set the grid options as follows:
"draw grid" checked
"geodetic grid" checked
"grid & text color" default grey
"grid size"=.01
"grid origin"=-104,44
3. Press the "Display active layers" button (far left)
--the grid is drawn (I was wrong about it not working with a latlon grid; I
simply had incorrect values)
4. Press the "Display active layers" button again
--the grid is drawn
5. Press "Redraw all layers" button
--the grid is drawn
6. Press the "Redraw all layers" button
--the grid is drawn
I can't get an error to be generated if there are correct values for the
grid. Are you doing something that I am not doing here?
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: Wed, 15 Nov 2006 09:13:37 -0500
> To: Michael Barton <michael.barton at asu.edu>, <grass-dev at grass.itc.it>
> Cc: Maciej Sieczka <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,
>
> 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