Opened 3 years ago

Last modified 17 months ago

#3608 new defect

v.what.vect: dmax in degree?

Reported by: lrntct Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: Vector Version: 7.4.0
Keywords: Cc:
CPU: All Platform: All

Description

The dmax option of v.what.vect is described as being in map units. However, it seems to not be the case, art least for lat/lon locations.

Consider the attached example: The point is largely within 10 degrees of the polygon, but it will not be included in a call to v.what.vect with dmax=10.

Attachments (2)

point.gpkg (116.0 KB) - added by lrntct 3 years ago.
poly.gpkg (116.0 KB) - added by lrntct 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by lrntct

Attachment: point.gpkg added

Changed 3 years ago by lrntct

Attachment: poly.gpkg added

comment:1 in reply to:  description Changed 3 years ago by mmetz

Replying to lrntct:

The dmax option of v.what.vect is described as being in map units. However, it seems to not be the case, art least for lat/lon locations.

This is true, the distance is in map units, but for ll locations, the unit is meters. The manuals of v.what.vect and v.distance have been updated accordingly in trunk r73013,4 and relbr74 r73015,6.

comment:2 Changed 17 months ago by neteler

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.