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

GRASS GIS trac at osgeo.org
Wed Sep 8 04:15:11 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     |  
-----------------------+----------------------------------------------------
 Hi,

 I'm trying to clear out some vector points where the depth_m double prec
 attribute column is set with null= 9999.9. so I try

 {{{
 v.extract in=nav_points out=nav_points_clean_depths \
    where='depth_m < 9999'
 }}}

 but I still get all 129k points (confirmed by v.univar). `v.db.select
 where= | wc -l` shows the correct (cleaned) number, so I could cleanse it
 though v.db.select|v.in.ascii as a work-around.

 A quick test with `v.random -z zmin= zmax=` with 1000 points seemed to
 work fine.


 the highest real point in it is around 2300, and even with < 500 many
 fewer points are written but still some 9999.9s get through. ??! index off
 by one error??

 seen in 6.4.0 and 6.5svn, haven't tested in trunk.

 data avail privately upon request.

 ?,
 Hamish

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



More information about the grass-dev mailing list