#2488: v.neighbors: "No points found" error while using points map -------------------------+-------------------------------------------------- Reporter: neteler | Owner: grass-dev@… Type: defect | Status: new Priority: critical | Milestone: 7.0.0 Component: Vector | Version: svn-releasebranch70 Keywords: v.neighbors | Platform: Linux Cpu: Unspecified | -------------------------+--------------------------------------------------
Comment(by mlennert): Replying to [ticket:2488 neteler]: > The functionality of v.neighbors is a bit obscure to me: > > {{{ > GRASS 7.1.svn (nc_spm_08_grass7):~ > g.region rast=zipcodes -p res=500 > projection: 99 (Lambert Conformal Conic) > zone: 0 > datum: nad83 > ellipsoid: a=6378137 es=0.006694380022900787 > north: 228500 > south: 215000 > west: 630000 > east: 645000 > nsres: 500 > ewres: 500 > rows: 27 > cols: 30 > cells: 810 > > GRASS 7.1.svn (nc_spm_08_grass7):~ > v.neighbors input=schools_wake \ > output=schools_wake_500m method=count size=3 --o > 100% > WARNING: No points found > > GRASS 7.1.svn (nc_spm_08_grass7):~ > v.info -t schools_wakenodes=0 > points=167 > lines=0 > boundaries=0 > centroids=0 > areas=0 > islands=0 > primitives=167 > map3d=0 > }}} > > Is the module not working or is the use case wrong?µ IIUC, the module searches around the cell centers with a radius = size/2, so I guess your size parameter is just way to small for the use case. But only guessing here. Moritz -- Ticket URL: <http://trac.osgeo.org/grass/ticket/2488#comment:1> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev