Modify

Opened 3 years ago

Last modified 2 years ago

#12608 new enhancement

Add measurement plugin to core

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: measurement areasize Cc: bastiK, Don-vip, Klumbumbus, michael2402

Description

Since we compute the area of multipolygons due to #11516, the measurement plugin could easily be integrated to JOSM core. What about the "measurement mode" – does that provide any additional features over just drawing a new way?

$ wc measurement/**/*java
  299   830 10980 measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java
  305   886 10580 measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java
   57   161  1869 measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementMode.java
   60   166  2327 measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementPlugin.java
  721  2043 25756 total

I also/instead/inaddition considered adding way length and area size to the "Advanced Info" of a primitive.

Any thoughts?

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by Don-vip

Milestone: 16.0316.04

Milestone renamed

comment:2 Changed 3 years ago by michael2402

Cc: michael2402 added

comment:3 Changed 2 years ago by Don-vip

Milestone: 16.0416.05

sounds nice, why not for next milestone?

comment:4 Changed 2 years ago by Don-vip

Milestone: 16.0516.06

comment:5 Changed 2 years ago by Don-vip

Milestone: 16.06

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to simon04
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.