PyOsmium: editing "areas" ?
Hello,
PyOsmium (and Osmium) has an "area" object, which are:
> “synthetic OSM objects”. They can be
> created from closed ways and
> multipolygon relations. Areas have all
> the same attributes as real OSM
> objects and they have tags, too. In
> addition they have a set of outer and
> inner rings describing the
> MultiPolygon geometry. See the chapter
> on Areas for details.
I want to add some tags on "areas" (really, on building objects), but it seems there is no possibility of doing so (area tags are non mutable) and getting an osc file out of this.
What I need from building is a closed polygon representing the building, and using areas made it easy to have this representation.
Should I go and edit ways directly? Or It will it miss buildings that are building defined by "relations" (are there such buildings?)relations, so i'm not really happy with this approach. How would you go and edit "buildings" programmatically?