Opened 16 months ago

Last modified 16 months ago

#3608 new defect

v.what.vect: dmax in degree?

Reported by: lrntct Owned by: grass-dev@…
Priority: normal Milestone:
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 16 months ago.
poly.gpkg (116.0 KB) - added by lrntct 16 months ago.

Download all attachments as: .zip

Change History (3)

Changed 16 months ago by lrntct

Attachment: point.gpkg added

Changed 16 months ago by lrntct

Attachment: poly.gpkg added

comment:1 in reply to:  description Changed 16 months 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.

Note: See TracTickets for help on using tickets.