Opened 14 years ago
Closed 13 years ago
#3272 closed enhancement (fixed)
[patch] Display address/name of building polygons
Reported by: | 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)
Change History (4)
Changed 13 years ago by
Attachment: | housenumber.patch added |
---|
comment:1 Changed 13 years ago by
Cc: | roques added |
---|---|
Priority: | minor → normal |
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 Changed 13 years ago by
Summary: | Display address when set in the building polygon → [patch] Display address/name of building polygons |
---|
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Display addr:housenumber, and other names, inside buildings