[GRASSLIST:9603] Re: script for creating map

Maik Trömel maik.troemel at maitro.net
Thu Dec 22 05:05:38 EST 2005


I don't know why and what I have done. But now it works!  :-)

Thanks for your help!

Greetings
Maik


Michael Barton wrote:

>Possibly. Can you see anything the normal way (e.g., via the GIS Manager or
>d.vect/d.rast)?
>
>Michael
>__________________________________________
>Michael Barton, Professor of Anthropology
>School of Human Evolution and Social Change
>Arizona State University
>Tempe, AZ 85287-2402
>
>phone: 480-965-6213
>fax: 480-965-7671
>www: http://www.public.asu.edu/~cmbarton
>
>
>
>  
>
>>From: Maik Trömel <maik.troemel at maitro.net>
>>Date: Tue, 20 Dec 2005 10:19:57 +0100
>>To: Michael Barton <michael.barton at asu.edu>
>>Subject: Re: [GRASSLIST:9576] Re: script for creating map
>>
>>No, that wasn't the problem.
>>Is it possible, that it is a Xlib-Problem?
>>
>>Michael Barton wrote:
>>
>>    
>>
>>>Try running d.mon stop=x0 to clear it out. Then see if d.mon start=x0 works.
>>>This can happen if you've had some kind of an improper stopping of GRASS or
>>>monitors.
>>>
>>>Michael
>>>______________________________
>>>Michael Barton, Professor of Anthropology
>>>School of Human Evolution and Social Change
>>>Arizona State University
>>>Tempe, AZ  85287-2402
>>>USA
>>>
>>>voice: 480-965-6262; fax: 480-965-7671
>>>www: http://www.public.asu.edu/~cmbarton
>>>
>>>
>>> 
>>>
>>>      
>>>
>>>>From: Maik Trömel <maik.troemel at maitro.net>
>>>>Date: Mon, 19 Dec 2005 10:00:29 +0100
>>>>To: Michael Barton <michael.barton at asu.edu>
>>>>Subject: Re: [GRASSLIST:9552] Re: script for creating map
>>>>
>>>>I tried it out. The problem is, that its not possible to start a display.
>>>>When I run "d.mon start=x0" I get an error:
>>>>
>>>>ERROR: Graph_Set: can't open Display
>>>>No socket to connect to for monitor <x0>.
>>>>Problem selecting x0. Will try once more
>>>>No socket to connect to for monitor <x0>.
>>>>
>>>>Any idea what the problem could be?
>>>>
>>>>Maik
>>>>
>>>>
>>>>Michael Barton wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Check out the d.out.file script (or it's predecessor, d.out.png) that I
>>>>>wrote and is included with GRASS. This will export whatever is on the
>>>>>current monitor to a png (or other formats if you have gdal). Add d.mon and
>>>>>d.rast and/or d.vect and you can script the creation of a map and its
>>>>>export
>>>>>to png.
>>>>>
>>>>>Michael
>>>>>______________________________
>>>>>Michael Barton, Professor of Anthropology
>>>>>School of Human Evolution and Social Change
>>>>>Arizona State University
>>>>>Tempe, AZ  85287-2402
>>>>>USA
>>>>>
>>>>>voice: 480-965-6262; fax: 480-965-7671
>>>>>www: http://www.public.asu.edu/~cmbarton
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>From: Maik Trömel <maik.troemel at maitro.net>
>>>>>>Date: Thu, 15 Dec 2005 11:28:48 +0100
>>>>>>To: GRASSLIST <GRASSLIST at baylor.edu>
>>>>>>Subject: [GRASSLIST:9498] script for creating map
>>>>>>
>>>>>>Hello Grass-Users,
>>>>>>
>>>>>>I want to write a script that creates a map as a png-file. I know how to
>>>>>>make it by hand. But when I try to script it, it doesn't work because I
>>>>>>can't open a monitor. Is there a possibility to create a map with a
>>>>>>script.
>>>>>>If "yes". How can I do this.
>>>>>>
>>>>>>Thanks for you help.
>>>>>>
>>>>>>Greetings
>>>>>>Maik
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>> 
>>>
>>>      
>>>
>
>
>  
>




More information about the grass-user mailing list