[GRASS-dev] [GRASS GIS] #2153: r.viewshed fails on large raster: mktemp provides only 26 unique file names

GRASS GIS trac at osgeo.org
Sat Jan 4 13:01:53 PST 2014


#2153: r.viewshed fails on large raster: mktemp provides only 26 unique file names
--------------------------------------------+-------------------------------
 Reporter:  wenzeslaus                      |       Owner:  grass-dev@…              
     Type:  defect                          |      Status:  new                      
 Priority:  normal                          |   Milestone:  7.0.0                    
Component:  LibRaster                       |     Version:  svn-trunk                
 Keywords:  r.viewshed, mktemp, g.tempfile  |    Platform:  MSWindows 7              
      Cpu:  Unspecified                     |  
--------------------------------------------+-------------------------------

Comment(by neteler):

 A recent tempfile() implementation which does not have the 26 char
 limitation can
 be found here:

 http://code.metager.de/source/xref/tudresden/tudos/l4/pkg/libgfortran/lib/contrib/io/unix.c#1021

 License:

 "This file is part of the GNU Fortran runtime library (libgfortran).

 Libgfortran is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3, or (at your option)
 any later version.
 ...
 "

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2153#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list