Modify

Opened 13 years ago

Closed 13 years ago

#6950 closed defect (fixed)

Parallel way mode snap distance broken for non-metric units

Reported by: olejorgenb Owned by: olejorgenb
Priority: minor Milestone:
Component: Core Version:
Keywords: parallel, snap Cc:

Description

The snap distance should respect the active units. Currently it always snaps to half/whole meters.

Attachments (0)

Change History (4)

comment:1 by Don-vip, 13 years ago

What projection are you using ? I've just tested with Mercator, the distance respects the active unit (metric, chinese, imperial). Are you using a recent JOSM version, too ?

comment:2 by olejorgenb, 13 years ago

Just to be clear by what I mean. The distance snapped to is always 0.5m/1m (*n). With imperial units it should snap to multiples of eg. 3 feet.

Are you saying this work? (it really shouldn't :)

The whole snap code should probably be updated. It is kind of a quick hack. At least make snap distance configurable. Scale the snap based on zoom etc. (and the snap is to some degree just a replacement for a mechanism to enter an exact distance)

I was/am planning to do this myself, but I can't promise I'll find the time/motivation in the nearest future. Not that this is a very critical issue though.

comment:3 by Don-vip, 13 years ago

OK I get it :)

comment:4 by Don-vip, 13 years ago

Resolution: fixed
Status: newclosed

In [4527/josm]:

fix #6950 - Parallel way mode snap distance broken for non-metric units

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain olejorgenb.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.