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

GRASS GIS trac at osgeo.org
Tue Nov 3 07:17:53 EST 2009


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

 Replying to [comment:7 mmetz]:
 > > > Just for clarification, the -o flag means "Override dataset
 projection (use location's projection)", same like in r.in.gdal. Thus your
 suggestion to set -o as default means override dataset projection by
 default?
 > >
 > > No, I am not speaking about CLI, but just about wxGUI dialog for
 multi-import (gdialogs.py).
 > > Anyway I would to suggest to add '-o' to v.external (to be consistent
 with r.external).

 I would keep this behaviour for GRASS 6.4. In GRASS >= 6.5 there are
 options and user can decide if to override check or not.

 > Hmm, I think this is somewhat a matter of taste, but IMHO overriding the
 dataset projection by default may be a bit dangerous. Having that option
 for v.external would be a good idea.
 > >
 > > > The new wxGUI dialog is not consistent with regard to OGR layers and
 OGR datasources, for e.g. *.gpx and *.kml files, datasources are listed as
 layers, although these datasources hold layers themselves. With so many
 different supported OGR formats, I would strongly opt to at least stick to
 the terminology used by OGR in regard to what is a datasource and what is
 a layer to avoid user confusion.
 > >
 > > Right, I am just not getting point in which ways is wxGUI dialog
 wrong.
 >
 > 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. Should be improved at least in
 GRASS 7. I would suggest to close this ticket as worksforme for 6.4.0.
 Martin

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


More information about the grass-dev mailing list