Opened 6 years ago

Last modified 5 years 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 6 years ago.
poly.gpkg (116.0 KB ) - added by lrntct 6 years ago.

Download all attachments as: .zip

Change History (4)

by lrntct, 6 years ago

Attachment: point.gpkg added

by lrntct, 6 years ago

Attachment: poly.gpkg added

in reply to:  description comment:1 by mmetz, 6 years ago

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 by neteler, 5 years ago

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