[GRASS-dev] Re: [GRASS GIS] #1151: v.extract: where letting all pass on double prec

GRASS GIS trac at osgeo.org
Wed Sep 8 04:36:37 EDT 2010


#1151: v.extract: where letting all pass on double prec
-----------------------+----------------------------------------------------
 Reporter:  hamish     |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  major      |   Milestone:  6.4.1                    
Component:  Vector     |     Version:  svn-releasebranch64      
 Keywords:  v.extract  |    Platform:  Linux                    
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------

Comment(by hamish):

 `v.edit tool=delete where='depth_m = 9999.9'` gets `1393 features
 deleted`, but on the orig file I only see 113:

 {{{
 g.copy v=nav_points,nav_points_clean_depths

 v.edit nav_points_clean_depths tool=delete where='depth_m = 9999.9'
 Selecting features...
 1393 of 129097 features selected from vector map
 <nav_points_clean_depths at user1>
  100%
 1393 features deleted
 ...
 }}}

 but:
 {{{
 cut -f3 -d'|' nav.points.dat | grep -c '9999.9'
 113

 v.db.select nav_points | grep -c '|9999.9|'
 113

 v.db.select -c nav_points where='depth_m = 9999.9' | wc -l
 113
 }}}


 ?!?,
 Hamish

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



More information about the grass-dev mailing list