Modify

Opened 10 years ago

Last modified 10 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 10 years ago.

Download all attachments as: .zip

Change History (5)

by naoliv, 10 years ago

Attachment: example.osm added

comment:1 by naoliv, 10 years ago

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 by Don-vip, 10 years ago

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 by naoliv, 10 years ago

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 by Don-vip, 10 years ago

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. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to naoliv.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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