Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9494 closed enhancement (fixed)

Coordinate pair for object centroid

Reported by: pigsonthewing Owned by: team
Priority: normal Milestone: 14.01
Component: Core Version:
Keywords: Cc:


When editing an object, it is possible to use 'CTRL + I' to see its metadata.

For a polygon, say Brentford Library (254134636), this includes a bounding box, in this example:

Bounding box: -0.3077543, 51.4864532, -0.3073412, 51.4867126

It would be convenient, for copying and pasting (e.g. into other map services, or a when writing a Wikipedia article), if the coordinates of the centre point of that box was also returned, as a single coordinate-pair value, e.g.

Bounding box centre: 51.4865834,-0.3075478

For irregular polygons and ways, where the centre point of that box is not on the way/ inside the polygon, the nearest point to the centre, which meets those conditions, could also usefully be returned.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by simon04

Resolution: fixed
Status: newclosed

In 6566/josm:

fix #9494 - Advanced object info: add "Center of bounding box", and for ways "Centroid"

comment:2 Changed 9 years ago by Don-vip

Milestone: 14.01

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.