Modify

Opened 15 years ago

Closed 14 years ago

#3272 closed enhancement (fixed)

[patch] Display address/name of building polygons

Reported by: pekka.lampila@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: address building addr:housenumber Cc: roques

Description

Ability to display addresses (addr:housenumber) that have been set to the building polygon, instead of single node.

Would be useful for keeping track what addresses have already been done.

Attachments (1)

housenumber.patch (4.5 KB ) - added by roques 15 years ago.
Display addr:housenumber, and other names, inside buildings

Download all attachments as: .zip

Change History (4)

by roques, 15 years ago

Attachment: housenumber.patch added

Display addr:housenumber, and other names, inside buildings

comment:1 by roques, 15 years ago

Cc: roques added
Priority: minornormal
Version: latest

I had the same need and implemented the functionality.
Attached is a patch relative to trunk as of r2298.

The patch displays names of areas as drawNode() does for Nodes, except that names are centered into the bounding box of the Area and only drawn if they completely fit into the border of the area. This obviously works for convex areas. Label placing is acceptable for most concave buildings as well. But, it does not place labels for "very concave" areas like U- and L-shaped buildings for which the center of their bounding box is not inside the area to be labeled.

comment:2 by roques, 15 years ago

Summary: Display address when set in the building polygon[patch] Display address/name of building polygons

comment:3 by stoecker, 14 years ago

Resolution: fixed
Status: newclosed

(In [2313]) applied #3272 - patch by roques - display names of areas as well (using a different color)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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