Opened 9 years ago

Last modified 9 years ago

#4021 new defect

Adding an amenity tag removed building=yes

Reported by: Zverik Owned by: potlatch-dev@…
Priority: major Milestone:
Component: potlatch2 Version:
Keywords: Cc:


When you select a building in Potlatch 2 and attempt to mark that a school (a post office, a cafe) is in it, the building tag gets erased. It seems like Potlatch does not support buildings that are also something else. Several users have complained that novices removed a lot of building tags that way. There should be support for adding amenity (and other) tags on buildings - or a big warning about that.

Change History (3)

comment:1 Changed 9 years ago by Zverik

I've dug into presets, and the source of this problem is that when the feature type for selected object is changed, tags for old feature are removed, and new ones are added. building=* somehow should not be removed when the target preset uses inputSet "isBuilding".

comment:2 Changed 9 years ago by Zverik

Probably, tags that have inputs in the target preset should not be removed. I guess it isn't hard to implement.

Note: See TracTickets for help on using tickets.