[GRASS-dev] [GRASS GIS] #1021: v.in.ogr: multiple files are merged when using only dsn= without layer=

GRASS GIS trac at osgeo.org
Sun Mar 21 13:12:53 EDT 2010


#1021: v.in.ogr: multiple files are merged when using only dsn= without layer=
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.0                    
Component:  Vector   |     Version:  svn-releasebranch64      
 Keywords:  ogr      |    Platform:  All                      
      Cpu:  All      |  
---------------------+------------------------------------------------------
 When pointing v.in.ogr to a directory which contains several SHAPE files
 (or presumably
 other OGR supported files) by defining dsn= without using layer=, it
 imports all files
 into the output map which is typically undesired.

 Suggestion: add a check if the DSN is file based and if layer= was
 omitted, in
 that case refuse to importand complain about the missing layer= parameter.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1021>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list