[GRASS-dev] r.viewshed fails on large raster: temp file already exists

Markus Neteler neteler at osgeo.org
Wed Feb 5 06:55:47 PST 2014


On Tue, Feb 4, 2014 at 7:22 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Tue, Feb 4, 2014 at 12:43 PM, Markus Neteler <neteler at osgeo.org> wrote:
>> On Tue, Feb 4, 2014 at 11:14 AM, Glynn Clements
>> <glynn at gclements.plus.com> wrote:
>>> Markus Neteler wrote:
>>>> For testing, I am not sure how to change
>>>> lib/iostream/ami_stream.cpp
>>>> in order to use the new function(s). Suggestions?
>>>
>>>   fd = G_mkstemp(tmp_path, O_RDWR, 0600);
>>
>> I have attached a patch for this, just to know if I got it right.
>> IMHO the change needs to be submitted to get it into the overnight
>> winGRASS binaries.
>
> It seems to run nicely on Linux (local patch):

...

The viewshed was successfully calculated on the new EU DEM, selecting
a rather square map with 16 billion pixels.

If there are no objections, I'll submit the patch to SVN in order to
get it into the winGRASS binary snapshots for further testing.

Markus


More information about the grass-dev mailing list