[GRASS-dev] gis.m/geocoding tool broken?
Markus Neteler
neteler at itc.it
Mon Jul 2 19:07:38 EDT 2007
Great, Michael. I'll test tomorrow.
Concerning 6.2:
cd clean_releasebranch_6_2/gui/tcltk/gis.m
grep GRASS_RENDER_IMMEDIATE *
georect.tcl: set env(GRASS_RENDER_IMMEDIATE) "TRUE"
georect.tcl: unset env(GRASS_RENDER_IMMEDIATE)
mapcanvas.tcl: set env(GRASS_RENDER_IMMEDIATE) "TRUE"
mapcanvas.tcl: unset env(GRASS_RENDER_IMMEDIATE)
Apparently nothing to do there?
Markus
Michael Barton wrote:
>
> Found and fixed this. Now in the CVS
>
> What I think happened is that several months ago, it became (or I learned
> that it was) no longer necessary to set and unset GRASS_RENDER_IMMEDIATE
> for
> the GUI. Just set it and leave it set. I took this out of the main GUI
> code
> (mapcanvas.tcl), but forgot to take it out of the georect.tcl code (which
> does a replication of the same rendering commands to display a georect
> map.
> the result was that every time you displayed a map in the georectifier
> window, it would set, then UNSET GRASS_RENDER_IMMEDIATE. With this
> environmental variable unset, the main GUI (which no longer set and unset
> this variable at each display) was looking for a driver for outputting the
> display.
>
> I took this unnecessary code out of georect.tcl and it all works fine.
>
> ***How can I find out if this needs to be backported to 6.2.2?******
>
> It WILL need to be backported if the command to set/unset
> GRASS_RENDER_IMMEDIATE has been removed from mapcanvas.tcl. If this
> command
> is still in mapcanvas.tcl, georect.tcl ALSO needs this command (i.e., what
> I
> just removed).
>
> Michael
>
>
> On 7/2/07 9:53 AM, "Markus Neteler" <neteler at itc.it> wrote:
>
>> Michael,
>>
>> On Mon, Jul 02, 2007 at 09:49:53AM -0700, Michael Barton wrote:
>>> Markus,
>>>
>>> The error you get indicates that the PNG driver has been 'turned off'.
>>> There
>>> is no clue in the list of commands you sent as to why this is so. Do you
>>> have the TclTk error message?
>>
>> I'll try to generate it again but it was than x0 isn't found (I think
>> as in the error log).
>>
>>> Today is kind of busy, but I'll try to do some testing here as soon as I
>>> can.
>>
>> thanks!
>>
>> markus
>>
>>> Michael
>>>
>>>
>>> On 7/1/07 1:02 PM, "Markus Neteler" <neteler at itc.it> wrote:
>>>
>>>> Michael,
>>>>
>>>> this evening I wanted to update the geocoding section
>>>> in the upcoming GRASS book, but it failed... Some weeks
>>>> ago I co-registered two raster maps successfully, today
>>>> I tried the first time to register against a geocoded
>>>> vector map. It fails to find the tcl "monitor", see error.log
>>>> attached.
>>>>
>>>> I would be gratefule if you could take a look.
>>>> thanks
>>>> markus
>>>>
>>>> ------------------
>>>> ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
>>>> ITC -> since 1 March 2007 Fondazione Bruno Kessler
>>>> ------------------
>>>
>>> __________________________________________
>>> Michael Barton, Professor of Anthropology
>>> Director of Graduate Studies
>>> 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
>>>
>>
>> ------------------
>> ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
>> ITC -> since 1 March 2007 Fondazione Bruno Kessler
>> ------------------
>
> __________________________________________
> Michael Barton, Professor of Anthropology
> Director of Graduate Studies
> 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
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
>
--
View this message in context: http://www.nabble.com/Re%3A-gis.m-geocoding-tool-broken--tf4015091.html#a11403608
Sent from the Grass - Dev mailing list archive at Nabble.com.
More information about the grass-dev
mailing list