Modify

Opened 6 years ago

Last modified 6 years ago

#10523 new enhancement

Displaying area in hectare while it should be square meter/kilometer

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: metric measurement area Cc:

Description (last modified by naoliv)

Using the attached example file, select the outer riverbank and you see it properly measured as square kilometer.
Now select any of the inner polygons and you get the area in hectare (ha).

Both measurements should display the area in m² or Km²

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-09-16 01:33:52
Last Changed Author: Don-vip
Revision: 7543
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-09-16 03:29:51 +0200 (Tue, 16 Sep 2014)
Last Changed Rev: 7543

Identification: JOSM/1.5 (7543 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 247 MB / 4029 MB (115 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u65-2.5.2-3
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (30416)
- Create_grid_of_ways (30416)
- FixAddresses (30416)
- ImageryCache (30416)
- OpeningHoursEditor (30609)
- PicLayer (30436)
- SimplifyArea (30624)
- buildings_tools (30485)
- editgpx (30634)
- geotools (30569)
- graphview (30416)
- jts (30416)
- measurement (30641)
- merge-overlap (30416)
- notes (v0.9.4)
- opendata (30607)
- pdfimport (30416)
- poly (30495)
- reverter (30521)
- tagging-preset-tester (30592)
- todo (29154)
- turnrestrictions (30454)
- undelete (30416)
- utilsplugin2 (30460)

Attachments (1)

example.osm (2.2 KB) - added by naoliv 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by naoliv

Attachment: example.osm added

comment:1 Changed 6 years ago by naoliv

Description: modified (diff)
Summary: Displaying area in hectare while it should be square kilometerDisplaying area in hectare while it should be square meter/kilometer

comment:2 Changed 6 years ago by Don-vip

Component: Plugin measurementCore
Type: defectenhancement

That's by design, you can set one of these properties to adjust your need:

  • system_of_measurement.use_only_lower_unit to force use of squared meters
  • system_of_measurement.use_only_custom_area_unit to force use of hectares

Maybe we could another one to forbid use of hectares

comment:3 Changed 6 years ago by naoliv

Setting system_of_measurement.use_only_lower_unit I see something that, at least for me, still isn't good.
For example, I have an area here with 565517.878 m². Displaying it as 0.565518 Km² makes it easier to understand (for me).

comment:4 Changed 6 years ago by Don-vip

Keywords: metric measurement area added

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 naoliv
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.