[GRASS-dev] Re: [GRASS GIS] #799: Add -o option to muliple import of GDAL data

GRASS GIS trac at osgeo.org
Tue Nov 3 08:26:03 EST 2009


#799: Add -o option to muliple import of GDAL data
--------------------------+-------------------------------------------------
  Reporter:  trochtaj     |       Owner:  martinl      
      Type:  enhancement  |      Status:  closed       
  Priority:  normal       |   Milestone:  6.4.0        
 Component:  wxGUI        |     Version:  unspecified  
Resolution:  worksforme   |    Keywords:  import, multi
  Platform:  All          |         Cpu:  Unspecified  
--------------------------+-------------------------------------------------
Changes (by mmetz):

  * status:  assigned => closed
  * platform:  Unspecified => All
  * resolution:  => worksforme

Comment:

 Replying to [comment:8 martinl]:
 > Replying to [comment:7 mmetz]:
 > >
 > > File -> Import vector map -> Multiple vector data import using OGR
 > >
 > > There it reads "List of OGR layers", below that "Layer" and "Layer
 name". What is listed there can just as well be OGR datasources not
 layers, and within these OGR datasources are layers not listed in the
 wxGUI dialog. It seems that this dialog is written for shapefiles, not
 sure how to use that with e.g. kml, gpx, postgresql if the idea is to have
 a separate output vector map for each layer.
 >
 > Right, dialog was written for shp/tiff/dxf.

 Shouldn't the multi-import dialog be written for GDAL/OGR format instead
 of file name extensions? Multiple raster import using GDAL imports several
 raster bands from several datasources at once, while multiple vector
 import using OGR imports multiple vector layers from only one datasource
 in case of e.g. shapefiles and multiple vector layer from multiple
 datasources in other cases e.g. gpx or kml. Although the two dialogs look
 identical, they behave different, and for multiple vector import,
 behaviour depends on the selected OGR format. BTW, multiple raster import
 also uses the term layer whereas it's datasources that are listed, the
 layers (raster bands) are not listed.

 > Should be improved at least in GRASS 7. I would suggest to close this
 ticket as worksforme for 6.4.0.

 I agree, no changes in relbr6, anyway multiple import of vector data has
 already been possible with both v.in.ogr and the multiple vector data
 import dialog. I'm just not happy with the restriction to certain GDAL/OGR
 formats and undocumented behaviour of the two multi-import modules.

 Markus M

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


More information about the grass-dev mailing list