[GRASS-dev] [GRASS GIS] #2185: Painfully Slow 'v.in.ogr' Vector Import

GRASS GIS trac at osgeo.org
Sun Feb 1 12:49:38 PST 2015


#2185: Painfully Slow 'v.in.ogr' Vector Import
------------------------------------------------+---------------------------
 Reporter:  justinzane                          |       Owner:  grass-dev@…              
     Type:  defect                              |      Status:  new                      
 Priority:  normal                              |   Milestone:  7.0.0                    
Component:  Vector                              |     Version:  svn-trunk                
 Keywords:  import, OGR, performance, v.in.ogr  |    Platform:  Linux                    
      Cpu:  x86-64                              |  
------------------------------------------------+---------------------------

Comment(by imincik1):

 Replying to [comment:15 neteler]:
 > Replying to [comment:14 imincik1]:
 > ...
 > > 2. What was a great change was moving '.tmp' directory from my mapset
 outside of NFS (by using symlink). v.in.ogr was 8 times faster.
 > > So my idea is, is it possible to have some environment variable, which
 could define global alternative directory for temporary files ? This could
 improve situation for all modules which are using temporary files (for
 example v.random is not using).
 >
 > Can you please try this variable?
 > http://grass.osgeo.org/grass70/manuals/variables.html
 >
 > --> "TMPDIR, TEMP, TMP" (name depends on the operating system)

 Thanks for this tip, I will try.

 To be sure, I mean temporary directory located in mapset:
 $MAPSET/.tmp/$HOSTNAME/vector . There is already some variable called
 GRASS_VECTOR_TEMPORARY, but according description, it is just enabling and
 disabling temporary dir. I will play with both and report back.

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



More information about the grass-dev mailing list