Opened 15 years ago
Closed 15 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)
by , 15 years ago
Attachment: | housenumber.patch added |
---|
comment:1 by , 15 years ago
Cc: | 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 by , 15 years ago
Summary: | Display address when set in the building polygon → [patch] Display address/name of building polygons |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Display addr:housenumber, and other names, inside buildings