[GRASS-dev] Re: [GRASS GIS] #251: Enhancements to vector querying

GRASS GIS trac at osgeo.org
Sat Jan 24 15:13:28 EST 2009


#251: Enhancements to vector querying
--------------------------+-------------------------------------------------
  Reporter:  cmbarton     |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  Vector       |     Version:                           
Resolution:               |    Keywords:  query vector             
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by Vincent):

 > '''v.what (query using coordinates): '''
 > 1. add flags -p and -g for current behavior (-pg could be the default if
 we wanted to do this before GRASS 7)
 > 2. add "output=" option to allow v.what to create a new map from the
 results of its query, like v.select does
 > 3. allow multiple maps for input, as with the suggestion for v.select
 > 4. allow coordinates to be read optionally as a line or area/boundary
 (-l or -a?) instead of only as individual points.
 > 5. add operators overlap, contains, adjacent. (This also would make
 possible interactive vector selection with a mouse drawn box or polygon
 from the GUI) In other words, have v.select and v.what work the same
 except that v.select uses a vector map for querying and v.what uses a set
 of coordinate points.

 As I suggested on a recent thread on the users list, the scope of these
 questions is quite important for users dealing with ''data creation''. In
 an actual procedure of digitizing and  attributes filling-in, it's crucial
 to dispose of ergonomic solutions (and as you say
 ''the nice thing is we are almost there'' !).

 It would be great to be able to make a multiple selection of objects with
 the mouse in the display (or a monitor, anyway) with the ability to,
 '''''on the fly''''' :
  * add-select and un-select (e.g. via Ctrl key) ;
  * pan and zoom (e.g. space bar for panning, and mouse scroll for zooming)
 ;
  * viewing in real time the selected set on the display (highlight).

 Such a module\command (let's say v.selmany), only dedicated for returning
 an array of `cat` values, would be a very interesting starting point to
 various other commands, and personal scripting.

 Vincent

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/251#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list