|amenity = public_building|
|Using this tag is discouraged, use building=public or tag:building=civic or tag like tag:amenity=townhall, tag:amenity=library, tag:amenity=police, tag:amenity=hospital, tag:amenity=school, tag:leisure=sports_centre, tag:amenity=community_centre instead.|
|Used on these elements|
|Tools for this tag|
This feature has been labeled as deprecated. The recommended replacement is: building=public or tag:building=civic or tag like tag:amenity=townhall, tag:amenity=library, tag:amenity=police, tag:amenity=hospital, tag:amenity=school, tag:leisure=sports_centre, tag:amenity=community_centre.|
The reason is documented in Deprecated features. You are still free to continue to use or interpret this tag as you see fit since OpenStreetMap does not have “banned features”. Under no circumstances should you (semi-)automatically change “deprecated” tags to something else in the database on a large scale without conforming to the Automated Edits code of conduct. Any such change will be reverted.
The use of this tag is DISCOURAGED. Use proper building=* tag instead. For office use proper office tag, for example for government offices use office=government. In other situations amenity=townhall, amenity=library, amenity=police, amenity=hospital, amenity=school, leisure=sports_centre, amenity=community_centre may be useful.