Opened 14 years ago
Closed 14 years ago
#1151 closed defect (invalid)
v.extract: where letting all pass on double prec
Reported by: | hamish | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.1 |
Component: | Vector | Version: | svn-releasebranch64 |
Keywords: | v.extract | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
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
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
the wierdness was due to non-unique cat numbers among the points.
Hamish
v.edit tool=delete where='depth_m = 9999.9'
gets1393 features deleted
, but on the orig file I only see 113:but:
?!?, Hamish