[GRASS-dev] [GRASS GIS] #2419: v.distance: hole considered as nearest area

#2419: v.distance: hole considered as nearest area
------------------------------+---------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.5
Component: Vector | Version: svn-releasebranch64
Keywords: v.distance holes | Platform: Unspecified
      Cpu: Unspecified |
------------------------------+---------------------------------------------
The following command line in the NC dataset:

{{{
v.distance -p from=comm_colleges to=urbanarea upload=cat,dist
col=to_cat,dist dmin=0.0001
}}}

leads to two points (from_cats 15 and 52) to have a hole as nearest area,
leading to to_cat=null. The closest areas should be areas (in grass7 the
found to_cats are respectively 54 and 35).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2419&gt;
GRASS GIS <http://grass.osgeo.org>

#2419: v.distance: hole considered as nearest area
------------------------------+---------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.5
Component: Vector | Version: svn-releasebranch64
Keywords: v.distance holes | Platform: Unspecified
      Cpu: Unspecified |
------------------------------+---------------------------------------------

Comment(by mmetz):

Replying to [ticket:2419 mlennert]:
> The following command line in the NC dataset:
>
{{{
v.distance -p from=comm_colleges to=urbanarea upload=cat,dist
col=to_cat,dist dmin=0.0001
}}}
>
> leads to two points (from_cats 15 and 52) to have a hole as nearest
area, leading to to_cat=null. The closest areas should be areas (in grass7
the found to_cats are respectively 54 and 35).

Fixed in r61987,8.

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