[GRASS5] d.m problem grass 6.0.0.0 beta1
Radim Blazek
blazek at itc.it
Mon Jan 17 02:54:52 EST 2005
The 'legend' was not stored/loaded in workspace, I fixed that after beta1.
Radim
Michael Barton wrote:
> Soren,
>
> I cannot reproduce this error. I just tried GRASS 6.0.0 beta1 on my Mac OSX
> using the Spearfish demo set. Display raster works without problems from the
> GIS Manager (d.m) if no options are selected, if either overlay or legend
> are selected, or if both overlay and legend are selected.
>
> I have a question. Do you have a saved workspace/dm file that you have
> opened and are trying to displaying?
>
> There is a minor bug that I've never reported that happens if I save a
> workspace, quit GRASS, restart GRASS later, and reopen the workspace. I get
> strange errors like this unless I 'touch' each file name in the GIS Manager
> list. That is, I have to click on each item in the display manager panel,
> then click on the box below (raster or vector panel) that contains the name
> of the file being displayed. By putting the mouse focus on this input box it
> somehow 'activates' the file correctly. After doing this once in a session,
> this set of maps displays fine.
>
> Could this be what is happening to you?
>
> Michael
>
>
> On 1/15/05 9:58 AM, "Soeren Gebbert" <soeren at pool.math.TU-Berlin.DE> wrote:
>
>
>>Dear developers ive just compiled grass60 successfully but when i am using
>>d.m and want to visualize a raster map, i get this error:
>>
>>can't read "opt(1,legend)": no such element in array
>>can't read "opt(1,legend)": no such element in array
>> while executing
>>"if { $opt($id,legend) } {
>> set cmd "d.rast.leg map=$opt($id,map)"
>> }"
>> (procedure "DmRaster::display" line 19)
>> invoked from within
>>"DmRaster::display $node"
>> ("raster" arm line 2)
>> invoked from within
>>"switch $type {
>> group {
>> DmGroup::display $node
>>}
>>raster {
>> DmRaster::display $node
>>}
>>labels {
>> DmLabels::display $node
>>..."
>> (procedure "Dm::display_node" line 6)
>> invoked from within
>>"Dm::display_node $n"
>> (procedure "DmGroup::display" line 11)
>> invoked from within
>>"DmGroup::display $node"
>> ("group" arm line 2)
>> invoked from within
>>"switch $type {
>> group {
>> DmGroup::display $node
>>}
>>raster {
>> DmRaster::display $node
>>}
>>labels {
>> DmLabels::display $node
>>..."
>> (procedure "Dm::display_node" line 6)
>> invoked from within
>>"Dm::display_node $n"
>> (procedure "DmGroup::display" line 11)
>> invoked from within
>>"DmGroup::display "root""
>> (procedure "Dm::display" line 6)
>> invoked from within
>>"Dm::display"
>> ("uplevel" body line 1)
>> invoked from within
>>"uplevel \#0 $cmd"
>> (procedure "Button::_release" line 18)
>> invoked from within
>>"Button::_release .mainframe.topf.tb0.bbox1.b0"
>> (command bound to event)
>>
>>
>>I didnt used the option "display with legend" and this error disapears if
>>i created a legend (d.m command button) "d.legend map=Geologie_final
>>color=black at=5,30,80,95 -c use=2,3,4,5,6,7,8,9", so what did i wrong?
>>Should i always create a legend to display a raster map?
>>
>>Best regards
>>soeren
>>
>
>
> ____________________
> C. Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> PO Box 872402
> Arizona State University
> Tempe, AZ 85287-2402
> USA
>
> Phone: 480-965-6262
> Fax: 480-965-7671
> www: <www.public.asu.edu/~cmbarton>
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
More information about the grass-dev
mailing list