Opened 5 years ago

Closed 21 months ago

Last modified 21 months ago

#13813 closed enhancement (fixed)

Provide bbox coordinates in an easier to use format

Reported by: naoliv Owned by: team
Priority: normal Milestone: 20.01
Component: Core Version:
Keywords: Cc:


Unless I completely misunderstood it, it seems that the boundary box latitude and longitude are swapped here (in the object info Ctrl+I):

For example, the first coordinate is -48.2585631, -21.8575115
If we add a node using this it will get really far from where it should be (-21.8575115, -48.2585631)

The projected coordinates is also affected it seems.


Build-Date:2016-10-17 10:28:56

Identification: JOSM/1.5 (11136 SVN en) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 269 MB / 10206 MB (97 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u102-b14.1-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by naoliv

Summary: Latitude and longitude in object's bbox are swappedProvide bbox coordinates in an easier to use format
Type: defectenhancement

And of course I am wrong (it's xmin, ymin, xmax, ymax), sorry.

Could we also have the bbox coordinates available in an easier to use format in the object info screen, please? (the 4 coordinates, if possible)

comment:2 Changed 21 months ago by simon04

Resolution: fixed
Status: newclosed

In 15777/josm:

fix #13813 - Advanced object info: use consistent coordinates/bbox format

comment:3 Changed 21 months ago by simon04

Milestone: 20.01
Way: Innbrücke (432116877)
  Data set: 11218ec3
  Edited at: 2016-07-20T13:14:24Z
  Edited by: simon04 (57945)
  Version: 1
  In changeset: 40895991
    "wikipedia"="de:Innbrücke (Innsbruck)"
  Bounding box: 47.2682898, 11.3914047, 47.2689194, 11.390525
  Bounding box (projected): 5985976.274977, 1268085.3706241, 5986079.5621105, 1267987.4428681
  Centre of bounding box: 47.2686046, 11.3909648
  Centroid: 47.2686041, 11.3909643

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.